public static class BlockEvent.PlaceEvent extends BlockEvent
BlockEvent.BreakEvent, BlockEvent.HarvestDropsEvent, BlockEvent.MultiPlaceEvent, BlockEvent.NeighborNotifyEvent, BlockEvent.PlaceEvent
Event.HasResult, Event.Result
Modifier and Type | Field and Description |
---|---|
BlockSnapshot |
blockSnapshot |
ItemStack |
itemInHand |
IBlockState |
placedAgainst |
IBlockState |
placedBlock |
EntityPlayer |
player |
pos, state, world
Constructor and Description |
---|
PlaceEvent(BlockSnapshot blockSnapshot,
IBlockState placedAgainst,
EntityPlayer player) |
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setup
public final EntityPlayer player
public final ItemStack itemInHand
public final BlockSnapshot blockSnapshot
public final IBlockState placedBlock
public final IBlockState placedAgainst
public PlaceEvent(BlockSnapshot blockSnapshot, IBlockState placedAgainst, EntityPlayer player)