Link to blockneighbornotify
The BlockNeighborNotify Event is fired when a physics update occurs on a block. This event acts as a way for mods to detect physics updates, in the same way a BUD switch does. This event is only called on the server.
Link to event-class
You will need to cast the event in the function header as this class:
You can, of course, also import the class before and use that name then.
Event interface extensions
Link to event-interface-extensions
BlockNeighborNotify Events implement the following interfaces and are able to call all of their methods/getters/setters as well:
Link to zengetters
DescriptionIf redstone update was forced during setBlock call (0x16 to flags)
DescriptionA list of directions from the base block that updates will occur upon.