public class PlayerBrewedPotionEvent extends PlayerEvent
PlayerEvent.BreakSpeed, PlayerEvent.Clone, PlayerEvent.HarvestCheck, PlayerEvent.LoadFromFile, PlayerEvent.NameFormat, PlayerEvent.SaveToFile, PlayerEvent.StartTracking, PlayerEvent.StopTracking, PlayerEvent.Visibility
LivingEvent.LivingJumpEvent, LivingEvent.LivingUpdateEvent
EntityEvent.CanUpdate, EntityEvent.EnteringChunk, EntityEvent.EntityConstructing
Event.HasResult, Event.Result
Constructor and Description |
---|
PlayerBrewedPotionEvent(EntityPlayer player,
ItemStack stack) |
Modifier and Type | Method and Description |
---|---|
ItemStack |
getStack()
The ItemStack of the potion.
|
getEntityPlayer
getEntityLiving
getEntity
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setup
private final ItemStack stack
public PlayerBrewedPotionEvent(EntityPlayer player, @Nonnull ItemStack stack)
@Nonnull public ItemStack getStack()