Package net.minecraft.data.server.recipe
Interface RecipeJsonProvider
- All Known Implementing Classes:
CookingRecipeJsonFactory.CookingRecipeJsonProvider,ShapedRecipeJsonFactory.ShapedRecipeJsonProvider,ShapelessRecipeJsonFactory.ShapelessRecipeJsonProvider,SingleItemRecipeJsonFactory.SingleItemRecipeJsonProvider,SmithingRecipeJsonFactory.SmithingRecipeJsonProvider
public interface RecipeJsonProvider
- Mappings:
Namespace Name official jnintermediary net/minecraft/class_2444named net/minecraft/data/server/recipe/RecipeJsonProvider
-
Method Summary
Modifier and Type Method Description @Nullable IdentifiergetAdvancementId()IdentifiergetRecipeId()RecipeSerializer<?>getSerializer()voidserialize(JsonObject json)@Nullable JsonObjecttoAdvancementJson()default JsonObjecttoJson()
-
Method Details
-
serialize
- Mappings:
Namespace Name Mixin selector official aLjn;a(Lcom/google/gson/JsonObject;)Vintermediary method_10416Lnet/minecraft/class_2444;method_10416(Lcom/google/gson/JsonObject;)Vnamed serializeLnet/minecraft/data/server/recipe/RecipeJsonProvider;serialize(Lcom/google/gson/JsonObject;)V
-
toJson
- Mappings:
Namespace Name Mixin selector official aLjn;a()Lcom/google/gson/JsonObject;intermediary method_17799Lnet/minecraft/class_2444;method_17799()Lcom/google/gson/JsonObject;named toJsonLnet/minecraft/data/server/recipe/RecipeJsonProvider;toJson()Lcom/google/gson/JsonObject;
-
getRecipeId
Identifier getRecipeId()- Mappings:
Namespace Name Mixin selector official bLjn;b()Lwl;intermediary method_10417Lnet/minecraft/class_2444;method_10417()Lnet/minecraft/class_2960;named getRecipeIdLnet/minecraft/data/server/recipe/RecipeJsonProvider;getRecipeId()Lnet/minecraft/util/Identifier;
-
getSerializer
RecipeSerializer<?> getSerializer()- Mappings:
Namespace Name Mixin selector official cLjn;c()Lbrk;intermediary method_17800Lnet/minecraft/class_2444;method_17800()Lnet/minecraft/class_1865;named getSerializerLnet/minecraft/data/server/recipe/RecipeJsonProvider;getSerializer()Lnet/minecraft/recipe/RecipeSerializer;
-
toAdvancementJson
- Mappings:
Namespace Name Mixin selector official dLjn;d()Lcom/google/gson/JsonObject;intermediary method_10415Lnet/minecraft/class_2444;method_10415()Lcom/google/gson/JsonObject;named toAdvancementJsonLnet/minecraft/data/server/recipe/RecipeJsonProvider;toAdvancementJson()Lcom/google/gson/JsonObject;
-
getAdvancementId
- Mappings:
Namespace Name Mixin selector official eLjn;e()Lwl;intermediary method_10418Lnet/minecraft/class_2444;method_10418()Lnet/minecraft/class_2960;named getAdvancementIdLnet/minecraft/data/server/recipe/RecipeJsonProvider;getAdvancementId()Lnet/minecraft/util/Identifier;
-