13
0
geforkt von Mirrors/Paper

SPIGOT-6729: Add Chunk.isEntitiesLoaded()

By: Brokkonaut <hannos17@gmx.de>
Dieser Commit ist enthalten in:
Bukkit/Spigot 2021-09-06 18:51:44 +10:00
Ursprung 891608deca
Commit eb1aaf62d4

Datei anzeigen

@ -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.