Package net.minecraft.recipe
Class ShapelessRecipeType
java.lang.Object
net.minecraft.recipe.ShapelessRecipeType
- All Implemented Interfaces:
RecipeType
public class ShapelessRecipeType extends Object implements RecipeType
- Mappings:
Namespace Name official abwintermediary net/minecraft/class_52named net/minecraft/recipe/ShapelessRecipeType
-
Field Summary
-
Constructor Summary
Constructors Constructor Description ShapelessRecipeType(ItemStack result, List<ItemStack> stacks) -
Method Summary
Modifier and Type Method Description ItemStackgetOutput()ItemStack[]getRemainders(CraftingInventory inventory)ItemStackgetResult(CraftingInventory inventory)intgetSize()booleanmatches(CraftingInventory inventory, World world)
-
Field Details
-
result
- Mappings:
Namespace Name Mixin selector official aLabw;a:Lzx;intermediary field_101Lnet/minecraft/class_52;field_101:Lnet/minecraft/class_2056;named resultLnet/minecraft/recipe/ShapelessRecipeType;result:Lnet/minecraft/item/ItemStack;
-
stacks
- Mappings:
Namespace Name Mixin selector official bLabw;b:Ljava/util/List;intermediary field_102Lnet/minecraft/class_52;field_102:Ljava/util/List;named stacksLnet/minecraft/recipe/ShapelessRecipeType;stacks:Ljava/util/List;
-
-
Constructor Details
-
ShapelessRecipeType
- Mappings:
Namespace Name Mixin selector official <init>Labw;<init>(Lzx;Ljava/util/List;)Vintermediary <init>Lnet/minecraft/class_52;<init>(Lnet/minecraft/class_2056;Ljava/util/List;)Vnamed <init>Lnet/minecraft/recipe/ShapelessRecipeType;<init>(Lnet/minecraft/item/ItemStack;Ljava/util/List;)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
-
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
-