public static class BlockEvent.PlaceEvent extends BlockEvent
BlockEvent.BreakEvent, BlockEvent.HarvestDropsEvent, BlockEvent.MultiPlaceEvent, BlockEvent.PlaceEvent
Event.HasResult, Event.Result
Modifier and Type | Field and Description |
---|---|
BlockSnapshot |
blockSnapshot |
ItemStack |
itemInHand |
Block |
placedAgainst |
Block |
placedBlock |
EntityPlayer |
player |
block, blockMetadata, world, x, y, z
Constructor and Description |
---|
BlockEvent.PlaceEvent(BlockSnapshot blockSnapshot,
Block 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 Block placedBlock
public final Block placedAgainst
public BlockEvent.PlaceEvent(BlockSnapshot blockSnapshot, Block placedAgainst, EntityPlayer player)