Class ShapelessRecipeType

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

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

    • result

      private final ItemStack result
      Mappings:
      Namespace Name Mixin selector
      official a Labw;a:Lzx;
      intermediary field_101 Lnet/minecraft/class_52;field_101:Lnet/minecraft/class_2056;
      named result Lnet/minecraft/recipe/ShapelessRecipeType;result:Lnet/minecraft/item/ItemStack;
    • stacks

      private final List<ItemStack> stacks
      Mappings:
      Namespace Name Mixin selector
      official b Labw;b:Ljava/util/List;
      intermediary field_102 Lnet/minecraft/class_52;field_102: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> Labw;<init>(Lzx;Ljava/util/List;)V
      intermediary <init> Lnet/minecraft/class_52;<init>(Lnet/minecraft/class_2056;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 Labs;b()Lzx;
      intermediary method_64 Lnet/minecraft/class_48;method_64()Lnet/minecraft/class_2056;
      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 Labs;b(Lxp;)[Lzx;
      intermediary method_65 Lnet/minecraft/class_48;method_65(Lnet/minecraft/class_1993;)[Lnet/minecraft/class_2056;
      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 Labs;a(Lxp;Ladm;)Z
      intermediary method_63 Lnet/minecraft/class_48;method_63(Lnet/minecraft/class_1993;Lnet/minecraft/class_99;)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 Labs;a(Lxp;)Lzx;
      intermediary method_62 Lnet/minecraft/class_48;method_62(Lnet/minecraft/class_1993;)Lnet/minecraft/class_2056;
      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 Labs;a()I
      intermediary method_61 Lnet/minecraft/class_48;method_61()I
      named getSize Lnet/minecraft/recipe/RecipeType;getSize()I