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>
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceGeyserSmithingRecipe.RecipeDataConstructor<T extends org.cloudburstmc.protocol.bedrock.data.inventory.crafting.recipe.RecipeData>static final recordstatic final record -
Method Summary
Modifier and TypeMethodDescriptionorg.geysermc.mcprotocollib.protocol.data.game.recipe.display.slot.SlotDisplayaddition()default intaddToPacket(GeyserSession session, org.cloudburstmc.protocol.bedrock.packet.CraftingDataPacket craftingDataPacket) asRecipeData(GeyserSession session, GeyserSmithingRecipe.RecipeDataConstructor<T> constructor) org.geysermc.mcprotocollib.protocol.data.game.recipe.display.slot.SlotDisplaybase()getCraftingDataList(org.cloudburstmc.protocol.bedrock.packet.CraftingDataPacket craftingDataPacket) default booleanisShaped()Whether the recipe is flexible or not in which items can be placed where.default booleanmatches(GeyserSession session, GeyserItemStack template, GeyserItemStack input, GeyserItemStack material) org.geysermc.mcprotocollib.protocol.data.game.recipe.display.slot.SlotDisplaytemplate()Methods inherited from interface org.geysermc.geyser.inventory.recipe.GeyserRecipe
asRecipeData, result
-
Method Details
-
isShaped
default boolean isShaped()Description copied from interface:GeyserRecipeWhether the recipe is flexible or not in which items can be placed where.- Specified by:
isShapedin interfaceGeyserRecipe<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
-
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)
-