Class ConditionalRecipe.Builder
java.lang.Object
net.minecraftforge.common.crafting.ConditionalRecipe.Builder
- Enclosing class:
- ConditionalRecipe
-
Field Summary
Modifier and TypeFieldDescriptionprivate @Nullable ResourceLocation
private List<ConditionalRecipe.InnerAdvancement>
private RecipeOutput
private @Nullable ICondition
private @Nullable ICondition
private List<ConditionalRecipe.InnerRecipe>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncondition
(ICondition value) mainCondition
(ICondition value) recipe
(Consumer<RecipeOutput> callable) recipe
(ResourceLocation id, Recipe<?> recipe, @Nullable AdvancementHolder advancement) void
save
(RecipeOutput out, String namespace, String path) void
save
(RecipeOutput out, ResourceLocation id)
-
Field Details
-
recipes
-
advancements
-
bouncer
-
condition
-
mainCondition
-
advancementId
-
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
mainCondition
-
condition
-
recipe
-
recipe
public ConditionalRecipe.Builder recipe(ResourceLocation id, Recipe<?> recipe, @Nullable @Nullable AdvancementHolder advancement) -
advancement
-
save
-
save
-