Package net.minecraft.data.server.recipe
Class ShapelessRecipeJsonFactory
java.lang.Object
net.minecraft.data.server.recipe.ShapelessRecipeJsonFactory
public class ShapelessRecipeJsonFactory extends Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classShapelessRecipeJsonFactory.ShapelessRecipeJsonProvider -
Field Summary
Fields Modifier and Type Field Description private Advancement.Taskbuilderprivate Stringgroupprivate List<Ingredient>inputsprivate static LoggerLOGGERprivate Itemoutputprivate intoutputCount -
Constructor Summary
Constructors Constructor Description ShapelessRecipeJsonFactory(ItemConvertible itemProvider, int outputCount) -
Method Summary
Modifier and Type Method Description static ShapelessRecipeJsonFactorycreate(ItemConvertible output)static ShapelessRecipeJsonFactorycreate(ItemConvertible output, int outputCount)ShapelessRecipeJsonFactorycriterion(String criterionName, CriterionConditions conditions)ShapelessRecipeJsonFactorygroup(String group)ShapelessRecipeJsonFactoryinput(ItemConvertible itemProvider)ShapelessRecipeJsonFactoryinput(ItemConvertible itemProvider, int size)ShapelessRecipeJsonFactoryinput(Ingredient ingredient)ShapelessRecipeJsonFactoryinput(Ingredient ingredient, int size)ShapelessRecipeJsonFactoryinput(Tag<Item> tag)voidofferTo(Consumer<RecipeJsonProvider> exporter)voidofferTo(Consumer<RecipeJsonProvider> exporter, String recipeIdStr)voidofferTo(Consumer<RecipeJsonProvider> exporter, Identifier recipeId)private voidvalidate(Identifier recipeId)