Package net.minecraft.data.server.recipe
Class CookingRecipeJsonFactory.CookingRecipeJsonProvider
java.lang.Object
net.minecraft.data.server.recipe.CookingRecipeJsonFactory.CookingRecipeJsonProvider
- All Implemented Interfaces:
RecipeJsonProvider
- Enclosing class:
- CookingRecipeJsonFactory
public static class CookingRecipeJsonFactory.CookingRecipeJsonProvider extends Object implements RecipeJsonProvider
- Mappings:
Namespace Name official jr$a
intermediary net/minecraft/class_2454$class_2455
named net/minecraft/data/server/recipe/CookingRecipeJsonFactory$CookingRecipeJsonProvider
-
Field Summary
Fields Modifier and Type Field Description private Identifier
advancementId
private Advancement.Task
builder
private int
cookingTime
private float
experience
private String
group
private Ingredient
ingredient
private Identifier
recipeId
private Item
result
private RecipeSerializer<? extends AbstractCookingRecipe>
serializer
-
Constructor Summary
Constructors Constructor Description CookingRecipeJsonProvider(Identifier recipeId, String group, Ingredient ingredient, Item result, float experience, int cookingTime, Advancement.Task builder, Identifier advancementId, RecipeSerializer<? extends AbstractCookingRecipe> serializer)
-
Method Summary
Modifier and Type Method Description Identifier
getAdvancementId()
Identifier
getRecipeId()
RecipeSerializer<?>
getSerializer()
void
serialize(JsonObject json)
JsonObject
toAdvancementJson()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.data.server.recipe.RecipeJsonProvider
toJson
-
Field Details
-
recipeId
- Mappings:
Namespace Name Mixin selector official a
Ljr$a;a:Lwb;
intermediary field_11424
Lnet/minecraft/class_2454$class_2455;field_11424:Lnet/minecraft/class_2960;
named recipeId
Lnet/minecraft/data/server/recipe/CookingRecipeJsonFactory$CookingRecipeJsonProvider;recipeId:Lnet/minecraft/util/Identifier;
-
group
- Mappings:
Namespace Name Mixin selector official b
Ljr$a;b:Ljava/lang/String;
intermediary field_11426
Lnet/minecraft/class_2454$class_2455;field_11426:Ljava/lang/String;
named group
Lnet/minecraft/data/server/recipe/CookingRecipeJsonFactory$CookingRecipeJsonProvider;group:Ljava/lang/String;
-
ingredient
- Mappings:
Namespace Name Mixin selector official c
Ljr$a;c:Lbqk;
intermediary field_11425
Lnet/minecraft/class_2454$class_2455;field_11425:Lnet/minecraft/class_1856;
named ingredient
Lnet/minecraft/data/server/recipe/CookingRecipeJsonFactory$CookingRecipeJsonProvider;ingredient:Lnet/minecraft/recipe/Ingredient;
-
result
- Mappings:
Namespace Name Mixin selector official d
Ljr$a;d:Lbnr;
intermediary field_11428
Lnet/minecraft/class_2454$class_2455;field_11428:Lnet/minecraft/class_1792;
named result
Lnet/minecraft/data/server/recipe/CookingRecipeJsonFactory$CookingRecipeJsonProvider;result:Lnet/minecraft/item/Item;
-
experience
private final float experience- Mappings:
Namespace Name Mixin selector official e
Ljr$a;e:F
intermediary field_11421
Lnet/minecraft/class_2454$class_2455;field_11421:F
named experience
Lnet/minecraft/data/server/recipe/CookingRecipeJsonFactory$CookingRecipeJsonProvider;experience:F
-
cookingTime
private final int cookingTime- Mappings:
Namespace Name Mixin selector official f
Ljr$a;f:I
intermediary field_11422
Lnet/minecraft/class_2454$class_2455;field_11422:I
named cookingTime
Lnet/minecraft/data/server/recipe/CookingRecipeJsonFactory$CookingRecipeJsonProvider;cookingTime:I
-
builder
- Mappings:
Namespace Name Mixin selector official g
Ljr$a;g:Ly$a;
intermediary field_11423
Lnet/minecraft/class_2454$class_2455;field_11423:Lnet/minecraft/class_161$class_162;
named builder
Lnet/minecraft/data/server/recipe/CookingRecipeJsonFactory$CookingRecipeJsonProvider;builder:Lnet/minecraft/advancement/Advancement$Task;
-
advancementId
- Mappings:
Namespace Name Mixin selector official h
Ljr$a;h:Lwb;
intermediary field_11427
Lnet/minecraft/class_2454$class_2455;field_11427:Lnet/minecraft/class_2960;
named advancementId
Lnet/minecraft/data/server/recipe/CookingRecipeJsonFactory$CookingRecipeJsonProvider;advancementId:Lnet/minecraft/util/Identifier;
-
serializer
- Mappings:
Namespace Name Mixin selector official i
Ljr$a;i:Lbqp;
intermediary field_17600
Lnet/minecraft/class_2454$class_2455;field_17600:Lnet/minecraft/class_1865;
named serializer
Lnet/minecraft/data/server/recipe/CookingRecipeJsonFactory$CookingRecipeJsonProvider;serializer:Lnet/minecraft/recipe/RecipeSerializer;
-
-
Constructor Details
-
CookingRecipeJsonProvider
public CookingRecipeJsonProvider(Identifier recipeId, String group, Ingredient ingredient, Item result, float experience, int cookingTime, Advancement.Task builder, Identifier advancementId, RecipeSerializer<? extends AbstractCookingRecipe> serializer)- Mappings:
Namespace Name Mixin selector official <init>
Ljr$a;<init>(Lwb;Ljava/lang/String;Lbqk;Lbnr;FILy$a;Lwb;Lbqp;)V
intermediary <init>
Lnet/minecraft/class_2454$class_2455;<init>(Lnet/minecraft/class_2960;Ljava/lang/String;Lnet/minecraft/class_1856;Lnet/minecraft/class_1792;FILnet/minecraft/class_161$class_162;Lnet/minecraft/class_2960;Lnet/minecraft/class_1865;)V
named <init>
Lnet/minecraft/data/server/recipe/CookingRecipeJsonFactory$CookingRecipeJsonProvider;<init>(Lnet/minecraft/util/Identifier;Ljava/lang/String;Lnet/minecraft/recipe/Ingredient;Lnet/minecraft/item/Item;FILnet/minecraft/advancement/Advancement$Task;Lnet/minecraft/util/Identifier;Lnet/minecraft/recipe/RecipeSerializer;)V
-
-
Method Details
-
serialize
- Specified by:
serialize
in interfaceRecipeJsonProvider
- Mappings:
Namespace Name Mixin selector official a
Ljm;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
-
getSerializer
- Specified by:
getSerializer
in interfaceRecipeJsonProvider
- Mappings:
Namespace Name Mixin selector official c
Ljm;c()Lbqp;
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;
-
getRecipeId
- Specified by:
getRecipeId
in interfaceRecipeJsonProvider
- Mappings:
Namespace Name Mixin selector official b
Ljm;b()Lwb;
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;
-
toAdvancementJson
- Specified by:
toAdvancementJson
in interfaceRecipeJsonProvider
- Mappings:
Namespace Name Mixin selector official d
Ljm;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
- Specified by:
getAdvancementId
in interfaceRecipeJsonProvider
- Mappings:
Namespace Name Mixin selector official e
Ljm;e()Lwb;
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;
-