类 NeoForgeRecipeProvider.InterceptingRecipeOutput
java.lang.Object
net.neoforged.neoforge.common.data.internal.NeoForgeRecipeProvider.InterceptingRecipeOutput
- 所有已实现的接口:
RecipeOutput
,IRecipeOutputExtension
private static class NeoForgeRecipeProvider.InterceptingRecipeOutput
extends Object
implements RecipeOutput
-
字段概要
字段修饰符和类型字段说明private final Set
<ResourceKey<Recipe<?>>> private final HolderGetter
<Item> private final RecipeOutput
private final Map
<Item, Ingredient> -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明void
accept
(ResourceKey<Recipe<?>> id, Recipe<?> recipe, @Nullable AdvancementHolder advancement, ICondition... conditions) Generates a recipe with the given conditions.private @Nullable Ingredient
enhance
(ResourceKey<Recipe<?>> name, Ingredient vanilla) private @Nullable Recipe
<?> enhance
(ResourceKey<Recipe<?>> id, Recipe<?> vanilla) private @Nullable ShapedRecipe
enhance
(ResourceKey<Recipe<?>> id, ShapedRecipe vanilla) private @Nullable ShapelessRecipe
enhance
(ResourceKey<Recipe<?>> id, ShapelessRecipe vanilla) void
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 net.neoforged.neoforge.common.extensions.IRecipeOutputExtension
withConditions
从接口继承的方法 net.minecraft.data.recipes.RecipeOutput
accept
-
字段详细资料
-
items
-
output
-
replacements
-
specialReplacements
-
excludes
-
-
构造器详细资料
-
InterceptingRecipeOutput
-
-
方法详细资料
-
advancement
- 指定者:
advancement
在接口中RecipeOutput
-
includeRootAdvancement
public void includeRootAdvancement()- 指定者:
includeRootAdvancement
在接口中RecipeOutput
-
accept
public void accept(ResourceKey<Recipe<?>> id, Recipe<?> recipe, @Nullable @Nullable AdvancementHolder advancement, ICondition... conditions) 从接口复制的说明:IRecipeOutputExtension
Generates a recipe with the given conditions.- 指定者:
accept
在接口中IRecipeOutputExtension
-
enhance
-
enhance
@Nullable private @Nullable ShapelessRecipe enhance(ResourceKey<Recipe<?>> id, ShapelessRecipe vanilla) -
enhance
-
enhance
-