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:
getBlock
in interfaceBlockEvent
-
getBlockPosition
- Specified by:
getBlockPosition
in interfaceBlockEvent
-
getInstance
Description copied from interface:InstanceEvent
Gets the instance.- Specified by:
getInstance
in interfaceInstanceEvent
- Returns:
- instance
-