类 BrewingRecipeRegisterEvent
java.lang.Object
net.minecraftforge.eventbus.api.Event
net.minecraftforge.event.brewing.BrewingRecipeRegisterEvent
public class BrewingRecipeRegisterEvent
extends net.minecraftforge.eventbus.api.Event
-
嵌套类概要
从类继承的嵌套类/接口 net.minecraftforge.eventbus.api.Event
net.minecraftforge.eventbus.api.Event.HasResult, net.minecraftforge.eventbus.api.Event.Result
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明void
addRecipe
(Ingredient input, Ingredient ingredient, ItemStack output) Adds a recipe to the registry.void
addRecipe
(IBrewingRecipe recipe) Adds a recipe to the registry.从类继承的方法 net.minecraftforge.eventbus.api.Event
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult
-
字段详细资料
-
builder
-
features
-
-
构造器详细资料
-
BrewingRecipeRegisterEvent
-
-
方法详细资料
-
getBuilder
-
getFeatures
-
addRecipe
Adds a recipe to the registry. Due to the nature of the brewing stand inputs that stack (a.k.a max stack size > 1) are not allowed.- 参数:
input
- The Ingredient that goes in same slots as the water bottles would.ingredient
- The Ingredient that goes in the same slot as nether wart would.output
- The ItemStack that will replace the input once the brewing is done.
-
addRecipe
Adds a recipe to the registry. Due to the nature of the brewing stand inputs that stack (a.k.a max stack size > 1) are not allowed.
-