Class InstanceBlockUpdateEvent
java.lang.Object
net.minestom.server.event.instance.InstanceBlockUpdateEvent
- All Implemented Interfaces:
Event,BlockEvent,InstanceEvent
Called when a block in an instance is updated.
This event is triggered when a block's state changes from its instance.
-
Constructor Details
-
InstanceBlockUpdateEvent
-
-
Method Details
-
getBlock
- Specified by:
getBlockin interfaceBlockEvent
-
getBlockPosition
- Specified by:
getBlockPositionin interfaceBlockEvent
-
getInstance
Description copied from interface:InstanceEventGets the instance.- Specified by:
getInstancein interfaceInstanceEvent- Returns:
- instance
-