Class ShapelessRecipeJsonFactory

java.lang.Object
net.minecraft.data.server.recipe.ShapelessRecipeJsonFactory
All Implemented Interfaces:
CraftingRecipeJsonFactory

public class ShapelessRecipeJsonFactory extends Object implements CraftingRecipeJsonFactory
Mappings:
Namespace Name
official kd
intermediary net/minecraft/class_2450
named net/minecraft/data/server/recipe/ShapelessRecipeJsonFactory
  • Field Details

    • output

      private final Item output
      Mappings:
      Namespace Name Mixin selector
      official a Lkd;a:Lbua;
      intermediary field_11396 Lnet/minecraft/class_2450;field_11396:Lnet/minecraft/class_1792;
      named output Lnet/minecraft/data/server/recipe/ShapelessRecipeJsonFactory;output:Lnet/minecraft/item/Item;
    • outputCount

      private final int outputCount
      Mappings:
      Namespace Name Mixin selector
      official b Lkd;b:I
      intermediary field_11395 Lnet/minecraft/class_2450;field_11395:I
      named outputCount Lnet/minecraft/data/server/recipe/ShapelessRecipeJsonFactory;outputCount:I
    • inputs

      private final List<Ingredient> inputs
      Mappings:
      Namespace Name Mixin selector
      official c Lkd;c:Ljava/util/List;
      intermediary field_11394 Lnet/minecraft/class_2450;field_11394:Ljava/util/List;
      named inputs Lnet/minecraft/data/server/recipe/ShapelessRecipeJsonFactory;inputs:Ljava/util/List;
    • builder

      private final Advancement.Task builder
      Mappings:
      Namespace Name Mixin selector
      official d Lkd;d:Laf$a;
      intermediary field_11393 Lnet/minecraft/class_2450;field_11393:Lnet/minecraft/class_161$class_162;
      named builder Lnet/minecraft/data/server/recipe/ShapelessRecipeJsonFactory;builder:Lnet/minecraft/advancement/Advancement$Task;
    • group

      @Nullable private @Nullable String group
      Mappings:
      Namespace Name Mixin selector
      official e Lkd;e:Ljava/lang/String;
      intermediary field_11398 Lnet/minecraft/class_2450;field_11398:Ljava/lang/String;
      named group Lnet/minecraft/data/server/recipe/ShapelessRecipeJsonFactory;group:Ljava/lang/String;
  • Constructor Details

    • ShapelessRecipeJsonFactory

      public ShapelessRecipeJsonFactory(ItemConvertible output, int outputCount)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lkd;<init>(Lcac;I)V
      intermediary <init> Lnet/minecraft/class_2450;<init>(Lnet/minecraft/class_1935;I)V
      named <init> Lnet/minecraft/data/server/recipe/ShapelessRecipeJsonFactory;<init>(Lnet/minecraft/item/ItemConvertible;I)V
  • Method Details

    • create

      public static ShapelessRecipeJsonFactory create(ItemConvertible output)
      Mappings:
      Namespace Name Mixin selector
      official b Lkd;b(Lcac;)Lkd;
      intermediary method_10447 Lnet/minecraft/class_2450;method_10447(Lnet/minecraft/class_1935;)Lnet/minecraft/class_2450;
      named create Lnet/minecraft/data/server/recipe/ShapelessRecipeJsonFactory;create(Lnet/minecraft/item/ItemConvertible;)Lnet/minecraft/data/server/recipe/ShapelessRecipeJsonFactory;
    • create

      public static ShapelessRecipeJsonFactory create(ItemConvertible output, int outputCount)
      Mappings:
      Namespace Name Mixin selector
      official a Lkd;a(Lcac;I)Lkd;
      intermediary method_10448 Lnet/minecraft/class_2450;method_10448(Lnet/minecraft/class_1935;I)Lnet/minecraft/class_2450;
      named create Lnet/minecraft/data/server/recipe/ShapelessRecipeJsonFactory;create(Lnet/minecraft/item/ItemConvertible;I)Lnet/minecraft/data/server/recipe/ShapelessRecipeJsonFactory;
    • input

      public ShapelessRecipeJsonFactory input(Tag<Item> tag)
      Mappings:
      Namespace Name Mixin selector
      official a Lkd;a(Lahr;)Lkd;
      intermediary method_10446 Lnet/minecraft/class_2450;method_10446(Lnet/minecraft/class_3494;)Lnet/minecraft/class_2450;
      named input Lnet/minecraft/data/server/recipe/ShapelessRecipeJsonFactory;input(Lnet/minecraft/tag/Tag;)Lnet/minecraft/data/server/recipe/ShapelessRecipeJsonFactory;
    • input

      public ShapelessRecipeJsonFactory input(ItemConvertible itemProvider)
      Mappings:
      Namespace Name Mixin selector
      official c Lkd;c(Lcac;)Lkd;
      intermediary method_10454 Lnet/minecraft/class_2450;method_10454(Lnet/minecraft/class_1935;)Lnet/minecraft/class_2450;
      named input Lnet/minecraft/data/server/recipe/ShapelessRecipeJsonFactory;input(Lnet/minecraft/item/ItemConvertible;)Lnet/minecraft/data/server/recipe/ShapelessRecipeJsonFactory;
    • input

      public ShapelessRecipeJsonFactory input(ItemConvertible itemProvider, int size)
      Mappings:
      Namespace Name Mixin selector
      official b Lkd;b(Lcac;I)Lkd;
      intermediary method_10449 Lnet/minecraft/class_2450;method_10449(Lnet/minecraft/class_1935;I)Lnet/minecraft/class_2450;
      named input Lnet/minecraft/data/server/recipe/ShapelessRecipeJsonFactory;input(Lnet/minecraft/item/ItemConvertible;I)Lnet/minecraft/data/server/recipe/ShapelessRecipeJsonFactory;
    • input

      public ShapelessRecipeJsonFactory input(Ingredient ingredient)
      Mappings:
      Namespace Name Mixin selector
      official a Lkd;a(Lbwt;)Lkd;
      intermediary method_10451 Lnet/minecraft/class_2450;method_10451(Lnet/minecraft/class_1856;)Lnet/minecraft/class_2450;
      named input Lnet/minecraft/data/server/recipe/ShapelessRecipeJsonFactory;input(Lnet/minecraft/recipe/Ingredient;)Lnet/minecraft/data/server/recipe/ShapelessRecipeJsonFactory;
    • input

      public ShapelessRecipeJsonFactory input(Ingredient ingredient, int size)
      Mappings:
      Namespace Name Mixin selector
      official a Lkd;a(Lbwt;I)Lkd;
      intermediary method_10453 Lnet/minecraft/class_2450;method_10453(Lnet/minecraft/class_1856;I)Lnet/minecraft/class_2450;
      named input Lnet/minecraft/data/server/recipe/ShapelessRecipeJsonFactory;input(Lnet/minecraft/recipe/Ingredient;I)Lnet/minecraft/data/server/recipe/ShapelessRecipeJsonFactory;
    • criterion

      public ShapelessRecipeJsonFactory criterion(String string, CriterionConditions criterionConditions)
      Specified by:
      criterion in interface CraftingRecipeJsonFactory
      Mappings:
      Namespace Name Mixin selector
      official b Lkd;b(Ljava/lang/String;Lan;)Lkd;
      intermediary method_10442 Lnet/minecraft/class_2450;method_10442(Ljava/lang/String;Lnet/minecraft/class_184;)Lnet/minecraft/class_2450;
      named criterion Lnet/minecraft/data/server/recipe/ShapelessRecipeJsonFactory;criterion(Ljava/lang/String;Lnet/minecraft/advancement/criterion/CriterionConditions;)Lnet/minecraft/data/server/recipe/ShapelessRecipeJsonFactory;
    • group

      Specified by:
      group in interface CraftingRecipeJsonFactory
      Mappings:
      Namespace Name Mixin selector
      official b Lkd;b(Ljava/lang/String;)Lkd;
      intermediary method_10452 Lnet/minecraft/class_2450;method_10452(Ljava/lang/String;)Lnet/minecraft/class_2450;
      named group Lnet/minecraft/data/server/recipe/ShapelessRecipeJsonFactory;group(Ljava/lang/String;)Lnet/minecraft/data/server/recipe/ShapelessRecipeJsonFactory;
    • getOutputItem

      public Item getOutputItem()
      Specified by:
      getOutputItem in interface CraftingRecipeJsonFactory
      Mappings:
      Namespace Name Mixin selector
      official a Lka;a()Lbua;
      intermediary method_36441 Lnet/minecraft/class_5797;method_36441()Lnet/minecraft/class_1792;
      named getOutputItem Lnet/minecraft/data/server/recipe/CraftingRecipeJsonFactory;getOutputItem()Lnet/minecraft/item/Item;
    • offerTo

      public void offerTo(Consumer<RecipeJsonProvider> exporter, Identifier recipeId)
      Specified by:
      offerTo in interface CraftingRecipeJsonFactory
      Mappings:
      Namespace Name Mixin selector
      official a Lka;a(Ljava/util/function/Consumer;Lyh;)V
      intermediary method_17972 Lnet/minecraft/class_5797;method_17972(Ljava/util/function/Consumer;Lnet/minecraft/class_2960;)V
      named offerTo Lnet/minecraft/data/server/recipe/CraftingRecipeJsonFactory;offerTo(Ljava/util/function/Consumer;Lnet/minecraft/util/Identifier;)V
    • validate

      private void validate(Identifier recipeId)
      Mappings:
      Namespace Name Mixin selector
      official a Lkd;a(Lyh;)V
      intermediary method_10445 Lnet/minecraft/class_2450;method_10445(Lnet/minecraft/class_2960;)V
      named validate Lnet/minecraft/data/server/recipe/ShapelessRecipeJsonFactory;validate(Lnet/minecraft/util/Identifier;)V