Class SingleItemRecipeJsonBuilder.SingleItemRecipeJsonProvider

java.lang.Object
net.minecraft.data.server.recipe.SingleItemRecipeJsonBuilder.SingleItemRecipeJsonProvider
All Implemented Interfaces:
RecipeJsonProvider
Enclosing class:
SingleItemRecipeJsonBuilder

public static class SingleItemRecipeJsonBuilder.SingleItemRecipeJsonProvider extends Object implements RecipeJsonProvider
Mappings:
Namespace Name
official kz$a
intermediary net/minecraft/class_3981$class_3982
named net/minecraft/data/server/recipe/SingleItemRecipeJsonBuilder$SingleItemRecipeJsonProvider
  • Field Details

    • recipeId

      private final Identifier recipeId
      Mappings:
      Namespace Name Mixin selector
      official a Lkz$a;a:Labb;
      intermediary field_17696 Lnet/minecraft/class_3981$class_3982;field_17696:Lnet/minecraft/class_2960;
      named recipeId Lnet/minecraft/data/server/recipe/SingleItemRecipeJsonBuilder$SingleItemRecipeJsonProvider;recipeId:Lnet/minecraft/util/Identifier;
    • group

      private final String group
      Mappings:
      Namespace Name Mixin selector
      official b Lkz$a;b:Ljava/lang/String;
      intermediary field_17697 Lnet/minecraft/class_3981$class_3982;field_17697:Ljava/lang/String;
      named group Lnet/minecraft/data/server/recipe/SingleItemRecipeJsonBuilder$SingleItemRecipeJsonProvider;group:Ljava/lang/String;
    • input

      private final Ingredient input
      Mappings:
      Namespace Name Mixin selector
      official c Lkz$a;c:Lcdm;
      intermediary field_17698 Lnet/minecraft/class_3981$class_3982;field_17698:Lnet/minecraft/class_1856;
      named input Lnet/minecraft/data/server/recipe/SingleItemRecipeJsonBuilder$SingleItemRecipeJsonProvider;input:Lnet/minecraft/recipe/Ingredient;
    • output

      private final Item output
      Mappings:
      Namespace Name Mixin selector
      official d Lkz$a;d:Lcat;
      intermediary field_17699 Lnet/minecraft/class_3981$class_3982;field_17699:Lnet/minecraft/class_1792;
      named output Lnet/minecraft/data/server/recipe/SingleItemRecipeJsonBuilder$SingleItemRecipeJsonProvider;output:Lnet/minecraft/item/Item;
    • count

      private final int count
      Mappings:
      Namespace Name Mixin selector
      official e Lkz$a;e:I
      intermediary field_17700 Lnet/minecraft/class_3981$class_3982;field_17700:I
      named count Lnet/minecraft/data/server/recipe/SingleItemRecipeJsonBuilder$SingleItemRecipeJsonProvider;count:I
    • advancementBuilder

      private final Advancement.Builder advancementBuilder
      Mappings:
      Namespace Name Mixin selector
      official f Lkz$a;f:Laf$a;
      intermediary field_17701 Lnet/minecraft/class_3981$class_3982;field_17701:Lnet/minecraft/class_161$class_162;
      named advancementBuilder Lnet/minecraft/data/server/recipe/SingleItemRecipeJsonBuilder$SingleItemRecipeJsonProvider;advancementBuilder:Lnet/minecraft/advancement/Advancement$Builder;
    • advancementId

      private final Identifier advancementId
      Mappings:
      Namespace Name Mixin selector
      official g Lkz$a;g:Labb;
      intermediary field_17702 Lnet/minecraft/class_3981$class_3982;field_17702:Lnet/minecraft/class_2960;
      named advancementId Lnet/minecraft/data/server/recipe/SingleItemRecipeJsonBuilder$SingleItemRecipeJsonProvider;advancementId:Lnet/minecraft/util/Identifier;
    • serializer

      private final RecipeSerializer<?> serializer
      Mappings:
      Namespace Name Mixin selector
      official h Lkz$a;h:Lcdr;
      intermediary field_17703 Lnet/minecraft/class_3981$class_3982;field_17703:Lnet/minecraft/class_1865;
      named serializer Lnet/minecraft/data/server/recipe/SingleItemRecipeJsonBuilder$SingleItemRecipeJsonProvider;serializer:Lnet/minecraft/recipe/RecipeSerializer;
  • Constructor Details

    • SingleItemRecipeJsonProvider

      public SingleItemRecipeJsonProvider(Identifier recipeId, RecipeSerializer<?> serializer, String group, Ingredient input, Item output, int outputCount, Advancement.Builder advancementBuilder, Identifier advancementId)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lkz$a;<init>(Labb;Lcdr;Ljava/lang/String;Lcdm;Lcat;ILaf$a;Labb;)V
      intermediary <init> Lnet/minecraft/class_3981$class_3982;<init>(Lnet/minecraft/class_2960;Lnet/minecraft/class_1865;Ljava/lang/String;Lnet/minecraft/class_1856;Lnet/minecraft/class_1792;ILnet/minecraft/class_161$class_162;Lnet/minecraft/class_2960;)V
      named <init> Lnet/minecraft/data/server/recipe/SingleItemRecipeJsonBuilder$SingleItemRecipeJsonProvider;<init>(Lnet/minecraft/util/Identifier;Lnet/minecraft/recipe/RecipeSerializer;Ljava/lang/String;Lnet/minecraft/recipe/Ingredient;Lnet/minecraft/item/Item;ILnet/minecraft/advancement/Advancement$Builder;Lnet/minecraft/util/Identifier;)V
  • Method Details

    • serialize

      public void serialize(JsonObject json)
      Specified by:
      serialize in interface RecipeJsonProvider
      Mappings:
      Namespace Name Mixin selector
      official a Lkt;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
    • getRecipeId

      public Identifier getRecipeId()
      Specified by:
      getRecipeId in interface RecipeJsonProvider
      Mappings:
      Namespace Name Mixin selector
      official b Lkt;b()Labb;
      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;
    • getSerializer

      public RecipeSerializer<?> getSerializer()
      Specified by:
      getSerializer in interface RecipeJsonProvider
      Mappings:
      Namespace Name Mixin selector
      official c Lkt;c()Lcdr;
      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;
    • toAdvancementJson

      @Nullable public @Nullable JsonObject toAdvancementJson()
      Specified by:
      toAdvancementJson in interface RecipeJsonProvider
      Mappings:
      Namespace Name Mixin selector
      official d Lkt;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()
      Specified by:
      getAdvancementId in interface RecipeJsonProvider
      Mappings:
      Namespace Name Mixin selector
      official e Lkt;e()Labb;
      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;