Interface GeyserSmithingRecipe<T extends org.cloudburstmc.protocol.bedrock.data.inventory.crafting.recipe.RecipeData>

All Superinterfaces:
GeyserRecipe<T>
All Known Implementing Classes:
GeyserSmithingRecipe.Transform, GeyserSmithingRecipe.Trim

public interface GeyserSmithingRecipe<T extends org.cloudburstmc.protocol.bedrock.data.inventory.crafting.recipe.RecipeData> extends GeyserRecipe<T>
  • Method Details

    • isShaped

      default boolean isShaped()
      Description copied from interface: GeyserRecipe
      Whether the recipe is flexible or not in which items can be placed where.
      Specified by:
      isShaped in interface GeyserRecipe<T extends org.cloudburstmc.protocol.bedrock.data.inventory.crafting.recipe.RecipeData>
    • template

      org.geysermc.mcprotocollib.protocol.data.game.recipe.display.slot.SlotDisplay template()
    • base

      org.geysermc.mcprotocollib.protocol.data.game.recipe.display.slot.SlotDisplay base()
    • addition

      org.geysermc.mcprotocollib.protocol.data.game.recipe.display.slot.SlotDisplay addition()
    • getCraftingDataList

      List<T> getCraftingDataList(org.cloudburstmc.protocol.bedrock.packet.CraftingDataPacket craftingDataPacket)
    • addToPacket

      default int addToPacket(GeyserSession session, org.cloudburstmc.protocol.bedrock.packet.CraftingDataPacket craftingDataPacket)
    • matches

      default boolean matches(GeyserSession session, GeyserItemStack template, GeyserItemStack input, GeyserItemStack material)
    • asRecipeData

      default List<T> asRecipeData(GeyserSession session, GeyserSmithingRecipe.RecipeDataConstructor<T> constructor)