mirror of
https://hub.spigotmc.org/stash/scm/spigot/bukkit.git
synced 2025-08-21 05:44:17 +00:00
SPIGOT-6729: Add Chunk.isEntitiesLoaded()
This commit is contained in:
parent
ed7bba95fc
commit
7da4c0be21
1 changed files with 7 additions and 0 deletions
|
@ -69,6 +69,13 @@ public interface Chunk extends PersistentDataHolder {
|
|||
@NotNull
|
||||
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.
|
||||
* This will force load any entities, which are not loaded.
|
||||
|
|
Loading…
Add table
Reference in a new issue