Class InstanceChunkLoadEvent
java.lang.Object
net.minestom.server.event.instance.InstanceChunkLoadEvent
- All Implemented Interfaces:
Event
,InstanceEvent
Called when a chunk in an instance is loaded.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
InstanceChunkLoadEvent
-
-
Method Details
-
getInstance
Description copied from interface:InstanceEvent
Gets the instance.- Specified by:
getInstance
in interfaceInstanceEvent
- Returns:
- instance
-
getChunkX
public int getChunkX()Gets the chunk X.- Returns:
- the chunk X
-
getChunkZ
public int getChunkZ()Gets the chunk Z.- Returns:
- the chunk Z
-
getChunk
Gets the chunk.- Returns:
- the chunk.
-