Class InstanceTickEvent
java.lang.Object
net.minestom.server.event.instance.InstanceTickEvent
- All Implemented Interfaces:
- Event,- InstanceEvent
Called when an instance processes a tick.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionintGets the duration of the tick in ms.@NotNull InstanceGets the instance.
- 
Constructor Details- 
InstanceTickEvent
 
- 
- 
Method Details- 
getInstanceDescription copied from interface:InstanceEventGets the instance.- Specified by:
- getInstancein interface- InstanceEvent
- Returns:
- instance
 
- 
getDurationpublic int getDuration()Gets the duration of the tick in ms.- Returns:
- the duration
 
 
-