public static class BlockEvent.PlaceEvent extends BlockEvent
BlockEvent.BreakEvent, BlockEvent.HarvestDropsEvent, BlockEvent.MultiPlaceEvent, BlockEvent.NeighborNotifyEvent, BlockEvent.PlaceEventEvent.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, getWorldgetListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setuppublic PlaceEvent(BlockSnapshot blockSnapshot, IBlockState placedAgainst, EntityPlayer player)
public EntityPlayer getPlayer()
public ItemStack getItemInHand()
public BlockSnapshot getBlockSnapshot()
public IBlockState getPlacedBlock()
public IBlockState getPlacedAgainst()