Class CookingRecipeJsonBuilder.CookingRecipeJsonProvider

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

private static class CookingRecipeJsonBuilder.CookingRecipeJsonProvider extends Object implements RecipeJsonProvider
Mappings:
Namespace Name
official md$a
intermediary net/minecraft/class_2454$class_2455
named net/minecraft/data/server/recipe/CookingRecipeJsonBuilder$CookingRecipeJsonProvider
  • Field Details

    • recipeId

      private final Identifier recipeId
      Mappings:
      Namespace Name Mixin selector
      official a Lmd$a;a:Ladd;
      intermediary field_11424 Lnet/minecraft/class_2454$class_2455;field_11424:Lnet/minecraft/class_2960;
      named recipeId Lnet/minecraft/data/server/recipe/CookingRecipeJsonBuilder$CookingRecipeJsonProvider;recipeId:Lnet/minecraft/util/Identifier;
    • group

      private final String group
      Mappings:
      Namespace Name Mixin selector
      official b Lmd$a;b:Ljava/lang/String;
      intermediary field_11426 Lnet/minecraft/class_2454$class_2455;field_11426:Ljava/lang/String;
      named group Lnet/minecraft/data/server/recipe/CookingRecipeJsonBuilder$CookingRecipeJsonProvider;group:Ljava/lang/String;
    • category

      private final CookingRecipeCategory category
      Mappings:
      Namespace Name Mixin selector
      official c Lmd$a;c:Lcim;
      intermediary field_40649 Lnet/minecraft/class_2454$class_2455;field_40649:Lnet/minecraft/class_7709;
      named category Lnet/minecraft/data/server/recipe/CookingRecipeJsonBuilder$CookingRecipeJsonProvider;category:Lnet/minecraft/recipe/book/CookingRecipeCategory;
    • input

      private final Ingredient input
      Mappings:
      Namespace Name Mixin selector
      official d Lmd$a;d:Lciu;
      intermediary field_11425 Lnet/minecraft/class_2454$class_2455;field_11425:Lnet/minecraft/class_1856;
      named input Lnet/minecraft/data/server/recipe/CookingRecipeJsonBuilder$CookingRecipeJsonProvider;input:Lnet/minecraft/recipe/Ingredient;
    • result

      private final Item result
      Mappings:
      Namespace Name Mixin selector
      official e Lmd$a;e:Lcfq;
      intermediary field_11428 Lnet/minecraft/class_2454$class_2455;field_11428:Lnet/minecraft/class_1792;
      named result Lnet/minecraft/data/server/recipe/CookingRecipeJsonBuilder$CookingRecipeJsonProvider;result:Lnet/minecraft/item/Item;
    • experience

      private final float experience
      Mappings:
      Namespace Name Mixin selector
      official f Lmd$a;f:F
      intermediary field_11421 Lnet/minecraft/class_2454$class_2455;field_11421:F
      named experience Lnet/minecraft/data/server/recipe/CookingRecipeJsonBuilder$CookingRecipeJsonProvider;experience:F
    • cookingTime

      private final int cookingTime
      Mappings:
      Namespace Name Mixin selector
      official g Lmd$a;g:I
      intermediary field_11422 Lnet/minecraft/class_2454$class_2455;field_11422:I
      named cookingTime Lnet/minecraft/data/server/recipe/CookingRecipeJsonBuilder$CookingRecipeJsonProvider;cookingTime:I
    • advancementBuilder

      private final Advancement.Builder advancementBuilder
      Mappings:
      Namespace Name Mixin selector
      official h Lmd$a;h:Lae$a;
      intermediary field_11423 Lnet/minecraft/class_2454$class_2455;field_11423:Lnet/minecraft/class_161$class_162;
      named advancementBuilder Lnet/minecraft/data/server/recipe/CookingRecipeJsonBuilder$CookingRecipeJsonProvider;advancementBuilder:Lnet/minecraft/advancement/Advancement$Builder;
    • advancementId

      private final Identifier advancementId
      Mappings:
      Namespace Name Mixin selector
      official i Lmd$a;i:Ladd;
      intermediary field_11427 Lnet/minecraft/class_2454$class_2455;field_11427:Lnet/minecraft/class_2960;
      named advancementId Lnet/minecraft/data/server/recipe/CookingRecipeJsonBuilder$CookingRecipeJsonProvider;advancementId:Lnet/minecraft/util/Identifier;
    • serializer

      private final RecipeSerializer<? extends AbstractCookingRecipe> serializer
      Mappings:
      Namespace Name Mixin selector
      official j Lmd$a;j:Lcja;
      intermediary field_17600 Lnet/minecraft/class_2454$class_2455;field_17600:Lnet/minecraft/class_1865;
      named serializer Lnet/minecraft/data/server/recipe/CookingRecipeJsonBuilder$CookingRecipeJsonProvider;serializer:Lnet/minecraft/recipe/RecipeSerializer;
  • Constructor Details

    • CookingRecipeJsonProvider

      public CookingRecipeJsonProvider(Identifier recipeId, String group, CookingRecipeCategory category, Ingredient input, Item result, float experience, int cookingTime, Advancement.Builder advancementBuilder, Identifier advancementId, RecipeSerializer<? extends AbstractCookingRecipe> serializer)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lmd$a;<init>(Ladd;Ljava/lang/String;Lcim;Lciu;Lcfq;FILae$a;Ladd;Lcja;)V
      intermediary <init> Lnet/minecraft/class_2454$class_2455;<init>(Lnet/minecraft/class_2960;Ljava/lang/String;Lnet/minecraft/class_7709;Lnet/minecraft/class_1856;Lnet/minecraft/class_1792;FILnet/minecraft/class_161$class_162;Lnet/minecraft/class_2960;Lnet/minecraft/class_1865;)V
      named <init> Lnet/minecraft/data/server/recipe/CookingRecipeJsonBuilder$CookingRecipeJsonProvider;<init>(Lnet/minecraft/util/Identifier;Ljava/lang/String;Lnet/minecraft/recipe/book/CookingRecipeCategory;Lnet/minecraft/recipe/Ingredient;Lnet/minecraft/item/Item;FILnet/minecraft/advancement/Advancement$Builder;Lnet/minecraft/util/Identifier;Lnet/minecraft/recipe/RecipeSerializer;)V
  • Method Details

    • serialize

      public void serialize(JsonObject json)
      Specified by:
      serialize in interface RecipeJsonProvider
      Mappings:
      Namespace Name Mixin selector
      official a Llw;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()
      Specified by:
      getSerializer in interface RecipeJsonProvider
      Mappings:
      Namespace Name Mixin selector
      official c Llw;c()Lcja;
      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()
      Specified by:
      getRecipeId in interface RecipeJsonProvider
      Mappings:
      Namespace Name Mixin selector
      official b Llw;b()Ladd;
      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()
      Specified by:
      toAdvancementJson in interface RecipeJsonProvider
      Mappings:
      Namespace Name Mixin selector
      official d Llw;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 Llw;e()Ladd;
      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;