Package net.minecraft.recipe
Class ShapedRecipeType
java.lang.Object
net.minecraft.recipe.ShapedRecipeType
- All Implemented Interfaces:
RecipeType
- Direct Known Subclasses:
MapUpscaleRecipeType
public class ShapedRecipeType extends Object implements RecipeType
- Mappings:
Namespace Name official abvintermediary net/minecraft/class_51named net/minecraft/recipe/ShapedRecipeType
-
Field Summary
-
Constructor Summary
Constructors Constructor Description ShapedRecipeType(int int2, int int3, ItemStack[] itemStack, ItemStack result) -
Method Summary
Modifier and Type Method Description ItemStackgetOutput()ItemStack[]getRemainders(CraftingInventory inventory)ItemStackgetResult(CraftingInventory inventory)intgetSize()booleanmatches(CraftingInventory inventory, World world)private booleanmethod_74(CraftingInventory craftingInventory, int int2, int int3, boolean bool)
-
Field Details
-
field_96
private final int field_96- Mappings:
Namespace Name Mixin selector official aLabv;a:Iintermediary field_96Lnet/minecraft/class_51;field_96:Inamed field_96Lnet/minecraft/recipe/ShapedRecipeType;field_96:I
-
field_97
private final int field_97- Mappings:
Namespace Name Mixin selector official bLabv;b:Iintermediary field_97Lnet/minecraft/class_51;field_97:Inamed field_97Lnet/minecraft/recipe/ShapedRecipeType;field_97:I
-
field_98
- Mappings:
Namespace Name Mixin selector official cLabv;c:[Lzx;intermediary field_98Lnet/minecraft/class_51;field_98:[Lnet/minecraft/class_2056;named field_98Lnet/minecraft/recipe/ShapedRecipeType;field_98:[Lnet/minecraft/item/ItemStack;
-
result
- Mappings:
Namespace Name Mixin selector official dLabv;d:Lzx;intermediary field_99Lnet/minecraft/class_51;field_99:Lnet/minecraft/class_2056;named resultLnet/minecraft/recipe/ShapedRecipeType;result:Lnet/minecraft/item/ItemStack;
-
field_100
private boolean field_100- Mappings:
Namespace Name Mixin selector official eLabv;e:Zintermediary field_100Lnet/minecraft/class_51;field_100:Znamed field_100Lnet/minecraft/recipe/ShapedRecipeType;field_100:Z
-
-
Constructor Details
-
ShapedRecipeType
- Mappings:
Namespace Name Mixin selector official <init>Labv;<init>(II[Lzx;Lzx;)Vintermediary <init>Lnet/minecraft/class_51;<init>(II[Lnet/minecraft/class_2056;Lnet/minecraft/class_2056;)Vnamed <init>Lnet/minecraft/recipe/ShapedRecipeType;<init>(II[Lnet/minecraft/item/ItemStack;Lnet/minecraft/item/ItemStack;)V
-
-
Method Details
-
getOutput
- Specified by:
getOutputin interfaceRecipeType- Mappings:
Namespace Name Mixin selector official bLabs;b()Lzx;intermediary method_64Lnet/minecraft/class_48;method_64()Lnet/minecraft/class_2056;named getOutputLnet/minecraft/recipe/RecipeType;getOutput()Lnet/minecraft/item/ItemStack;
-
getRemainders
- Specified by:
getRemaindersin interfaceRecipeType- Mappings:
Namespace Name Mixin selector official bLabs;b(Lxp;)[Lzx;intermediary method_65Lnet/minecraft/class_48;method_65(Lnet/minecraft/class_1993;)[Lnet/minecraft/class_2056;named getRemaindersLnet/minecraft/recipe/RecipeType;getRemainders(Lnet/minecraft/inventory/CraftingInventory;)[Lnet/minecraft/item/ItemStack;
-
matches
- Specified by:
matchesin interfaceRecipeType- Mappings:
Namespace Name Mixin selector official aLabs;a(Lxp;Ladm;)Zintermediary method_63Lnet/minecraft/class_48;method_63(Lnet/minecraft/class_1993;Lnet/minecraft/class_99;)Znamed matchesLnet/minecraft/recipe/RecipeType;matches(Lnet/minecraft/inventory/CraftingInventory;Lnet/minecraft/world/World;)Z
-
method_74
- Mappings:
Namespace Name Mixin selector official aLabv;a(Lxp;IIZ)Zintermediary method_74Lnet/minecraft/class_51;method_74(Lnet/minecraft/class_1993;IIZ)Znamed method_74Lnet/minecraft/recipe/ShapedRecipeType;method_74(Lnet/minecraft/inventory/CraftingInventory;IIZ)Z
-
getResult
- Specified by:
getResultin interfaceRecipeType- Mappings:
Namespace Name Mixin selector official aLabs;a(Lxp;)Lzx;intermediary method_62Lnet/minecraft/class_48;method_62(Lnet/minecraft/class_1993;)Lnet/minecraft/class_2056;named getResultLnet/minecraft/recipe/RecipeType;getResult(Lnet/minecraft/inventory/CraftingInventory;)Lnet/minecraft/item/ItemStack;
-
getSize
public int getSize()- Specified by:
getSizein interfaceRecipeType- Mappings:
Namespace Name Mixin selector official aLabs;a()Iintermediary method_61Lnet/minecraft/class_48;method_61()Inamed getSizeLnet/minecraft/recipe/RecipeType;getSize()I
-