Package net.minecraft.item.crafting
Class MapExtendingRecipe
- java.lang.Object
-
- net.minecraft.item.crafting.ShapedRecipe
-
- net.minecraft.item.crafting.MapExtendingRecipe
-
- All Implemented Interfaces:
ICraftingRecipe,IRecipe<CraftingInventory>,IShapedRecipe<CraftingInventory>
public class MapExtendingRecipe extends ShapedRecipe
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.minecraft.item.crafting.ShapedRecipe
ShapedRecipe.Serializer
-
-
Field Summary
-
Fields inherited from class net.minecraft.item.crafting.ShapedRecipe
MAX_HEIGHT, MAX_WIDTH
-
-
Constructor Summary
Constructors Constructor Description MapExtendingRecipe(ResourceLocation p_i48164_1_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ItemStackassemble(CraftingInventory p_77572_1_)IRecipeSerializer<?>getSerializer()private booleanisExplorationMap(MapData p_190934_1_)booleanisSpecial()booleanmatches(CraftingInventory p_77569_1_, World p_77569_2_)-
Methods inherited from class net.minecraft.item.crafting.ShapedRecipe
canCraftInDimensions, getGroup, getHeight, getId, getIngredients, getRecipeHeight, getRecipeWidth, getResultItem, getWidth, itemFromJson, setCraftingSize, shrink
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.minecraft.item.crafting.ICraftingRecipe
getType
-
Methods inherited from interface net.minecraft.item.crafting.IRecipe
getRemainingItems, getToastSymbol
-
-
-
-
Constructor Detail
-
MapExtendingRecipe
public MapExtendingRecipe(ResourceLocation p_i48164_1_)
-
-
Method Detail
-
matches
public boolean matches(CraftingInventory p_77569_1_, World p_77569_2_)
- Specified by:
matchesin interfaceIRecipe<CraftingInventory>- Overrides:
matchesin classShapedRecipe
-
isExplorationMap
private boolean isExplorationMap(MapData p_190934_1_)
-
assemble
public ItemStack assemble(CraftingInventory p_77572_1_)
- Specified by:
assemblein interfaceIRecipe<CraftingInventory>- Overrides:
assemblein classShapedRecipe
-
isSpecial
public boolean isSpecial()
-
getSerializer
public IRecipeSerializer<?> getSerializer()
- Specified by:
getSerializerin interfaceIRecipe<CraftingInventory>- Overrides:
getSerializerin classShapedRecipe
-
-