接口 IRecipeOutputExtension
- 所有已知子接口:
RecipeOutput
public interface IRecipeOutputExtension
Extra methods for
RecipeOutput
.-
方法概要
修饰符和类型方法说明void
accept
(ResourceKey<Recipe<?>> key, Recipe<?> recipe, @Nullable AdvancementHolder advancement, ICondition... conditions) Generates a recipe with the given conditions.private RecipeOutput
self()
default RecipeOutput
withConditions
(ICondition... conditions) Builds a wrapper around this recipe output that adds conditions to all received recipes.
-
方法详细资料
-
self
-
accept
void accept(ResourceKey<Recipe<?>> key, 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.
-