Uses of Class
net.glowstone.chunk.GlowChunk.Key
-
Uses of GlowChunk.Key in net.glowstone
Modifier and TypeMethodDescriptionvoid
GlowWorld.broadcastBlockChangeInRange(GlowChunk.Key chunkKey, BlockChangeMessage message)
GlowWorld.getChunk(GlowChunk.Key key)
-
Uses of GlowChunk.Key in net.glowstone.chunk
Modifier and TypeMethodDescriptionstatic GlowChunk.Key
GlowChunk.Key.of(int x, int z)
static GlowChunk.Key
GlowChunk.Key.of(long id)
static GlowChunk.Key
GlowChunk.Key.to(org.bukkit.Chunk chunk)
Modifier and TypeMethodDescriptionvoid
ChunkManager.ChunkLock.acquire(GlowChunk.Key key)
Acquires a lock on the given chunk key, if it's not already held.void
ChunkManager.broadcastBlockChange(GlowChunk.Key key, BlockChangeMessage message)
Queues block change notification to all players in this chunkvoid
ChunkManager.broadcastBlockChanges(GlowChunk.Key key, Iterable<BlockChangeMessage> messages)
Queues block change notification to all players in this chunkChunkManager.getBlockChanges(GlowChunk.Key key)
ChunkManager.getChunk(GlowChunk.Key key)
Gets a chunk object from its key, which might not yet be loaded.void
ChunkManager.ChunkLock.release(GlowChunk.Key key)
Releases a lock on the given chunk key, if it's not already held. -
Uses of GlowChunk.Key in net.glowstone.entity
Modifier and TypeMethodDescriptionboolean
GlowPlayer.canSeeChunk(GlowChunk.Key chunk)
Checks whether the player can see the given chunk.