public class PotionBrewEvent extends Event
Modifier and Type | Class and Description |
---|---|
static class |
PotionBrewEvent.Post
PotionBrewEvent.Post is fired when a potion is brewed in the brewing stand.
|
static class |
PotionBrewEvent.Pre
PotionBrewEvent.Pre is fired before vanilla brewing takes place.
|
Event.HasResult, Event.Result
Modifier and Type | Field and Description |
---|---|
private NonNullList<ItemStack> |
stacks |
Modifier | Constructor and Description |
---|---|
protected |
PotionBrewEvent(NonNullList<ItemStack> stacks) |
Modifier and Type | Method and Description |
---|---|
ItemStack |
getItem(int index) |
int |
getLength() |
void |
setItem(int index,
ItemStack stack) |
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setup
private NonNullList<ItemStack> stacks
protected PotionBrewEvent(NonNullList<ItemStack> stacks)