接口 RecipeJsonProvider
-
- 所有已知实现类:
CookingRecipeJsonFactory.CookingRecipeJsonProvider,ShapedRecipeJsonFactory.ShapedRecipeJsonProvider,ShapelessRecipeJsonFactory.ShapelessRecipeJsonProvider,SingleItemRecipeJsonFactory.SingleItemRecipeJsonProvider,SmithingRecipeJsonFactory.SmithingRecipeJsonProvider
public interface RecipeJsonProvider- Mappings:
Namespace Name official jrintermediary net/minecraft/class_2444named net/minecraft/data/server/recipe/RecipeJsonProvider
-
-
方法概要
所有方法 实例方法 抽象方法 默认方法 修饰符和类型 方法 说明 @Nullable IdentifiergetAdvancementId()IdentifiergetRecipeId()RecipeSerializer<?>getSerializer()voidserialize(JsonObject json)@Nullable JsonObjecttoAdvancementJson()default JsonObjecttoJson()
-
-
-
方法详细资料
-
serialize
void serialize(JsonObject json)
- Mappings:
Namespace Name Mixin selector official aLjr;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
default JsonObject toJson()
- Mappings:
Namespace Name Mixin selector official aLjr;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 bLjr;b()Lwp;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 cLjr;c()Lbsl;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
@Nullable @Nullable JsonObject toAdvancementJson()
- Mappings:
Namespace Name Mixin selector official dLjr;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
@Nullable @Nullable Identifier getAdvancementId()
- Mappings:
Namespace Name Mixin selector official eLjr;e()Lwp;intermediary method_10418Lnet/minecraft/class_2444;method_10418()Lnet/minecraft/class_2960;named getAdvancementIdLnet/minecraft/data/server/recipe/RecipeJsonProvider;getAdvancementId()Lnet/minecraft/util/Identifier;
-
-