public static class BlockEvent.MultiPlaceEvent extends BlockEvent.PlaceEvent
BlockEvent.block and its related methods is the block where
the placed block would exist if the placement only affected a single
block.BlockEvent.BreakEvent, BlockEvent.HarvestDropsEvent, BlockEvent.MultiPlaceEvent, BlockEvent.PlaceEventEvent.HasResult, Event.ResultblockSnapshot, itemInHand, placedAgainst, placedBlock, playerblock, blockMetadata, world, x, y, z| Constructor and Description |
|---|
BlockEvent.MultiPlaceEvent(java.util.List<BlockSnapshot> blockSnapshots,
Block placedAgainst,
EntityPlayer player) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<BlockSnapshot> |
getReplacedBlockSnapshots()
Gets a list of blocksnapshots for all blocks which were replaced by the
placement of the new blocks.
|
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setuppublic BlockEvent.MultiPlaceEvent(java.util.List<BlockSnapshot> blockSnapshots, Block placedAgainst, EntityPlayer player)
public java.util.List<BlockSnapshot> getReplacedBlockSnapshots()