public class MapExtendingRecipe extends ShapedRecipe
ShapedRecipe.Serializer
Constructor and Description |
---|
MapExtendingRecipe(Identifier identifier) |
Modifier and Type | Method and Description |
---|---|
ItemStack |
craft(CraftingInventory craftingInventory) |
RecipeSerializer<?> |
getSerializer() |
boolean |
isIgnoredInRecipeBook() |
boolean |
matches(CraftingInventory craftingInventory,
World world) |
private boolean |
matches(MapState state) |
combinePattern, fits, getGroup, getHeight, getId, getItemStack, getOutput, getPreviewInputs, getWidth
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getType
getRecipeKindIcon, getRemainingStacks
public MapExtendingRecipe(Identifier identifier)
public boolean matches(CraftingInventory craftingInventory, World world)
matches
in interface Recipe<CraftingInventory>
matches
in class ShapedRecipe
private boolean matches(MapState state)
public ItemStack craft(CraftingInventory craftingInventory)
craft
in interface Recipe<CraftingInventory>
craft
in class ShapedRecipe
public boolean isIgnoredInRecipeBook()
public RecipeSerializer<?> getSerializer()
getSerializer
in interface Recipe<CraftingInventory>
getSerializer
in class ShapedRecipe