Class ShapelessRecipeType

java.lang.Object
net.minecraft.recipe.ShapelessRecipeType
All Implemented Interfaces:
RecipeType

public class ShapelessRecipeType extends Object implements RecipeType
Mappings:
Namespace Name
official ahs
intermediary net/minecraft/class_1116
named net/minecraft/recipe/ShapelessRecipeType
  • Field Details

    • result

      private final ItemStack result
      Mappings:
      Namespace Name Mixin selector
      official a Lahs;a:Lafj;
      intermediary field_4442 Lnet/minecraft/class_1116;field_4442:Lnet/minecraft/class_1071;
      named result Lnet/minecraft/recipe/ShapelessRecipeType;result:Lnet/minecraft/item/ItemStack;
    • stacks

      private final List<ItemStack> stacks
      Mappings:
      Namespace Name Mixin selector
      official b Lahs;b:Ljava/util/List;
      intermediary field_4443 Lnet/minecraft/class_1116;field_4443:Ljava/util/List;
      named stacks Lnet/minecraft/recipe/ShapelessRecipeType;stacks:Ljava/util/List;
  • Constructor Details

    • ShapelessRecipeType

      public ShapelessRecipeType(ItemStack result, List<ItemStack> stacks)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lahs;<init>(Lafj;Ljava/util/List;)V
      intermediary <init> Lnet/minecraft/class_1116;<init>(Lnet/minecraft/class_1071;Ljava/util/List;)V
      named <init> Lnet/minecraft/recipe/ShapelessRecipeType;<init>(Lnet/minecraft/item/ItemStack;Ljava/util/List;)V
  • Method Details

    • getOutput

      public ItemStack getOutput()
      Specified by:
      getOutput in interface RecipeType
      Mappings:
      Namespace Name Mixin selector
      official b Laho;b()Lafj;
      intermediary method_3501 Lnet/minecraft/class_1114;method_3501()Lnet/minecraft/class_1071;
      named getOutput Lnet/minecraft/recipe/RecipeType;getOutput()Lnet/minecraft/item/ItemStack;
    • method_13670

      public DefaultedList<ItemStack> method_13670(CraftingInventory craftingInventory)
      Specified by:
      method_13670 in interface RecipeType
      Mappings:
      Namespace Name Mixin selector
      official b Laho;b(Lacs;)Ldd;
      intermediary method_13670 Lnet/minecraft/class_1114;method_13670(Lnet/minecraft/class_1011;)Lnet/minecraft/class_3114;
      named method_13670 Lnet/minecraft/recipe/RecipeType;method_13670(Lnet/minecraft/inventory/CraftingInventory;)Lnet/minecraft/util/collection/DefaultedList;
    • matches

      public boolean matches(CraftingInventory inventory, World world)
      Specified by:
      matches in interface RecipeType
      Mappings:
      Namespace Name Mixin selector
      official a Laho;a(Lacs;Lajs;)Z
      intermediary method_3500 Lnet/minecraft/class_1114;method_3500(Lnet/minecraft/class_1011;Lnet/minecraft/class_1150;)Z
      named matches Lnet/minecraft/recipe/RecipeType;matches(Lnet/minecraft/inventory/CraftingInventory;Lnet/minecraft/world/World;)Z
    • getResult

      public ItemStack getResult(CraftingInventory inventory)
      Specified by:
      getResult in interface RecipeType
      Mappings:
      Namespace Name Mixin selector
      official a Laho;a(Lacs;)Lafj;
      intermediary method_3502 Lnet/minecraft/class_1114;method_3502(Lnet/minecraft/class_1011;)Lnet/minecraft/class_1071;
      named getResult Lnet/minecraft/recipe/RecipeType;getResult(Lnet/minecraft/inventory/CraftingInventory;)Lnet/minecraft/item/ItemStack;
    • getSize

      public int getSize()
      Specified by:
      getSize in interface RecipeType
      Mappings:
      Namespace Name Mixin selector
      official a Laho;a()I
      intermediary method_3499 Lnet/minecraft/class_1114;method_3499()I
      named getSize Lnet/minecraft/recipe/RecipeType;getSize()I