Package net.minecraft.recipe
Class MapExtendingRecipe
java.lang.Object
net.minecraft.recipe.ShapedRecipe
net.minecraft.recipe.MapExtendingRecipe
- All Implemented Interfaces:
CraftingRecipe
,Recipe<CraftingInventory>
public class MapExtendingRecipe extends ShapedRecipe
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.recipe.ShapedRecipe
ShapedRecipe.Serializer
-
Constructor Summary
Constructors Constructor Description MapExtendingRecipe(Identifier identifier)
-
Method Summary
Modifier and Type Method Description ItemStack
craft(CraftingInventory craftingInventory)
RecipeSerializer<?>
getSerializer()
boolean
isIgnoredInRecipeBook()
boolean
matches(CraftingInventory craftingInventory, World world)
private boolean
matches(MapState state)
Methods inherited from class net.minecraft.recipe.ShapedRecipe
combinePattern, fits, getGroup, getHeight, getId, getItemStack, getOutput, getPreviewInputs, getWidth
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.recipe.CraftingRecipe
getType
Methods inherited from interface net.minecraft.recipe.Recipe
getRecipeKindIcon, getRemainingStacks
-
Constructor Details
-
MapExtendingRecipe
-
-
Method Details
-
matches
- Specified by:
matches
in interfaceRecipe<CraftingInventory>
- Overrides:
matches
in classShapedRecipe
-
matches
-
craft
- Specified by:
craft
in interfaceRecipe<CraftingInventory>
- Overrides:
craft
in classShapedRecipe
-
isIgnoredInRecipeBook
public boolean isIgnoredInRecipeBook() -
getSerializer
- Specified by:
getSerializer
in interfaceRecipe<CraftingInventory>
- Overrides:
getSerializer
in classShapedRecipe
-