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 lp$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 Llp$a;a:Lcly;
      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> Llp$a;<init>(Lcly;)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(com.google.gson.JsonObject json)
      Specified by:
      serialize in interface RecipeJsonProvider
      Mappings:
      Namespace Name Mixin selector
      official a Llq;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