Class ShapelessRecipeType

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

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

    • result

      private final ItemStack result
      Mappings:
      Namespace Name Mixin selector
      official a Lafy;a:Ladq;
      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 Lafy;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> Lafy;<init>(Ladq;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

      @Nullable public ItemStack getOutput()
      Specified by:
      getOutput in interface RecipeType
      Mappings:
      Namespace Name Mixin selector
      official b Lafu;b()Ladq;
      intermediary method_3501 Lnet/minecraft/class_1114;method_3501()Lnet/minecraft/class_1071;
      named getOutput Lnet/minecraft/recipe/RecipeType;getOutput()Lnet/minecraft/item/ItemStack;
    • getRemainders

      public ItemStack[] getRemainders(CraftingInventory inventory)
      Specified by:
      getRemainders in interface RecipeType
      Mappings:
      Namespace Name Mixin selector
      official b Lafu;b(Labc;)[Ladq;
      intermediary method_8443 Lnet/minecraft/class_1114;method_8443(Lnet/minecraft/class_1011;)[Lnet/minecraft/class_1071;
      named getRemainders Lnet/minecraft/recipe/RecipeType;getRemainders(Lnet/minecraft/inventory/CraftingInventory;)[Lnet/minecraft/item/ItemStack;
    • matches

      public boolean matches(CraftingInventory inventory, World world)
      Specified by:
      matches in interface RecipeType
      Mappings:
      Namespace Name Mixin selector
      official a Lafu;a(Labc;Laht;)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

      @Nullable public ItemStack getResult(CraftingInventory inventory)
      Specified by:
      getResult in interface RecipeType
      Mappings:
      Namespace Name Mixin selector
      official a Lafu;a(Labc;)Ladq;
      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 Lafu;a()I
      intermediary method_3499 Lnet/minecraft/class_1114;method_3499()I
      named getSize Lnet/minecraft/recipe/RecipeType;getSize()I