Class ShapelessRecipeType

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

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

    • result

      private final ItemStack result
      Mappings:
      Namespace Name Mixin selector
      official a Ladt;a:Labo;
      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 stacks
      Mappings:
      Namespace Name Mixin selector
      official b Ladt;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 stacks)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ladt;<init>(Labo;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 Ladr;b()Labo;
      intermediary method_3501 Lnet/minecraft/class_1114;method_3501()Lnet/minecraft/class_1071;
      named getOutput Lnet/minecraft/recipe/RecipeType;getOutput()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 Ladr;a(Lyp;Lafm;)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 Ladr;a(Lyp;)Labo;
      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 Ladr;a()I
      intermediary method_3499 Lnet/minecraft/class_1114;method_3499()I
      named getSize Lnet/minecraft/recipe/RecipeType;getSize()I