Package net.minecraft.data.server.recipe
Class CookingRecipeJsonFactory
java.lang.Object
net.minecraft.data.server.recipe.CookingRecipeJsonFactory
- Mappings:
Namespace Name official jwintermediary net/minecraft/class_2454named net/minecraft/data/server/recipe/CookingRecipeJsonFactory
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Advancement.Taskprivate intprivate floatprivate Stringprivate Ingredientprivate Itemprivate CookingRecipeSerializer<?> -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateCookingRecipeJsonFactory(ItemConvertible output, Ingredient input, float experience, int cookingTime, CookingRecipeSerializer<?> serializer) -
Method Summary
Modifier and TypeMethodDescriptionstatic CookingRecipeJsonFactorycreate(Ingredient result, ItemConvertible ingredient, float experience, int cookingTime)static CookingRecipeJsonFactorycreate(Ingredient ingredient, ItemConvertible result, float experience, int cookingTime, CookingRecipeSerializer<?> serializer)static CookingRecipeJsonFactorycreateBlasting(Ingredient ingredient, ItemConvertible result, float experience, int cookingTime)static CookingRecipeJsonFactorycreateSmelting(Ingredient ingredient, ItemConvertible result, float experience, int cookingTime)static CookingRecipeJsonFactorycreateSmoking(Ingredient result, ItemConvertible ingredient, float experience, int cookingTime)criterion(String criterionName, CriterionConditions conditions)voidofferTo(Consumer<RecipeJsonProvider> exporter)voidofferTo(Consumer<RecipeJsonProvider> exporter, String recipeIdStr)voidofferTo(Consumer<RecipeJsonProvider> exporter, Identifier recipeId)private voidvalidate(Identifier recipeId)
-
Field Details
-
output
- Mappings:
Namespace Name Mixin selector official aLjw;a:Lbpt;intermediary field_11417Lnet/minecraft/class_2454;field_11417:Lnet/minecraft/class_1792;named outputLnet/minecraft/data/server/recipe/CookingRecipeJsonFactory;output:Lnet/minecraft/item/Item;
-
input
- Mappings:
Namespace Name Mixin selector official bLjw;b:Lbsm;intermediary field_11418Lnet/minecraft/class_2454;field_11418:Lnet/minecraft/class_1856;named inputLnet/minecraft/data/server/recipe/CookingRecipeJsonFactory;input:Lnet/minecraft/recipe/Ingredient;
-
experience
private final float experience- Mappings:
Namespace Name Mixin selector official cLjw;c:Fintermediary field_11414Lnet/minecraft/class_2454;field_11414:Fnamed experienceLnet/minecraft/data/server/recipe/CookingRecipeJsonFactory;experience:F
-
cookingTime
private final int cookingTime- Mappings:
Namespace Name Mixin selector official dLjw;d:Iintermediary field_11415Lnet/minecraft/class_2454;field_11415:Inamed cookingTimeLnet/minecraft/data/server/recipe/CookingRecipeJsonFactory;cookingTime:I
-
builder
- Mappings:
Namespace Name Mixin selector official eLjw;e:Lad$a;intermediary field_11416Lnet/minecraft/class_2454;field_11416:Lnet/minecraft/class_161$class_162;named builderLnet/minecraft/data/server/recipe/CookingRecipeJsonFactory;builder:Lnet/minecraft/advancement/Advancement$Task;
-
group
- Mappings:
Namespace Name Mixin selector official fLjw;f:Ljava/lang/String;intermediary field_11419Lnet/minecraft/class_2454;field_11419:Ljava/lang/String;named groupLnet/minecraft/data/server/recipe/CookingRecipeJsonFactory;group:Ljava/lang/String;
-
serializer
- Mappings:
Namespace Name Mixin selector official gLjw;g:Lbsy;intermediary field_17599Lnet/minecraft/class_2454;field_17599:Lnet/minecraft/class_3957;named serializerLnet/minecraft/data/server/recipe/CookingRecipeJsonFactory;serializer:Lnet/minecraft/recipe/CookingRecipeSerializer;
-
-
Constructor Details
-
CookingRecipeJsonFactory
private CookingRecipeJsonFactory(ItemConvertible output, Ingredient input, float experience, int cookingTime, CookingRecipeSerializer<?> serializer)- Mappings:
Namespace Name Mixin selector official <init>Ljw;<init>(Lbvw;Lbsm;FILbsy;)Vintermediary <init>Lnet/minecraft/class_2454;<init>(Lnet/minecraft/class_1935;Lnet/minecraft/class_1856;FILnet/minecraft/class_3957;)Vnamed <init>Lnet/minecraft/data/server/recipe/CookingRecipeJsonFactory;<init>(Lnet/minecraft/item/ItemConvertible;Lnet/minecraft/recipe/Ingredient;FILnet/minecraft/recipe/CookingRecipeSerializer;)V
-
-
Method Details
-
create
public static CookingRecipeJsonFactory create(Ingredient ingredient, ItemConvertible result, float experience, int cookingTime, CookingRecipeSerializer<?> serializer)- Mappings:
Namespace Name Mixin selector official aLjw;a(Lbsm;Lbvw;FILbsy;)Ljw;intermediary method_17801Lnet/minecraft/class_2454;method_17801(Lnet/minecraft/class_1856;Lnet/minecraft/class_1935;FILnet/minecraft/class_3957;)Lnet/minecraft/class_2454;named createLnet/minecraft/data/server/recipe/CookingRecipeJsonFactory;create(Lnet/minecraft/recipe/Ingredient;Lnet/minecraft/item/ItemConvertible;FILnet/minecraft/recipe/CookingRecipeSerializer;)Lnet/minecraft/data/server/recipe/CookingRecipeJsonFactory;
-
create
public static CookingRecipeJsonFactory create(Ingredient result, ItemConvertible ingredient, float experience, int cookingTime)- Mappings:
Namespace Name Mixin selector official aLjw;a(Lbsm;Lbvw;FI)Ljw;intermediary method_35916Lnet/minecraft/class_2454;method_35916(Lnet/minecraft/class_1856;Lnet/minecraft/class_1935;FI)Lnet/minecraft/class_2454;named createLnet/minecraft/data/server/recipe/CookingRecipeJsonFactory;create(Lnet/minecraft/recipe/Ingredient;Lnet/minecraft/item/ItemConvertible;FI)Lnet/minecraft/data/server/recipe/CookingRecipeJsonFactory;
-
createBlasting
public static CookingRecipeJsonFactory createBlasting(Ingredient ingredient, ItemConvertible result, float experience, int cookingTime)- Mappings:
Namespace Name Mixin selector official bLjw;b(Lbsm;Lbvw;FI)Ljw;intermediary method_10473Lnet/minecraft/class_2454;method_10473(Lnet/minecraft/class_1856;Lnet/minecraft/class_1935;FI)Lnet/minecraft/class_2454;named createBlastingLnet/minecraft/data/server/recipe/CookingRecipeJsonFactory;createBlasting(Lnet/minecraft/recipe/Ingredient;Lnet/minecraft/item/ItemConvertible;FI)Lnet/minecraft/data/server/recipe/CookingRecipeJsonFactory;
-
createSmelting
public static CookingRecipeJsonFactory createSmelting(Ingredient ingredient, ItemConvertible result, float experience, int cookingTime)- Mappings:
Namespace Name Mixin selector official cLjw;c(Lbsm;Lbvw;FI)Ljw;intermediary method_17802Lnet/minecraft/class_2454;method_17802(Lnet/minecraft/class_1856;Lnet/minecraft/class_1935;FI)Lnet/minecraft/class_2454;named createSmeltingLnet/minecraft/data/server/recipe/CookingRecipeJsonFactory;createSmelting(Lnet/minecraft/recipe/Ingredient;Lnet/minecraft/item/ItemConvertible;FI)Lnet/minecraft/data/server/recipe/CookingRecipeJsonFactory;
-
createSmoking
public static CookingRecipeJsonFactory createSmoking(Ingredient result, ItemConvertible ingredient, float experience, int cookingTime)- Mappings:
Namespace Name Mixin selector official dLjw;d(Lbsm;Lbvw;FI)Ljw;intermediary method_35918Lnet/minecraft/class_2454;method_35918(Lnet/minecraft/class_1856;Lnet/minecraft/class_1935;FI)Lnet/minecraft/class_2454;named createSmokingLnet/minecraft/data/server/recipe/CookingRecipeJsonFactory;createSmoking(Lnet/minecraft/recipe/Ingredient;Lnet/minecraft/item/ItemConvertible;FI)Lnet/minecraft/data/server/recipe/CookingRecipeJsonFactory;
-
criterion
- Mappings:
Namespace Name Mixin selector official aLjw;a(Ljava/lang/String;Lal;)Ljw;intermediary method_10469Lnet/minecraft/class_2454;method_10469(Ljava/lang/String;Lnet/minecraft/class_184;)Lnet/minecraft/class_2454;named criterionLnet/minecraft/data/server/recipe/CookingRecipeJsonFactory;criterion(Ljava/lang/String;Lnet/minecraft/advancement/criterion/CriterionConditions;)Lnet/minecraft/data/server/recipe/CookingRecipeJsonFactory;
-
group
- Mappings:
Namespace Name Mixin selector official aLjw;a(Ljava/lang/String;)Ljw;intermediary method_35917Lnet/minecraft/class_2454;method_35917(Ljava/lang/String;)Lnet/minecraft/class_2454;named groupLnet/minecraft/data/server/recipe/CookingRecipeJsonFactory;group(Ljava/lang/String;)Lnet/minecraft/data/server/recipe/CookingRecipeJsonFactory;
-
offerTo
- Mappings:
Namespace Name Mixin selector official aLjw;a(Ljava/util/function/Consumer;)Vintermediary method_10470Lnet/minecraft/class_2454;method_10470(Ljava/util/function/Consumer;)Vnamed offerToLnet/minecraft/data/server/recipe/CookingRecipeJsonFactory;offerTo(Ljava/util/function/Consumer;)V
-
offerTo
- Mappings:
Namespace Name Mixin selector official aLjw;a(Ljava/util/function/Consumer;Ljava/lang/String;)Vintermediary method_10472Lnet/minecraft/class_2454;method_10472(Ljava/util/function/Consumer;Ljava/lang/String;)Vnamed offerToLnet/minecraft/data/server/recipe/CookingRecipeJsonFactory;offerTo(Ljava/util/function/Consumer;Ljava/lang/String;)V
-
offerTo
- Mappings:
Namespace Name Mixin selector official aLjw;a(Ljava/util/function/Consumer;Lwp;)Vintermediary method_10468Lnet/minecraft/class_2454;method_10468(Ljava/util/function/Consumer;Lnet/minecraft/class_2960;)Vnamed offerToLnet/minecraft/data/server/recipe/CookingRecipeJsonFactory;offerTo(Ljava/util/function/Consumer;Lnet/minecraft/util/Identifier;)V
-
validate
- Mappings:
Namespace Name Mixin selector official aLjw;a(Lwp;)Vintermediary method_10471Lnet/minecraft/class_2454;method_10471(Lnet/minecraft/class_2960;)Vnamed validateLnet/minecraft/data/server/recipe/CookingRecipeJsonFactory;validate(Lnet/minecraft/util/Identifier;)V
-