public static class BlockEvent.PlaceEvent extends BlockEvent
BlockEvent.BreakEvent, BlockEvent.HarvestDropsEvent, BlockEvent.MultiPlaceEvent, BlockEvent.PlaceEventEvent.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 |
|---|
BlockEvent.PlaceEvent(BlockSnapshot blockSnapshot,
IBlockState placedAgainst,
EntityPlayer player) |
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setuppublic final EntityPlayer player
public final ItemStack itemInHand
public final BlockSnapshot blockSnapshot
public final IBlockState placedBlock
public final IBlockState placedAgainst
public BlockEvent.PlaceEvent(BlockSnapshot blockSnapshot, IBlockState placedAgainst, EntityPlayer player)