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 ky
intermediary net/minecraft/class_2454
named net/minecraft/data/server/recipe/CookingRecipeJsonBuilder
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Advancement.Builder
private final int
private final float
private final Ingredient
private final Item
private final CookingRecipeSerializer<?>
Fields inherited from interface net.minecraft.data.server.recipe.CraftingRecipeJsonBuilder
field_39377
-
Constructor Summary
ModifierConstructorDescriptionprivate
CookingRecipeJsonBuilder
(ItemConvertible output, Ingredient input, float experience, int cookingTime, CookingRecipeSerializer<?> serializer) -
Method Summary
Modifier and TypeMethodDescriptionstatic CookingRecipeJsonBuilder
create
(Ingredient result, ItemConvertible ingredient, float experience, int cookingTime) static CookingRecipeJsonBuilder
create
(Ingredient ingredient, ItemConvertible result, float experience, int cookingTime, CookingRecipeSerializer<?> serializer) static CookingRecipeJsonBuilder
createBlasting
(Ingredient ingredient, ItemConvertible result, float experience, int cookingTime) static CookingRecipeJsonBuilder
createSmelting
(Ingredient ingredient, ItemConvertible result, float experience, int cookingTime) static CookingRecipeJsonBuilder
createSmoking
(Ingredient result, ItemConvertible ingredient, float experience, int cookingTime) criterion
(String string, CriterionConditions criterionConditions) void
offerTo
(Consumer<RecipeJsonProvider> exporter, Identifier recipeId) private void
validate
(Identifier recipeId) 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.CraftingRecipeJsonBuilder
offerTo, offerTo
-
Field Details
-
output
- Mappings:
Namespace Name Mixin selector official b
Lky;b:Lcat;
intermediary field_11417
Lnet/minecraft/class_2454;field_11417:Lnet/minecraft/class_1792;
named output
Lnet/minecraft/data/server/recipe/CookingRecipeJsonBuilder;output:Lnet/minecraft/item/Item;
-
input
- Mappings:
Namespace Name Mixin selector official c
Lky;c:Lcdm;
intermediary field_11418
Lnet/minecraft/class_2454;field_11418:Lnet/minecraft/class_1856;
named input
Lnet/minecraft/data/server/recipe/CookingRecipeJsonBuilder;input:Lnet/minecraft/recipe/Ingredient;
-
experience
private final float experience- Mappings:
Namespace Name Mixin selector official d
Lky;d:F
intermediary field_11414
Lnet/minecraft/class_2454;field_11414:F
named experience
Lnet/minecraft/data/server/recipe/CookingRecipeJsonBuilder;experience:F
-
cookingTime
private final int cookingTime- Mappings:
Namespace Name Mixin selector official e
Lky;e:I
intermediary field_11415
Lnet/minecraft/class_2454;field_11415:I
named cookingTime
Lnet/minecraft/data/server/recipe/CookingRecipeJsonBuilder;cookingTime:I
-
advancementBuilder
- Mappings:
Namespace Name Mixin selector official f
Lky;f:Laf$a;
intermediary field_11416
Lnet/minecraft/class_2454;field_11416:Lnet/minecraft/class_161$class_162;
named advancementBuilder
Lnet/minecraft/data/server/recipe/CookingRecipeJsonBuilder;advancementBuilder:Lnet/minecraft/advancement/Advancement$Builder;
-
group
- Mappings:
Namespace Name Mixin selector official g
Lky;g:Ljava/lang/String;
intermediary field_11419
Lnet/minecraft/class_2454;field_11419:Ljava/lang/String;
named group
Lnet/minecraft/data/server/recipe/CookingRecipeJsonBuilder;group:Ljava/lang/String;
-
serializer
- Mappings:
Namespace Name Mixin selector official h
Lky;h:Lcdy;
intermediary field_17599
Lnet/minecraft/class_2454;field_17599:Lnet/minecraft/class_3957;
named serializer
Lnet/minecraft/data/server/recipe/CookingRecipeJsonBuilder;serializer:Lnet/minecraft/recipe/CookingRecipeSerializer;
-
-
Constructor Details
-
CookingRecipeJsonBuilder
private CookingRecipeJsonBuilder(ItemConvertible output, Ingredient input, float experience, int cookingTime, CookingRecipeSerializer<?> serializer) - Mappings:
Namespace Name Mixin selector official <init>
Lky;<init>(Lcgw;Lcdm;FILcdy;)V
intermediary <init>
Lnet/minecraft/class_2454;<init>(Lnet/minecraft/class_1935;Lnet/minecraft/class_1856;FILnet/minecraft/class_3957;)V
named <init>
Lnet/minecraft/data/server/recipe/CookingRecipeJsonBuilder;<init>(Lnet/minecraft/item/ItemConvertible;Lnet/minecraft/recipe/Ingredient;FILnet/minecraft/recipe/CookingRecipeSerializer;)V
-
-
Method Details
-
create
public static CookingRecipeJsonBuilder create(Ingredient ingredient, ItemConvertible result, float experience, int cookingTime, CookingRecipeSerializer<?> serializer) - Mappings:
Namespace Name Mixin selector official a
Lky;a(Lcdm;Lcgw;FILcdy;)Lky;
intermediary method_17801
Lnet/minecraft/class_2454;method_17801(Lnet/minecraft/class_1856;Lnet/minecraft/class_1935;FILnet/minecraft/class_3957;)Lnet/minecraft/class_2454;
named create
Lnet/minecraft/data/server/recipe/CookingRecipeJsonBuilder;create(Lnet/minecraft/recipe/Ingredient;Lnet/minecraft/item/ItemConvertible;FILnet/minecraft/recipe/CookingRecipeSerializer;)Lnet/minecraft/data/server/recipe/CookingRecipeJsonBuilder;
-
create
public static CookingRecipeJsonBuilder create(Ingredient result, ItemConvertible ingredient, float experience, int cookingTime) - Mappings:
Namespace Name Mixin selector official a
Lky;a(Lcdm;Lcgw;FI)Lky;
intermediary method_35916
Lnet/minecraft/class_2454;method_35916(Lnet/minecraft/class_1856;Lnet/minecraft/class_1935;FI)Lnet/minecraft/class_2454;
named create
Lnet/minecraft/data/server/recipe/CookingRecipeJsonBuilder;create(Lnet/minecraft/recipe/Ingredient;Lnet/minecraft/item/ItemConvertible;FI)Lnet/minecraft/data/server/recipe/CookingRecipeJsonBuilder;
-
createBlasting
public static CookingRecipeJsonBuilder createBlasting(Ingredient ingredient, ItemConvertible result, float experience, int cookingTime) - Mappings:
Namespace Name Mixin selector official b
Lky;b(Lcdm;Lcgw;FI)Lky;
intermediary method_10473
Lnet/minecraft/class_2454;method_10473(Lnet/minecraft/class_1856;Lnet/minecraft/class_1935;FI)Lnet/minecraft/class_2454;
named createBlasting
Lnet/minecraft/data/server/recipe/CookingRecipeJsonBuilder;createBlasting(Lnet/minecraft/recipe/Ingredient;Lnet/minecraft/item/ItemConvertible;FI)Lnet/minecraft/data/server/recipe/CookingRecipeJsonBuilder;
-
createSmelting
public static CookingRecipeJsonBuilder createSmelting(Ingredient ingredient, ItemConvertible result, float experience, int cookingTime) - Mappings:
Namespace Name Mixin selector official c
Lky;c(Lcdm;Lcgw;FI)Lky;
intermediary method_17802
Lnet/minecraft/class_2454;method_17802(Lnet/minecraft/class_1856;Lnet/minecraft/class_1935;FI)Lnet/minecraft/class_2454;
named createSmelting
Lnet/minecraft/data/server/recipe/CookingRecipeJsonBuilder;createSmelting(Lnet/minecraft/recipe/Ingredient;Lnet/minecraft/item/ItemConvertible;FI)Lnet/minecraft/data/server/recipe/CookingRecipeJsonBuilder;
-
createSmoking
public static CookingRecipeJsonBuilder createSmoking(Ingredient result, ItemConvertible ingredient, float experience, int cookingTime) - Mappings:
Namespace Name Mixin selector official d
Lky;d(Lcdm;Lcgw;FI)Lky;
intermediary method_35918
Lnet/minecraft/class_2454;method_35918(Lnet/minecraft/class_1856;Lnet/minecraft/class_1935;FI)Lnet/minecraft/class_2454;
named createSmoking
Lnet/minecraft/data/server/recipe/CookingRecipeJsonBuilder;createSmoking(Lnet/minecraft/recipe/Ingredient;Lnet/minecraft/item/ItemConvertible;FI)Lnet/minecraft/data/server/recipe/CookingRecipeJsonBuilder;
-
criterion
- Specified by:
criterion
in interfaceCraftingRecipeJsonBuilder
- Mappings:
Namespace Name Mixin selector official b
Lky;b(Ljava/lang/String;Lan;)Lky;
intermediary method_10469
Lnet/minecraft/class_2454;method_10469(Ljava/lang/String;Lnet/minecraft/class_184;)Lnet/minecraft/class_2454;
named criterion
Lnet/minecraft/data/server/recipe/CookingRecipeJsonBuilder;criterion(Ljava/lang/String;Lnet/minecraft/advancement/criterion/CriterionConditions;)Lnet/minecraft/data/server/recipe/CookingRecipeJsonBuilder;
-
group
- Specified by:
group
in interfaceCraftingRecipeJsonBuilder
- Mappings:
Namespace Name Mixin selector official b
Lky;b(Ljava/lang/String;)Lky;
intermediary method_35917
Lnet/minecraft/class_2454;method_35917(Ljava/lang/String;)Lnet/minecraft/class_2454;
named group
Lnet/minecraft/data/server/recipe/CookingRecipeJsonBuilder;group(Ljava/lang/String;)Lnet/minecraft/data/server/recipe/CookingRecipeJsonBuilder;
-
getOutputItem
- Specified by:
getOutputItem
in interfaceCraftingRecipeJsonBuilder
- Mappings:
Namespace Name Mixin selector official a
Lku;a()Lcat;
intermediary method_36441
Lnet/minecraft/class_5797;method_36441()Lnet/minecraft/class_1792;
named getOutputItem
Lnet/minecraft/data/server/recipe/CraftingRecipeJsonBuilder;getOutputItem()Lnet/minecraft/item/Item;
-
offerTo
- Specified by:
offerTo
in interfaceCraftingRecipeJsonBuilder
- Mappings:
Namespace Name Mixin selector official a
Lku;a(Ljava/util/function/Consumer;Labb;)V
intermediary method_17972
Lnet/minecraft/class_5797;method_17972(Ljava/util/function/Consumer;Lnet/minecraft/class_2960;)V
named offerTo
Lnet/minecraft/data/server/recipe/CraftingRecipeJsonBuilder;offerTo(Ljava/util/function/Consumer;Lnet/minecraft/util/Identifier;)V
-
validate
- Mappings:
Namespace Name Mixin selector official a
Lky;a(Labb;)V
intermediary method_10471
Lnet/minecraft/class_2454;method_10471(Lnet/minecraft/class_2960;)V
named validate
Lnet/minecraft/data/server/recipe/CookingRecipeJsonBuilder;validate(Lnet/minecraft/util/Identifier;)V
-