public static class BlockEvent.NeighborNotifyEvent extends BlockEvent
BlockEvent.BreakEvent, BlockEvent.CreateFluidSourceEvent, BlockEvent.CropGrowEvent, BlockEvent.HarvestDropsEvent, BlockEvent.MultiPlaceEvent, BlockEvent.NeighborNotifyEvent, BlockEvent.PlaceEventEvent.HasResult, Event.Result| Constructor and Description |
|---|
NeighborNotifyEvent(World world,
BlockPos pos,
IBlockState state,
java.util.EnumSet<EnumFacing> notifiedSides) |
| Modifier and Type | Method and Description |
|---|---|
java.util.EnumSet<EnumFacing> |
getNotifiedSides()
Gets a list of directions from the base block that updates will occur upon.
|
getPos, getState, getWorldgetListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setuppublic NeighborNotifyEvent(World world, BlockPos pos, IBlockState state, java.util.EnumSet<EnumFacing> notifiedSides)
public java.util.EnumSet<EnumFacing> getNotifiedSides()