public static class BlockEvent.PlaceEvent extends BlockEvent
BlockEvent.BreakEvent, BlockEvent.HarvestDropsEvent, BlockEvent.MultiPlaceEvent, BlockEvent.NeighborNotifyEvent, BlockEvent.PlaceEvent
Event.HasResult, Event.Result
Constructor and Description |
---|
PlaceEvent(BlockSnapshot blockSnapshot,
IBlockState placedAgainst,
EntityPlayer player) |
Modifier and Type | Method and Description |
---|---|
BlockSnapshot |
getBlockSnapshot() |
ItemStack |
getItemInHand() |
IBlockState |
getPlacedAgainst() |
IBlockState |
getPlacedBlock() |
EntityPlayer |
getPlayer() |
getPos, getState, getWorld
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setup
public PlaceEvent(BlockSnapshot blockSnapshot, IBlockState placedAgainst, EntityPlayer player)
public EntityPlayer getPlayer()
public ItemStack getItemInHand()
public BlockSnapshot getBlockSnapshot()
public IBlockState getPlacedBlock()
public IBlockState getPlacedAgainst()