Interface RecipeJsonProvider

All Known Implementing Classes:
CookingRecipeJsonBuilder.CookingRecipeJsonProvider, LegacySmithingRecipeJsonBuilder.SmithingRecipeJsonProvider, RecipeJsonBuilder.CraftingRecipeJsonProvider, ShapedRecipeJsonBuilder.ShapedRecipeJsonProvider, ShapelessRecipeJsonBuilder.ShapelessRecipeJsonProvider, SingleItemRecipeJsonBuilder.SingleItemRecipeJsonProvider, SmithingTransformRecipeJsonBuilder.SmithingTransformRecipeJsonProvider, SmithingTrimRecipeJsonBuilder.SmithingTrimRecipeJsonProvider

public interface RecipeJsonProvider
Mappings:
Namespace Name
official lw
intermediary net/minecraft/class_2444
named net/minecraft/data/server/recipe/RecipeJsonProvider
  • Method Details

    • serialize

      void serialize(JsonObject json)
      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
    • toJson

      default JsonObject toJson()
      Mappings:
      Namespace Name Mixin selector
      official a Llw;a()Lcom/google/gson/JsonObject;
      intermediary method_17799 Lnet/minecraft/class_2444;method_17799()Lcom/google/gson/JsonObject;
      named toJson Lnet/minecraft/data/server/recipe/RecipeJsonProvider;toJson()Lcom/google/gson/JsonObject;
    • getRecipeId

      Identifier getRecipeId()
      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;
    • getSerializer

      RecipeSerializer<?> getSerializer()
      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;
    • toAdvancementJson

      @Nullable @Nullable JsonObject toAdvancementJson()
      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 @Nullable Identifier getAdvancementId()
      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;