public static class BlockEvent.NeighborNotifyEvent extends BlockEvent
BlockEvent.BreakEvent, BlockEvent.CreateFluidSourceEvent, BlockEvent.CropGrowEvent, BlockEvent.EntityMultiPlaceEvent, BlockEvent.EntityPlaceEvent, BlockEvent.FarmlandTrampleEvent, BlockEvent.FluidPlaceBlockEvent, BlockEvent.HarvestDropsEvent, BlockEvent.NeighborNotifyEvent, BlockEvent.PortalSpawnEvent
Event.HasResult, Event.Result
コンストラクタと説明 |
---|
NeighborNotifyEvent(World world,
BlockPos pos,
BlockState state,
java.util.EnumSet<Direction> notifiedSides,
boolean forceRedstoneUpdate) |
修飾子とタイプ | メソッドと説明 |
---|---|
boolean |
getForceRedstoneUpdate()
Get if redstone update was forced during setBlock call (0x16 to flags)
|
java.util.EnumSet<Direction> |
getNotifiedSides()
Gets a list of directions from the base block that updates will occur upon.
|
getPos, getState, getWorld
getListenerList, getParentListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setup
public NeighborNotifyEvent(World world, BlockPos pos, BlockState state, java.util.EnumSet<Direction> notifiedSides, boolean forceRedstoneUpdate)
public java.util.EnumSet<Direction> getNotifiedSides()
public boolean getForceRedstoneUpdate()