public static class BlockEvent.EntityMultiPlaceEvent extends BlockEvent.EntityPlaceEvent
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.EntityMultiPlaceEvent, BlockEvent.EntityPlaceEvent, BlockEvent.FarmlandTrampleEvent, BlockEvent.FluidPlaceBlockEvent, BlockEvent.HarvestDropsEvent, BlockEvent.NeighborNotifyEvent, BlockEvent.PortalSpawnEvent
Event.HasResult, Event.Result
コンストラクタと説明 |
---|
EntityMultiPlaceEvent(java.util.List<BlockSnapshot> blockSnapshots,
BlockState placedAgainst,
Entity entity) |
修飾子とタイプ | メソッドと説明 |
---|---|
java.util.List<BlockSnapshot> |
getReplacedBlockSnapshots()
Gets a list of BlockSnapshots for all blocks which were replaced by the
placement of the new blocks.
|
getBlockSnapshot, getEntity, getPlacedAgainst, getPlacedBlock
getPos, getState, getWorld
getListenerList, getParentListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setup
public EntityMultiPlaceEvent(@Nonnull java.util.List<BlockSnapshot> blockSnapshots, @Nonnull BlockState placedAgainst, @Nullable Entity entity)
public java.util.List<BlockSnapshot> getReplacedBlockSnapshots()