Package | Description |
---|---|
net.glowstone | |
net.glowstone.chunk | |
net.glowstone.entity |
Modifier and Type | Method and Description |
---|---|
void |
GlowWorld.broadcastBlockChangeInRange(GlowChunk.Key chunkKey,
BlockChangeMessage message) |
GlowChunk |
GlowWorld.getChunk(GlowChunk.Key key) |
Modifier and Type | Method and Description |
---|---|
static 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 Type | Method and Description |
---|---|
Iterator<GlowChunk.Key> |
ChunkManager.ChunkLock.iterator() |
Modifier and Type | Method and Description |
---|---|
void |
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 chunk
|
void |
ChunkManager.broadcastBlockChanges(GlowChunk.Key key,
Iterable<BlockChangeMessage> messages)
Queues block change notification to all players in this chunk
|
List<BlockChangeMessage> |
ChunkManager.getBlockChanges(GlowChunk.Key key) |
GlowChunk |
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.
|
Modifier and Type | Method and Description |
---|---|
boolean |
GlowPlayer.canSeeChunk(GlowChunk.Key chunk)
Checks whether the player can see the given chunk.
|
Copyright © 2021. All rights reserved.