Class ShapelessRecipe

java.lang.Object
net.minecraft.recipe.ShapelessRecipe
All Implemented Interfaces:
Recipe

public class ShapelessRecipe extends Object implements Recipe
Mappings:
Namespace Name
intermediary net/minecraft/class_453
glue class_484
server ml
client tt
named net/minecraft/recipe/ShapelessRecipe
  • Field Details

    • output

      private final ItemInstance output
      Mappings:
      Namespace Name Mixin selector
      intermediary field_1719 Lnet/minecraft/class_453;field_1719:Lnet/minecraft/class_31;
      glue field_1875 Lclass_484;field_1875:Lclass_224;
      server a Lml;a:Lfy;
      client a Ltt;a:Liz;
      named output Lnet/minecraft/recipe/ShapelessRecipe;output:Lnet/minecraft/item/ItemInstance;
    • input

      private final List input
      Mappings:
      Namespace Name Mixin selector
      intermediary field_1720 Lnet/minecraft/class_453;field_1720:Ljava/util/List;
      glue field_1876 Lclass_484;field_1876:Ljava/util/List;
      server b Lml;b:Ljava/util/List;
      client b Ltt;b:Ljava/util/List;
      named input Lnet/minecraft/recipe/ShapelessRecipe;input:Ljava/util/List;
  • Constructor Details

    • ShapelessRecipe

      public ShapelessRecipe(ItemInstance output, List inputs)
      Mappings:
      Namespace Name Mixin selector
      intermediary <init> Lnet/minecraft/class_453;<init>(Lnet/minecraft/class_31;Ljava/util/List;)V
      glue <init> Lclass_484;<init>(Lclass_224;Ljava/util/List;)V
      server <init> Lml;<init>(Lfy;Ljava/util/List;)V
      client <init> Ltt;<init>(Liz;Ljava/util/List;)V
      named <init> Lnet/minecraft/recipe/ShapelessRecipe;<init>(Lnet/minecraft/item/ItemInstance;Ljava/util/List;)V
  • Method Details

    • getOutput

      public ItemInstance getOutput()
      Specified by:
      getOutput in interface Recipe
      Mappings:
      Namespace Name Mixin selector
      intermediary method_2073 Lnet/minecraft/class_160;method_2073()Lnet/minecraft/class_31;
      glue method_286 Lclass_93;method_286()Lclass_224;
      server b Lck;b()Lfy;
      client b Ldt;b()Liz;
      named getOutput Lnet/minecraft/recipe/Recipe;getOutput()Lnet/minecraft/item/ItemInstance;
    • canCraft

      public boolean canCraft(Crafting crafting)
      Specified by:
      canCraft in interface Recipe
      Mappings:
      Namespace Name Mixin selector
      intermediary method_2072 Lnet/minecraft/class_160;method_2072(Lnet/minecraft/class_159;)Z
      glue method_285 Lclass_93;method_285(Lclass_305;)Z
      server a Lck;a(Lhz;)Z
      client a Ldt;a(Lmq;)Z
      named canCraft Lnet/minecraft/recipe/Recipe;canCraft(Lnet/minecraft/inventory/Crafting;)Z
    • craft

      public ItemInstance craft(Crafting crafting)
      Specified by:
      craft in interface Recipe
      Mappings:
      Namespace Name Mixin selector
      intermediary method_2074 Lnet/minecraft/class_160;method_2074(Lnet/minecraft/class_159;)Lnet/minecraft/class_31;
      glue method_287 Lclass_93;method_287(Lclass_305;)Lclass_224;
      server b Lck;b(Lhz;)Lfy;
      client b Ldt;b(Lmq;)Liz;
      named craft Lnet/minecraft/recipe/Recipe;craft(Lnet/minecraft/inventory/Crafting;)Lnet/minecraft/item/ItemInstance;
    • getIngredientCount

      public int getIngredientCount()
      Specified by:
      getIngredientCount in interface Recipe
      Mappings:
      Namespace Name Mixin selector
      intermediary method_2071 Lnet/minecraft/class_160;method_2071()I
      glue method_284 Lclass_93;method_284()I
      server a Lck;a()I
      client a Ldt;a()I
      named getIngredientCount Lnet/minecraft/recipe/Recipe;getIngredientCount()I