mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-09 16:42:03 -07:00
SPIGOT-6729: Add Chunk.isEntitiesLoaded()
By: Brokkonaut <hannos17@gmx.de>
This commit is contained in:
@@ -69,6 +69,13 @@ public interface Chunk extends PersistentDataHolder {
|
|||||||
@NotNull
|
@NotNull
|
||||||
ChunkSnapshot getChunkSnapshot(boolean includeMaxblocky, boolean includeBiome, boolean includeBiomeTempRain);
|
ChunkSnapshot getChunkSnapshot(boolean includeMaxblocky, boolean includeBiome, boolean includeBiomeTempRain);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Checks if entities in this chunk are loaded.
|
||||||
|
*
|
||||||
|
* @return True if entities are loaded.
|
||||||
|
*/
|
||||||
|
boolean isEntitiesLoaded();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get a list of all entities in the chunk.
|
* Get a list of all entities in the chunk.
|
||||||
* This will force load any entities, which are not loaded.
|
* This will force load any entities, which are not loaded.
|
||||||
|
Reference in New Issue
Block a user