Class RecipeJsonBuilder.CraftingRecipeJsonProvider

java.lang.Object
net.minecraft.data.server.recipe.RecipeJsonBuilder.CraftingRecipeJsonProvider
All Implemented Interfaces:
RecipeJsonProvider
Direct Known Subclasses:
ShapedRecipeJsonBuilder.ShapedRecipeJsonProvider, ShapelessRecipeJsonBuilder.ShapelessRecipeJsonProvider
Enclosing class:
RecipeJsonBuilder

protected abstract static class RecipeJsonBuilder.CraftingRecipeJsonProvider extends Object implements RecipeJsonProvider
Mappings:
Namespace Name
official ln$a
intermediary net/minecraft/class_7798$class_7799
named net/minecraft/data/server/recipe/RecipeJsonBuilder$CraftingRecipeJsonProvider
  • Field Details

    • craftingCategory

      private final CraftingRecipeCategory craftingCategory
      Mappings:
      Namespace Name Mixin selector
      official a Lln$a;a:Lcil;
      intermediary field_40633 Lnet/minecraft/class_7798$class_7799;field_40633:Lnet/minecraft/class_7710;
      named craftingCategory Lnet/minecraft/data/server/recipe/RecipeJsonBuilder$CraftingRecipeJsonProvider;craftingCategory:Lnet/minecraft/recipe/book/CraftingRecipeCategory;
  • Constructor Details

    • CraftingRecipeJsonProvider

      protected CraftingRecipeJsonProvider(CraftingRecipeCategory craftingCategory)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lln$a;<init>(Lcil;)V
      intermediary <init> Lnet/minecraft/class_7798$class_7799;<init>(Lnet/minecraft/class_7710;)V
      named <init> Lnet/minecraft/data/server/recipe/RecipeJsonBuilder$CraftingRecipeJsonProvider;<init>(Lnet/minecraft/recipe/book/CraftingRecipeCategory;)V
  • Method Details

    • serialize

      public void serialize(JsonObject json)
      Specified by:
      serialize in interface RecipeJsonProvider
      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