mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-02 17:32:03 +01:00
SPIGOT-6729: Add Chunk.isEntitiesLoaded()
By: Brokkonaut <hannos17@gmx.de>
This commit is contained in:
parent
891608deca
commit
eb1aaf62d4
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…
Reference in a new issue