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.CreateFluidSourceEvent, BlockEvent.CropGrowEvent, BlockEvent.HarvestDropsEvent, BlockEvent.MultiPlaceEvent, BlockEvent.NeighborNotifyEvent, BlockEvent.PlaceEventEvent.HasResult, Event.Result| Constructor and Description |
|---|
MultiPlaceEvent(java.util.List<BlockSnapshot> blockSnapshots,
IBlockState placedAgainst,
EntityPlayer player)
Deprecated.
|
MultiPlaceEvent(java.util.List<BlockSnapshot> blockSnapshots,
IBlockState placedAgainst,
EntityPlayer player,
EnumHand hand) |
| 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.
|
getBlockSnapshot, getHand, getItemInHand, getPlacedAgainst, getPlacedBlock, getPlayergetPos, getState, getWorldgetListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setup@Deprecated public MultiPlaceEvent(java.util.List<BlockSnapshot> blockSnapshots, IBlockState placedAgainst, EntityPlayer player)
public MultiPlaceEvent(java.util.List<BlockSnapshot> blockSnapshots, IBlockState placedAgainst, EntityPlayer player, EnumHand hand)
public java.util.List<BlockSnapshot> getReplacedBlockSnapshots()