Interface IRecipeOutputExtension
- All Known Subinterfaces:
RecipeOutput
- All Known Implementing Classes:
ConditionalRecipeOutput
public interface IRecipeOutputExtension
Extra methods for
RecipeOutput.-
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(ResourceLocation id, Recipe<?> recipe, @Nullable AdvancementHolder advancement, ICondition... conditions) Generates a recipe with the given conditions.private RecipeOutputself()default RecipeOutputwithConditions(ICondition... conditions) Builds a wrapper around this recipe output that adds conditions to all received recipes.
-
Method Details
-
self
-
accept
void accept(ResourceLocation id, Recipe<?> recipe, @Nullable @Nullable AdvancementHolder advancement, ICondition... conditions) Generates a recipe with the given conditions. -
withConditions
Builds a wrapper around this recipe output that adds conditions to all received recipes.
-