Class ShapelessRecipeJsonBuilder.ShapelessRecipeJsonProvider

java.lang.Object
net.minecraft.data.server.recipe.RecipeJsonBuilder.CraftingRecipeJsonProvider
net.minecraft.data.server.recipe.ShapelessRecipeJsonBuilder.ShapelessRecipeJsonProvider
All Implemented Interfaces:
RecipeJsonProvider
Enclosing class:
ShapelessRecipeJsonBuilder

public static class ShapelessRecipeJsonBuilder.ShapelessRecipeJsonProvider extends RecipeJsonBuilder.CraftingRecipeJsonProvider
Mappings:
Namespace Name
official lt$a
intermediary net/minecraft/class_2450$class_2451
named net/minecraft/data/server/recipe/ShapelessRecipeJsonBuilder$ShapelessRecipeJsonProvider
  • Field Details

    • recipeId

      private final Identifier recipeId
      Mappings:
      Namespace Name Mixin selector
      official a Llt$a;a:Lacq;
      intermediary field_11402 Lnet/minecraft/class_2450$class_2451;field_11402:Lnet/minecraft/class_2960;
      named recipeId Lnet/minecraft/data/server/recipe/ShapelessRecipeJsonBuilder$ShapelessRecipeJsonProvider;recipeId:Lnet/minecraft/util/Identifier;
    • output

      private final Item output
      Mappings:
      Namespace Name Mixin selector
      official b Llt$a;b:Lcfn;
      intermediary field_11403 Lnet/minecraft/class_2450$class_2451;field_11403:Lnet/minecraft/class_1792;
      named output Lnet/minecraft/data/server/recipe/ShapelessRecipeJsonBuilder$ShapelessRecipeJsonProvider;output:Lnet/minecraft/item/Item;
    • count

      private final int count
      Mappings:
      Namespace Name Mixin selector
      official c Llt$a;c:I
      intermediary field_11400 Lnet/minecraft/class_2450$class_2451;field_11400:I
      named count Lnet/minecraft/data/server/recipe/ShapelessRecipeJsonBuilder$ShapelessRecipeJsonProvider;count:I
    • group

      private final String group
      Mappings:
      Namespace Name Mixin selector
      official d Llt$a;d:Ljava/lang/String;
      intermediary field_11399 Lnet/minecraft/class_2450$class_2451;field_11399:Ljava/lang/String;
      named group Lnet/minecraft/data/server/recipe/ShapelessRecipeJsonBuilder$ShapelessRecipeJsonProvider;group:Ljava/lang/String;
    • inputs

      private final List<Ingredient> inputs
      Mappings:
      Namespace Name Mixin selector
      official e Llt$a;e:Ljava/util/List;
      intermediary field_11404 Lnet/minecraft/class_2450$class_2451;field_11404:Ljava/util/List;
      named inputs Lnet/minecraft/data/server/recipe/ShapelessRecipeJsonBuilder$ShapelessRecipeJsonProvider;inputs:Ljava/util/List;
    • advancementBuilder

      private final Advancement.Builder advancementBuilder
      Mappings:
      Namespace Name Mixin selector
      official f Llt$a;f:Lae$a;
      intermediary field_11401 Lnet/minecraft/class_2450$class_2451;field_11401:Lnet/minecraft/class_161$class_162;
      named advancementBuilder Lnet/minecraft/data/server/recipe/ShapelessRecipeJsonBuilder$ShapelessRecipeJsonProvider;advancementBuilder:Lnet/minecraft/advancement/Advancement$Builder;
    • advancementId

      private final Identifier advancementId
      Mappings:
      Namespace Name Mixin selector
      official g Llt$a;g:Lacq;
      intermediary field_11405 Lnet/minecraft/class_2450$class_2451;field_11405:Lnet/minecraft/class_2960;
      named advancementId Lnet/minecraft/data/server/recipe/ShapelessRecipeJsonBuilder$ShapelessRecipeJsonProvider;advancementId:Lnet/minecraft/util/Identifier;
  • Constructor Details

    • ShapelessRecipeJsonProvider

      public ShapelessRecipeJsonProvider(Identifier recipeId, Item output, int outputCount, String group, CraftingRecipeCategory craftingCategory, List<Ingredient> inputs, Advancement.Builder advancementBuilder, Identifier advancementId)
      Mappings:
      Namespace Name Mixin selector
      official <init> Llt$a;<init>(Lacq;Lcfn;ILjava/lang/String;Lcil;Ljava/util/List;Lae$a;Lacq;)V
      intermediary <init> Lnet/minecraft/class_2450$class_2451;<init>(Lnet/minecraft/class_2960;Lnet/minecraft/class_1792;ILjava/lang/String;Lnet/minecraft/class_7710;Ljava/util/List;Lnet/minecraft/class_161$class_162;Lnet/minecraft/class_2960;)V
      named <init> Lnet/minecraft/data/server/recipe/ShapelessRecipeJsonBuilder$ShapelessRecipeJsonProvider;<init>(Lnet/minecraft/util/Identifier;Lnet/minecraft/item/Item;ILjava/lang/String;Lnet/minecraft/recipe/book/CraftingRecipeCategory;Ljava/util/List;Lnet/minecraft/advancement/Advancement$Builder;Lnet/minecraft/util/Identifier;)V
  • Method Details

    • serialize

      public void serialize(JsonObject json)
      Specified by:
      serialize in interface RecipeJsonProvider
      Overrides:
      serialize in class RecipeJsonBuilder.CraftingRecipeJsonProvider
      Mappings:
      Namespace Name Mixin selector
      official a Llo;a(Lcom/google/gson/JsonObject;)V
      intermediary method_10416 Lnet/minecraft/class_2444;method_10416(Lcom/google/gson/JsonObject;)V
      named serialize Lnet/minecraft/data/server/recipe/RecipeJsonProvider;serialize(Lcom/google/gson/JsonObject;)V
    • getSerializer

      public RecipeSerializer<?> getSerializer()
      Mappings:
      Namespace Name Mixin selector
      official c Llo;c()Lcix;
      intermediary method_17800 Lnet/minecraft/class_2444;method_17800()Lnet/minecraft/class_1865;
      named getSerializer Lnet/minecraft/data/server/recipe/RecipeJsonProvider;getSerializer()Lnet/minecraft/recipe/RecipeSerializer;
    • getRecipeId

      public Identifier getRecipeId()
      Mappings:
      Namespace Name Mixin selector
      official b Llo;b()Lacq;
      intermediary method_10417 Lnet/minecraft/class_2444;method_10417()Lnet/minecraft/class_2960;
      named getRecipeId Lnet/minecraft/data/server/recipe/RecipeJsonProvider;getRecipeId()Lnet/minecraft/util/Identifier;
    • toAdvancementJson

      @Nullable public @Nullable JsonObject toAdvancementJson()
      Mappings:
      Namespace Name Mixin selector
      official d Llo;d()Lcom/google/gson/JsonObject;
      intermediary method_10415 Lnet/minecraft/class_2444;method_10415()Lcom/google/gson/JsonObject;
      named toAdvancementJson Lnet/minecraft/data/server/recipe/RecipeJsonProvider;toAdvancementJson()Lcom/google/gson/JsonObject;
    • getAdvancementId

      @Nullable public @Nullable Identifier getAdvancementId()
      Mappings:
      Namespace Name Mixin selector
      official e Llo;e()Lacq;
      intermediary method_10418 Lnet/minecraft/class_2444;method_10418()Lnet/minecraft/class_2960;
      named getAdvancementId Lnet/minecraft/data/server/recipe/RecipeJsonProvider;getAdvancementId()Lnet/minecraft/util/Identifier;