public static class BlockEvent.MultiPlaceEvent extends BlockEvent.PlaceEvent
BlockEvent.state 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, playerpos, state, world| Constructor and Description |
|---|
BlockEvent.MultiPlaceEvent(java.util.List<BlockSnapshot> blockSnapshots,
IBlockState 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, IBlockState placedAgainst, EntityPlayer player)
public java.util.List<BlockSnapshot> getReplacedBlockSnapshots()