Package net.minecraft.data.server.recipe
Class SingleItemRecipeJsonFactory
java.lang.Object
net.minecraft.data.server.recipe.SingleItemRecipeJsonFactory
public class SingleItemRecipeJsonFactory extends Object
- Mappings:
Namespace Name official js
intermediary net/minecraft/class_3981
named net/minecraft/data/server/recipe/SingleItemRecipeJsonFactory
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SingleItemRecipeJsonFactory.SingleItemRecipeJsonProvider
-
Field Summary
Fields Modifier and Type Field Description private Advancement.Task
builder
private int
count
private String
group
private Ingredient
input
private Item
output
private RecipeSerializer<?>
serializer
-
Constructor Summary
Constructors Constructor Description SingleItemRecipeJsonFactory(RecipeSerializer<?> serializer, Ingredient input, ItemConvertible output, int outputCount)
-
Method Summary
Modifier and Type Method Description SingleItemRecipeJsonFactory
create(String criterionName, CriterionConditions conditions)
static SingleItemRecipeJsonFactory
create(Ingredient input, ItemConvertible output)
static SingleItemRecipeJsonFactory
create(Ingredient input, ItemConvertible output, int outputCount)
void
offerTo(Consumer<RecipeJsonProvider> exporter, String recipeIdStr)
void
offerTo(Consumer<RecipeJsonProvider> exporter, Identifier recipeId)
private void
validate(Identifier recipeId)
-
Field Details
-
output
- Mappings:
Namespace Name Mixin selector official a
Ljs;a:Lbnr;
intermediary field_17690
Lnet/minecraft/class_3981;field_17690:Lnet/minecraft/class_1792;
named output
Lnet/minecraft/data/server/recipe/SingleItemRecipeJsonFactory;output:Lnet/minecraft/item/Item;
-
input
- Mappings:
Namespace Name Mixin selector official b
Ljs;b:Lbqk;
intermediary field_17691
Lnet/minecraft/class_3981;field_17691:Lnet/minecraft/class_1856;
named input
Lnet/minecraft/data/server/recipe/SingleItemRecipeJsonFactory;input:Lnet/minecraft/recipe/Ingredient;
-
count
private final int count- Mappings:
Namespace Name Mixin selector official c
Ljs;c:I
intermediary field_17692
Lnet/minecraft/class_3981;field_17692:I
named count
Lnet/minecraft/data/server/recipe/SingleItemRecipeJsonFactory;count:I
-
builder
- Mappings:
Namespace Name Mixin selector official d
Ljs;d:Ly$a;
intermediary field_17693
Lnet/minecraft/class_3981;field_17693:Lnet/minecraft/class_161$class_162;
named builder
Lnet/minecraft/data/server/recipe/SingleItemRecipeJsonFactory;builder:Lnet/minecraft/advancement/Advancement$Task;
-
group
- Mappings:
Namespace Name Mixin selector official e
Ljs;e:Ljava/lang/String;
intermediary field_17694
Lnet/minecraft/class_3981;field_17694:Ljava/lang/String;
named group
Lnet/minecraft/data/server/recipe/SingleItemRecipeJsonFactory;group:Ljava/lang/String;
-
serializer
- Mappings:
Namespace Name Mixin selector official f
Ljs;f:Lbqp;
intermediary field_17695
Lnet/minecraft/class_3981;field_17695:Lnet/minecraft/class_1865;
named serializer
Lnet/minecraft/data/server/recipe/SingleItemRecipeJsonFactory;serializer:Lnet/minecraft/recipe/RecipeSerializer;
-
-
Constructor Details
-
SingleItemRecipeJsonFactory
public SingleItemRecipeJsonFactory(RecipeSerializer<?> serializer, Ingredient input, ItemConvertible output, int outputCount)- Mappings:
Namespace Name Mixin selector official <init>
Ljs;<init>(Lbqp;Lbqk;Lbtu;I)V
intermediary <init>
Lnet/minecraft/class_3981;<init>(Lnet/minecraft/class_1865;Lnet/minecraft/class_1856;Lnet/minecraft/class_1935;I)V
named <init>
Lnet/minecraft/data/server/recipe/SingleItemRecipeJsonFactory;<init>(Lnet/minecraft/recipe/RecipeSerializer;Lnet/minecraft/recipe/Ingredient;Lnet/minecraft/item/ItemConvertible;I)V
-
-
Method Details
-
create
- Mappings:
Namespace Name Mixin selector official a
Ljs;a(Lbqk;Lbtu;)Ljs;
intermediary method_17968
Lnet/minecraft/class_3981;method_17968(Lnet/minecraft/class_1856;Lnet/minecraft/class_1935;)Lnet/minecraft/class_3981;
named create
Lnet/minecraft/data/server/recipe/SingleItemRecipeJsonFactory;create(Lnet/minecraft/recipe/Ingredient;Lnet/minecraft/item/ItemConvertible;)Lnet/minecraft/data/server/recipe/SingleItemRecipeJsonFactory;
-
create
public static SingleItemRecipeJsonFactory create(Ingredient input, ItemConvertible output, int outputCount)- Mappings:
Namespace Name Mixin selector official a
Ljs;a(Lbqk;Lbtu;I)Ljs;
intermediary method_17969
Lnet/minecraft/class_3981;method_17969(Lnet/minecraft/class_1856;Lnet/minecraft/class_1935;I)Lnet/minecraft/class_3981;
named create
Lnet/minecraft/data/server/recipe/SingleItemRecipeJsonFactory;create(Lnet/minecraft/recipe/Ingredient;Lnet/minecraft/item/ItemConvertible;I)Lnet/minecraft/data/server/recipe/SingleItemRecipeJsonFactory;
-
create
- Mappings:
Namespace Name Mixin selector official a
Ljs;a(Ljava/lang/String;Lag;)Ljs;
intermediary method_17970
Lnet/minecraft/class_3981;method_17970(Ljava/lang/String;Lnet/minecraft/class_184;)Lnet/minecraft/class_3981;
named create
Lnet/minecraft/data/server/recipe/SingleItemRecipeJsonFactory;create(Ljava/lang/String;Lnet/minecraft/advancement/criterion/CriterionConditions;)Lnet/minecraft/data/server/recipe/SingleItemRecipeJsonFactory;
-
offerTo
- Mappings:
Namespace Name Mixin selector official a
Ljs;a(Ljava/util/function/Consumer;Ljava/lang/String;)V
intermediary method_17971
Lnet/minecraft/class_3981;method_17971(Ljava/util/function/Consumer;Ljava/lang/String;)V
named offerTo
Lnet/minecraft/data/server/recipe/SingleItemRecipeJsonFactory;offerTo(Ljava/util/function/Consumer;Ljava/lang/String;)V
-
offerTo
- Mappings:
Namespace Name Mixin selector official a
Ljs;a(Ljava/util/function/Consumer;Lwb;)V
intermediary method_17972
Lnet/minecraft/class_3981;method_17972(Ljava/util/function/Consumer;Lnet/minecraft/class_2960;)V
named offerTo
Lnet/minecraft/data/server/recipe/SingleItemRecipeJsonFactory;offerTo(Ljava/util/function/Consumer;Lnet/minecraft/util/Identifier;)V
-
validate
- Mappings:
Namespace Name Mixin selector official a
Ljs;a(Lwb;)V
intermediary method_17973
Lnet/minecraft/class_3981;method_17973(Lnet/minecraft/class_2960;)V
named validate
Lnet/minecraft/data/server/recipe/SingleItemRecipeJsonFactory;validate(Lnet/minecraft/util/Identifier;)V
-