Package net.minecraft.data.server.recipe
Class SingleItemRecipeJsonBuilder
java.lang.Object
net.minecraft.data.server.recipe.SingleItemRecipeJsonBuilder
- All Implemented Interfaces:
CraftingRecipeJsonBuilder
- Mappings:
Namespace Name official nd
intermediary net/minecraft/class_3981
named net/minecraft/data/server/recipe/SingleItemRecipeJsonBuilder
-
Field Summary
Modifier and TypeFieldDescriptionprivate final RecipeCategory
private final int
private final Map<String,
AdvancementCriterion<?>> private final Ingredient
private final Item
private final CuttingRecipe.RecipeFactory<?>
Fields inherited from interface net.minecraft.data.server.recipe.CraftingRecipeJsonBuilder
ROOT
-
Constructor Summary
ConstructorDescriptionSingleItemRecipeJsonBuilder
(RecipeCategory category, CuttingRecipe.RecipeFactory<?> recipeFactory, Ingredient input, ItemConvertible output, int count) -
Method Summary
Modifier and TypeMethodDescriptionstatic SingleItemRecipeJsonBuilder
createStonecutting
(Ingredient input, RecipeCategory category, ItemConvertible output) static SingleItemRecipeJsonBuilder
createStonecutting
(Ingredient input, RecipeCategory category, ItemConvertible output, int count) criterion
(String string, AdvancementCriterion<?> advancementCriterion) void
offerTo
(RecipeExporter 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
-
category
- Mappings:
Namespace Name Mixin selector official b
Lnd;b:Lmx;
intermediary field_40650
Lnet/minecraft/class_3981;field_40650:Lnet/minecraft/class_7800;
named category
Lnet/minecraft/data/server/recipe/SingleItemRecipeJsonBuilder;category:Lnet/minecraft/recipe/book/RecipeCategory;
-
output
- Mappings:
Namespace Name Mixin selector official c
Lnd;c:Lcmt;
intermediary field_17690
Lnet/minecraft/class_3981;field_17690:Lnet/minecraft/class_1792;
named output
Lnet/minecraft/data/server/recipe/SingleItemRecipeJsonBuilder;output:Lnet/minecraft/item/Item;
-
input
- Mappings:
Namespace Name Mixin selector official d
Lnd;d:Lcpz;
intermediary field_17691
Lnet/minecraft/class_3981;field_17691:Lnet/minecraft/class_1856;
named input
Lnet/minecraft/data/server/recipe/SingleItemRecipeJsonBuilder;input:Lnet/minecraft/recipe/Ingredient;
-
count
private final int count- Mappings:
Namespace Name Mixin selector official e
Lnd;e:I
intermediary field_17692
Lnet/minecraft/class_3981;field_17692:I
named count
Lnet/minecraft/data/server/recipe/SingleItemRecipeJsonBuilder;count:I
-
criteria
- Mappings:
Namespace Name Mixin selector official f
Lnd;f:Ljava/util/Map;
intermediary field_46151
Lnet/minecraft/class_3981;field_46151:Ljava/util/Map;
named criteria
Lnet/minecraft/data/server/recipe/SingleItemRecipeJsonBuilder;criteria:Ljava/util/Map;
-
group
- Mappings:
Namespace Name Mixin selector official g
Lnd;g:Ljava/lang/String;
intermediary field_17694
Lnet/minecraft/class_3981;field_17694:Ljava/lang/String;
named group
Lnet/minecraft/data/server/recipe/SingleItemRecipeJsonBuilder;group:Ljava/lang/String;
-
recipeFactory
- Mappings:
Namespace Name Mixin selector official h
Lnd;h:Lcqq$a;
intermediary field_47505
Lnet/minecraft/class_3981;field_47505:Lnet/minecraft/class_3972$class_3974;
named recipeFactory
Lnet/minecraft/data/server/recipe/SingleItemRecipeJsonBuilder;recipeFactory:Lnet/minecraft/recipe/CuttingRecipe$RecipeFactory;
-
-
Constructor Details
-
SingleItemRecipeJsonBuilder
public SingleItemRecipeJsonBuilder(RecipeCategory category, CuttingRecipe.RecipeFactory<?> recipeFactory, Ingredient input, ItemConvertible output, int count) - Mappings:
Namespace Name Mixin selector official <init>
Lnd;<init>(Lmx;Lcqq$a;Lcpz;Lcto;I)V
intermediary <init>
Lnet/minecraft/class_3981;<init>(Lnet/minecraft/class_7800;Lnet/minecraft/class_3972$class_3974;Lnet/minecraft/class_1856;Lnet/minecraft/class_1935;I)V
named <init>
Lnet/minecraft/data/server/recipe/SingleItemRecipeJsonBuilder;<init>(Lnet/minecraft/recipe/book/RecipeCategory;Lnet/minecraft/recipe/CuttingRecipe$RecipeFactory;Lnet/minecraft/recipe/Ingredient;Lnet/minecraft/item/ItemConvertible;I)V
-
-
Method Details
-
createStonecutting
public static SingleItemRecipeJsonBuilder createStonecutting(Ingredient input, RecipeCategory category, ItemConvertible output) - Mappings:
Namespace Name Mixin selector official a
Lnd;a(Lcpz;Lmx;Lcto;)Lnd;
intermediary method_17968
Lnet/minecraft/class_3981;method_17968(Lnet/minecraft/class_1856;Lnet/minecraft/class_7800;Lnet/minecraft/class_1935;)Lnet/minecraft/class_3981;
named createStonecutting
Lnet/minecraft/data/server/recipe/SingleItemRecipeJsonBuilder;createStonecutting(Lnet/minecraft/recipe/Ingredient;Lnet/minecraft/recipe/book/RecipeCategory;Lnet/minecraft/item/ItemConvertible;)Lnet/minecraft/data/server/recipe/SingleItemRecipeJsonBuilder;
-
createStonecutting
public static SingleItemRecipeJsonBuilder createStonecutting(Ingredient input, RecipeCategory category, ItemConvertible output, int count) - Mappings:
Namespace Name Mixin selector official a
Lnd;a(Lcpz;Lmx;Lcto;I)Lnd;
intermediary method_17969
Lnet/minecraft/class_3981;method_17969(Lnet/minecraft/class_1856;Lnet/minecraft/class_7800;Lnet/minecraft/class_1935;I)Lnet/minecraft/class_3981;
named createStonecutting
Lnet/minecraft/data/server/recipe/SingleItemRecipeJsonBuilder;createStonecutting(Lnet/minecraft/recipe/Ingredient;Lnet/minecraft/recipe/book/RecipeCategory;Lnet/minecraft/item/ItemConvertible;I)Lnet/minecraft/data/server/recipe/SingleItemRecipeJsonBuilder;
-
criterion
public SingleItemRecipeJsonBuilder criterion(String string, AdvancementCriterion<?> advancementCriterion) - Specified by:
criterion
in interfaceCraftingRecipeJsonBuilder
- Mappings:
Namespace Name Mixin selector official b
Lnd;b(Ljava/lang/String;Lan;)Lnd;
intermediary method_17970
Lnet/minecraft/class_3981;method_17970(Ljava/lang/String;Lnet/minecraft/class_175;)Lnet/minecraft/class_3981;
named criterion
Lnet/minecraft/data/server/recipe/SingleItemRecipeJsonBuilder;criterion(Ljava/lang/String;Lnet/minecraft/advancement/AdvancementCriterion;)Lnet/minecraft/data/server/recipe/SingleItemRecipeJsonBuilder;
-
group
- Specified by:
group
in interfaceCraftingRecipeJsonBuilder
- Mappings:
Namespace Name Mixin selector official b
Lnd;b(Ljava/lang/String;)Lnd;
intermediary method_35919
Lnet/minecraft/class_3981;method_35919(Ljava/lang/String;)Lnet/minecraft/class_3981;
named group
Lnet/minecraft/data/server/recipe/SingleItemRecipeJsonBuilder;group(Ljava/lang/String;)Lnet/minecraft/data/server/recipe/SingleItemRecipeJsonBuilder;
-
getOutputItem
- Specified by:
getOutputItem
in interfaceCraftingRecipeJsonBuilder
- Mappings:
Namespace Name Mixin selector official a
Lmw;a()Lcmt;
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
Lmw;a(Lmy;Lahg;)V
intermediary method_17972
Lnet/minecraft/class_5797;method_17972(Lnet/minecraft/class_8790;Lnet/minecraft/class_2960;)V
named offerTo
Lnet/minecraft/data/server/recipe/CraftingRecipeJsonBuilder;offerTo(Lnet/minecraft/data/server/recipe/RecipeExporter;Lnet/minecraft/util/Identifier;)V
-
validate
- Mappings:
Namespace Name Mixin selector official a
Lnd;a(Lahg;)V
intermediary method_17973
Lnet/minecraft/class_3981;method_17973(Lnet/minecraft/class_2960;)V
named validate
Lnet/minecraft/data/server/recipe/SingleItemRecipeJsonBuilder;validate(Lnet/minecraft/util/Identifier;)V
-