public class FillBucketEvent extends PlayerEvent
PlayerEvent.BreakSpeed, PlayerEvent.Clone, PlayerEvent.HarvestCheck, PlayerEvent.LoadFromFile, PlayerEvent.NameFormat, PlayerEvent.SaveToFile, PlayerEvent.StartTracking, PlayerEvent.StopTracking
LivingEvent.LivingJumpEvent, LivingEvent.LivingUpdateEvent
EntityEvent.CanUpdate, EntityEvent.EnteringChunk, EntityEvent.EntityConstructing
Event.HasResult, Event.Result
Constructor and Description |
---|
FillBucketEvent(EntityPlayer player,
ItemStack current,
World world,
RayTraceResult target) |
Modifier and Type | Method and Description |
---|---|
ItemStack |
getEmptyBucket() |
ItemStack |
getFilledBucket() |
RayTraceResult |
getTarget() |
World |
getWorld() |
void |
setFilledBucket(ItemStack bucket) |
getEntityPlayer
getEntityLiving
getEntity
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setup
public FillBucketEvent(EntityPlayer player, ItemStack current, World world, RayTraceResult target)
public ItemStack getEmptyBucket()
public World getWorld()
public RayTraceResult getTarget()
public ItemStack getFilledBucket()
public void setFilledBucket(ItemStack bucket)