Package net.minecraft.data.server.recipe
Class CookingRecipeJsonBuilder
java.lang.Object
net.minecraft.data.server.recipe.CookingRecipeJsonBuilder
- All Implemented Interfaces:
CraftingRecipeJsonBuilder
- Mappings:
Namespace Name official ogintermediary net/minecraft/class_2454named net/minecraft/data/server/recipe/CookingRecipeJsonBuilder
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final RecipeCategoryprivate final CookingRecipeCategoryprivate final intprivate final Map<String, AdvancementCriterion<?>> private final floatprivate final Ingredientprivate final Itemprivate final AbstractCookingRecipe.RecipeFactory<?> Fields inherited from interface net.minecraft.data.server.recipe.CraftingRecipeJsonBuilder
ROOT -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateCookingRecipeJsonBuilder(RecipeCategory category, CookingRecipeCategory cookingCategory, ItemConvertible output, Ingredient input, float experience, int cookingTime, AbstractCookingRecipe.RecipeFactory<?> recipeFactory) -
Method Summary
Modifier and TypeMethodDescriptionstatic <T extends AbstractCookingRecipe>
CookingRecipeJsonBuildercreate(Ingredient input, RecipeCategory category, ItemConvertible output, float experience, int cookingTime, RecipeSerializer<T> serializer, AbstractCookingRecipe.RecipeFactory<T> recipeFactory) static CookingRecipeJsonBuildercreateBlasting(Ingredient input, RecipeCategory category, ItemConvertible output, float experience, int cookingTime) static CookingRecipeJsonBuildercreateCampfireCooking(Ingredient input, RecipeCategory category, ItemConvertible output, float experience, int cookingTime) static CookingRecipeJsonBuildercreateSmelting(Ingredient input, RecipeCategory category, ItemConvertible output, float experience, int cookingTime) static CookingRecipeJsonBuildercreateSmoking(Ingredient input, RecipeCategory category, ItemConvertible output, float experience, int cookingTime) criterion(String string, AdvancementCriterion<?> advancementCriterion) private static CookingRecipeCategoryprivate static CookingRecipeCategorygetCookingRecipeCategory(RecipeSerializer<? extends AbstractCookingRecipe> serializer, ItemConvertible output) private static CookingRecipeCategoryvoidofferTo(RecipeExporter exporter, Identifier recipeId) private voidvalidate(Identifier recipeId) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.data.server.recipe.CraftingRecipeJsonBuilder
offerTo, offerTo
-
Field Details
-
category
- Mappings:
Namespace Name Mixin selector official bLog;b:Lob;intermediary field_40647Lnet/minecraft/class_2454;field_40647:Lnet/minecraft/class_7800;named categoryLnet/minecraft/data/server/recipe/CookingRecipeJsonBuilder;category:Lnet/minecraft/recipe/book/RecipeCategory;
-
cookingCategory
- Mappings:
Namespace Name Mixin selector official cLog;c:Lcws;intermediary field_40648Lnet/minecraft/class_2454;field_40648:Lnet/minecraft/class_7709;named cookingCategoryLnet/minecraft/data/server/recipe/CookingRecipeJsonBuilder;cookingCategory:Lnet/minecraft/recipe/book/CookingRecipeCategory;
-
output
- Mappings:
Namespace Name Mixin selector official dLog;d:Lcsu;intermediary field_11417Lnet/minecraft/class_2454;field_11417:Lnet/minecraft/class_1792;named outputLnet/minecraft/data/server/recipe/CookingRecipeJsonBuilder;output:Lnet/minecraft/item/Item;
-
input
- Mappings:
Namespace Name Mixin selector official eLog;e:Lcxa;intermediary field_11418Lnet/minecraft/class_2454;field_11418:Lnet/minecraft/class_1856;named inputLnet/minecraft/data/server/recipe/CookingRecipeJsonBuilder;input:Lnet/minecraft/recipe/Ingredient;
-
experience
private final float experience- Mappings:
Namespace Name Mixin selector official fLog;f:Fintermediary field_11414Lnet/minecraft/class_2454;field_11414:Fnamed experienceLnet/minecraft/data/server/recipe/CookingRecipeJsonBuilder;experience:F
-
cookingTime
private final int cookingTime- Mappings:
Namespace Name Mixin selector official gLog;g:Iintermediary field_11415Lnet/minecraft/class_2454;field_11415:Inamed cookingTimeLnet/minecraft/data/server/recipe/CookingRecipeJsonBuilder;cookingTime:I
-
criteria
- Mappings:
Namespace Name Mixin selector official hLog;h:Ljava/util/Map;intermediary field_46150Lnet/minecraft/class_2454;field_46150:Ljava/util/Map;named criteriaLnet/minecraft/data/server/recipe/CookingRecipeJsonBuilder;criteria:Ljava/util/Map;
-
group
- Mappings:
Namespace Name Mixin selector official iLog;i:Ljava/lang/String;intermediary field_11419Lnet/minecraft/class_2454;field_11419:Ljava/lang/String;named groupLnet/minecraft/data/server/recipe/CookingRecipeJsonBuilder;group:Ljava/lang/String;
-
recipeFactory
- Mappings:
Namespace Name Mixin selector official jLog;j:Lcwm$a;intermediary field_47504Lnet/minecraft/class_2454;field_47504:Lnet/minecraft/class_1874$class_3958;named recipeFactoryLnet/minecraft/data/server/recipe/CookingRecipeJsonBuilder;recipeFactory:Lnet/minecraft/recipe/AbstractCookingRecipe$RecipeFactory;
-
-
Constructor Details
-
CookingRecipeJsonBuilder
private CookingRecipeJsonBuilder(RecipeCategory category, CookingRecipeCategory cookingCategory, ItemConvertible output, Ingredient input, float experience, int cookingTime, AbstractCookingRecipe.RecipeFactory<?> recipeFactory) - Mappings:
Namespace Name Mixin selector official <init>Log;<init>(Lob;Lcws;Ldac;Lcxa;FILcwm$a;)Vintermediary <init>Lnet/minecraft/class_2454;<init>(Lnet/minecraft/class_7800;Lnet/minecraft/class_7709;Lnet/minecraft/class_1935;Lnet/minecraft/class_1856;FILnet/minecraft/class_1874$class_3958;)Vnamed <init>Lnet/minecraft/data/server/recipe/CookingRecipeJsonBuilder;<init>(Lnet/minecraft/recipe/book/RecipeCategory;Lnet/minecraft/recipe/book/CookingRecipeCategory;Lnet/minecraft/item/ItemConvertible;Lnet/minecraft/recipe/Ingredient;FILnet/minecraft/recipe/AbstractCookingRecipe$RecipeFactory;)V
-
-
Method Details
-
create
public static <T extends AbstractCookingRecipe> CookingRecipeJsonBuilder create(Ingredient input, RecipeCategory category, ItemConvertible output, float experience, int cookingTime, RecipeSerializer<T> serializer, AbstractCookingRecipe.RecipeFactory<T> recipeFactory) - Mappings:
Namespace Name Mixin selector official aLog;a(Lcxa;Lob;Ldac;FILcxh;Lcwm$a;)Log;intermediary method_17801Lnet/minecraft/class_2454;method_17801(Lnet/minecraft/class_1856;Lnet/minecraft/class_7800;Lnet/minecraft/class_1935;FILnet/minecraft/class_1865;Lnet/minecraft/class_1874$class_3958;)Lnet/minecraft/class_2454;named createLnet/minecraft/data/server/recipe/CookingRecipeJsonBuilder;create(Lnet/minecraft/recipe/Ingredient;Lnet/minecraft/recipe/book/RecipeCategory;Lnet/minecraft/item/ItemConvertible;FILnet/minecraft/recipe/RecipeSerializer;Lnet/minecraft/recipe/AbstractCookingRecipe$RecipeFactory;)Lnet/minecraft/data/server/recipe/CookingRecipeJsonBuilder;
-
createCampfireCooking
public static CookingRecipeJsonBuilder createCampfireCooking(Ingredient input, RecipeCategory category, ItemConvertible output, float experience, int cookingTime) - Mappings:
Namespace Name Mixin selector official aLog;a(Lcxa;Lob;Ldac;FI)Log;intermediary method_35916Lnet/minecraft/class_2454;method_35916(Lnet/minecraft/class_1856;Lnet/minecraft/class_7800;Lnet/minecraft/class_1935;FI)Lnet/minecraft/class_2454;named createCampfireCookingLnet/minecraft/data/server/recipe/CookingRecipeJsonBuilder;createCampfireCooking(Lnet/minecraft/recipe/Ingredient;Lnet/minecraft/recipe/book/RecipeCategory;Lnet/minecraft/item/ItemConvertible;FI)Lnet/minecraft/data/server/recipe/CookingRecipeJsonBuilder;
-
createBlasting
public static CookingRecipeJsonBuilder createBlasting(Ingredient input, RecipeCategory category, ItemConvertible output, float experience, int cookingTime) - Mappings:
Namespace Name Mixin selector official bLog;b(Lcxa;Lob;Ldac;FI)Log;intermediary method_10473Lnet/minecraft/class_2454;method_10473(Lnet/minecraft/class_1856;Lnet/minecraft/class_7800;Lnet/minecraft/class_1935;FI)Lnet/minecraft/class_2454;named createBlastingLnet/minecraft/data/server/recipe/CookingRecipeJsonBuilder;createBlasting(Lnet/minecraft/recipe/Ingredient;Lnet/minecraft/recipe/book/RecipeCategory;Lnet/minecraft/item/ItemConvertible;FI)Lnet/minecraft/data/server/recipe/CookingRecipeJsonBuilder;
-
createSmelting
public static CookingRecipeJsonBuilder createSmelting(Ingredient input, RecipeCategory category, ItemConvertible output, float experience, int cookingTime) - Mappings:
Namespace Name Mixin selector official cLog;c(Lcxa;Lob;Ldac;FI)Log;intermediary method_17802Lnet/minecraft/class_2454;method_17802(Lnet/minecraft/class_1856;Lnet/minecraft/class_7800;Lnet/minecraft/class_1935;FI)Lnet/minecraft/class_2454;named createSmeltingLnet/minecraft/data/server/recipe/CookingRecipeJsonBuilder;createSmelting(Lnet/minecraft/recipe/Ingredient;Lnet/minecraft/recipe/book/RecipeCategory;Lnet/minecraft/item/ItemConvertible;FI)Lnet/minecraft/data/server/recipe/CookingRecipeJsonBuilder;
-
createSmoking
public static CookingRecipeJsonBuilder createSmoking(Ingredient input, RecipeCategory category, ItemConvertible output, float experience, int cookingTime) - Mappings:
Namespace Name Mixin selector official dLog;d(Lcxa;Lob;Ldac;FI)Log;intermediary method_35918Lnet/minecraft/class_2454;method_35918(Lnet/minecraft/class_1856;Lnet/minecraft/class_7800;Lnet/minecraft/class_1935;FI)Lnet/minecraft/class_2454;named createSmokingLnet/minecraft/data/server/recipe/CookingRecipeJsonBuilder;createSmoking(Lnet/minecraft/recipe/Ingredient;Lnet/minecraft/recipe/book/RecipeCategory;Lnet/minecraft/item/ItemConvertible;FI)Lnet/minecraft/data/server/recipe/CookingRecipeJsonBuilder;
-
criterion
public CookingRecipeJsonBuilder criterion(String string, AdvancementCriterion<?> advancementCriterion) - Specified by:
criterionin interfaceCraftingRecipeJsonBuilder- Mappings:
Namespace Name Mixin selector official bLog;b(Ljava/lang/String;Lan;)Log;intermediary method_10469Lnet/minecraft/class_2454;method_10469(Ljava/lang/String;Lnet/minecraft/class_175;)Lnet/minecraft/class_2454;named criterionLnet/minecraft/data/server/recipe/CookingRecipeJsonBuilder;criterion(Ljava/lang/String;Lnet/minecraft/advancement/AdvancementCriterion;)Lnet/minecraft/data/server/recipe/CookingRecipeJsonBuilder;
-
group
- Specified by:
groupin interfaceCraftingRecipeJsonBuilder- Mappings:
Namespace Name Mixin selector official bLog;b(Ljava/lang/String;)Log;intermediary method_35917Lnet/minecraft/class_2454;method_35917(Ljava/lang/String;)Lnet/minecraft/class_2454;named groupLnet/minecraft/data/server/recipe/CookingRecipeJsonBuilder;group(Ljava/lang/String;)Lnet/minecraft/data/server/recipe/CookingRecipeJsonBuilder;
-
getOutputItem
- Specified by:
getOutputItemin interfaceCraftingRecipeJsonBuilder- Mappings:
Namespace Name Mixin selector official aLoa;a()Lcsu;intermediary method_36441Lnet/minecraft/class_5797;method_36441()Lnet/minecraft/class_1792;named getOutputItemLnet/minecraft/data/server/recipe/CraftingRecipeJsonBuilder;getOutputItem()Lnet/minecraft/item/Item;
-
offerTo
- Specified by:
offerToin interfaceCraftingRecipeJsonBuilder- Mappings:
Namespace Name Mixin selector official aLoa;a(Loc;Lakh;)Vintermediary method_17972Lnet/minecraft/class_5797;method_17972(Lnet/minecraft/class_8790;Lnet/minecraft/class_2960;)Vnamed offerToLnet/minecraft/data/server/recipe/CraftingRecipeJsonBuilder;offerTo(Lnet/minecraft/data/server/recipe/RecipeExporter;Lnet/minecraft/util/Identifier;)V
-
getSmeltingRecipeCategory
- Mappings:
Namespace Name Mixin selector official bLog;b(Ldac;)Lcws;intermediary method_46216Lnet/minecraft/class_2454;method_46216(Lnet/minecraft/class_1935;)Lnet/minecraft/class_7709;named getSmeltingRecipeCategoryLnet/minecraft/data/server/recipe/CookingRecipeJsonBuilder;getSmeltingRecipeCategory(Lnet/minecraft/item/ItemConvertible;)Lnet/minecraft/recipe/book/CookingRecipeCategory;
-
getBlastingRecipeCategory
- Mappings:
Namespace Name Mixin selector official cLog;c(Ldac;)Lcws;intermediary method_46217Lnet/minecraft/class_2454;method_46217(Lnet/minecraft/class_1935;)Lnet/minecraft/class_7709;named getBlastingRecipeCategoryLnet/minecraft/data/server/recipe/CookingRecipeJsonBuilder;getBlastingRecipeCategory(Lnet/minecraft/item/ItemConvertible;)Lnet/minecraft/recipe/book/CookingRecipeCategory;
-
getCookingRecipeCategory
private static CookingRecipeCategory getCookingRecipeCategory(RecipeSerializer<? extends AbstractCookingRecipe> serializer, ItemConvertible output) - Mappings:
Namespace Name Mixin selector official aLog;a(Lcxh;Ldac;)Lcws;intermediary method_46215Lnet/minecraft/class_2454;method_46215(Lnet/minecraft/class_1865;Lnet/minecraft/class_1935;)Lnet/minecraft/class_7709;named getCookingRecipeCategoryLnet/minecraft/data/server/recipe/CookingRecipeJsonBuilder;getCookingRecipeCategory(Lnet/minecraft/recipe/RecipeSerializer;Lnet/minecraft/item/ItemConvertible;)Lnet/minecraft/recipe/book/CookingRecipeCategory;
-
validate
- Mappings:
Namespace Name Mixin selector official aLog;a(Lakh;)Vintermediary method_10471Lnet/minecraft/class_2454;method_10471(Lnet/minecraft/class_2960;)Vnamed validateLnet/minecraft/data/server/recipe/CookingRecipeJsonBuilder;validate(Lnet/minecraft/util/Identifier;)V
-