Package net.minecraft.data
Class ShapelessRecipeBuilder
java.lang.Object
net.minecraft.data.ShapelessRecipeBuilder
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Advancement.Builder
private final int
private String
private final List<Ingredient>
private static final org.apache.logging.log4j.Logger
private final Item
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate void
ensureValid
(ResourceLocation p_200481_1_) requires
(Ingredient p_200489_1_) requires
(Ingredient p_200492_1_, int p_200492_2_) requires
(IItemProvider p_200487_1_) requires
(IItemProvider p_200491_1_, int p_200491_2_) void
save
(Consumer<IFinishedRecipe> p_200482_1_) void
save
(Consumer<IFinishedRecipe> p_200484_1_, String p_200484_2_) void
save
(Consumer<IFinishedRecipe> p_200485_1_, ResourceLocation p_200485_2_) static ShapelessRecipeBuilder
shapeless
(IItemProvider p_200486_0_) static ShapelessRecipeBuilder
shapeless
(IItemProvider p_200488_0_, int p_200488_1_) unlockedBy
(String p_200483_1_, ICriterionInstance p_200483_2_)
-
Field Details
-
LOGGER
private static final org.apache.logging.log4j.Logger LOGGER -
result
-
count
private final int count -
ingredients
-
advancement
-
group
-
-
Constructor Details
-
ShapelessRecipeBuilder
-
-
Method Details
-
shapeless
-
shapeless
-
requires
-
requires
-
requires
-
requires
-
requires
-
unlockedBy
-
group
-
save
-
save
-
save
-
ensureValid
-