Class SmithingRecipeJsonFactory.SmithingRecipeJsonProvider

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

public static class SmithingRecipeJsonFactory.SmithingRecipeJsonProvider
extends Object
implements RecipeJsonProvider
Mappings:
Namespace Name
official ju$a
intermediary net/minecraft/class_5377$class_5378
named net/minecraft/data/server/recipe/SmithingRecipeJsonFactory$SmithingRecipeJsonProvider
  • Field Details

    • recipeId

      private final Identifier recipeId
      Mappings:
      Namespace Name Mixin selector
      official a Lju$a;a:Lwb;
      intermediary field_25496 Lnet/minecraft/class_5377$class_5378;field_25496:Lnet/minecraft/class_2960;
      named recipeId Lnet/minecraft/data/server/recipe/SmithingRecipeJsonFactory$SmithingRecipeJsonProvider;recipeId:Lnet/minecraft/util/Identifier;
    • base

      private final Ingredient base
      Mappings:
      Namespace Name Mixin selector
      official b Lju$a;b:Lbqk;
      intermediary field_25497 Lnet/minecraft/class_5377$class_5378;field_25497:Lnet/minecraft/class_1856;
      named base Lnet/minecraft/data/server/recipe/SmithingRecipeJsonFactory$SmithingRecipeJsonProvider;base:Lnet/minecraft/recipe/Ingredient;
    • addition

      private final Ingredient addition
      Mappings:
      Namespace Name Mixin selector
      official c Lju$a;c:Lbqk;
      intermediary field_25498 Lnet/minecraft/class_5377$class_5378;field_25498:Lnet/minecraft/class_1856;
      named addition Lnet/minecraft/data/server/recipe/SmithingRecipeJsonFactory$SmithingRecipeJsonProvider;addition:Lnet/minecraft/recipe/Ingredient;
    • result

      private final Item result
      Mappings:
      Namespace Name Mixin selector
      official d Lju$a;d:Lbnr;
      intermediary field_25499 Lnet/minecraft/class_5377$class_5378;field_25499:Lnet/minecraft/class_1792;
      named result Lnet/minecraft/data/server/recipe/SmithingRecipeJsonFactory$SmithingRecipeJsonProvider;result:Lnet/minecraft/item/Item;
    • builder

      private final Advancement.Task builder
      Mappings:
      Namespace Name Mixin selector
      official e Lju$a;e:Ly$a;
      intermediary field_25500 Lnet/minecraft/class_5377$class_5378;field_25500:Lnet/minecraft/class_161$class_162;
      named builder Lnet/minecraft/data/server/recipe/SmithingRecipeJsonFactory$SmithingRecipeJsonProvider;builder:Lnet/minecraft/advancement/Advancement$Task;
    • advancementId

      private final Identifier advancementId
      Mappings:
      Namespace Name Mixin selector
      official f Lju$a;f:Lwb;
      intermediary field_25501 Lnet/minecraft/class_5377$class_5378;field_25501:Lnet/minecraft/class_2960;
      named advancementId Lnet/minecraft/data/server/recipe/SmithingRecipeJsonFactory$SmithingRecipeJsonProvider;advancementId:Lnet/minecraft/util/Identifier;
    • serializer

      private final RecipeSerializer<?> serializer
      Mappings:
      Namespace Name Mixin selector
      official g Lju$a;g:Lbqp;
      intermediary field_25502 Lnet/minecraft/class_5377$class_5378;field_25502:Lnet/minecraft/class_1865;
      named serializer Lnet/minecraft/data/server/recipe/SmithingRecipeJsonFactory$SmithingRecipeJsonProvider;serializer:Lnet/minecraft/recipe/RecipeSerializer;
  • Constructor Details

    • SmithingRecipeJsonProvider

      public SmithingRecipeJsonProvider​(Identifier recipeId, RecipeSerializer<?> serializer, Ingredient base, Ingredient addition, Item result, Advancement.Task builder, Identifier advancementId)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lju$a;<init>(Lwb;Lbqp;Lbqk;Lbqk;Lbnr;Ly$a;Lwb;)V
      intermediary <init> Lnet/minecraft/class_5377$class_5378;<init>(Lnet/minecraft/class_2960;Lnet/minecraft/class_1865;Lnet/minecraft/class_1856;Lnet/minecraft/class_1856;Lnet/minecraft/class_1792;Lnet/minecraft/class_161$class_162;Lnet/minecraft/class_2960;)V
      named <init> Lnet/minecraft/data/server/recipe/SmithingRecipeJsonFactory$SmithingRecipeJsonProvider;<init>(Lnet/minecraft/util/Identifier;Lnet/minecraft/recipe/RecipeSerializer;Lnet/minecraft/recipe/Ingredient;Lnet/minecraft/recipe/Ingredient;Lnet/minecraft/item/Item;Lnet/minecraft/advancement/Advancement$Task;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 Ljm;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 Ljm;b()Lwb;
      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 Ljm;c()Lbqp;
      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 JsonObject toAdvancementJson()
      Specified by:
      toAdvancementJson in interface RecipeJsonProvider
      Mappings:
      Namespace Name Mixin selector
      official d Ljm;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 Identifier getAdvancementId()
      Specified by:
      getAdvancementId in interface RecipeJsonProvider
      Mappings:
      Namespace Name Mixin selector
      official e Ljm;e()Lwb;
      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;