Package | Description |
---|---|
net.glowstone.chunk |
Modifier and Type | Method and Description |
---|---|
static ChunkSection |
ChunkSection.fromIdArray(byte[] types)
Creates a new unlit chunk section containing the given types.
|
static ChunkSection |
ChunkSection.fromIdArray(short[] types)
Creates a new unlit chunk section containing the given types.
|
static ChunkSection |
ChunkSection.fromNbt(CompoundTag sectionTag)
Creates a new chunk section from the given NBT blob.
|
static ChunkSection |
ChunkSection.fromStateArray(short[] types)
Creates a new unlit chunk section containing the given types.
|
ChunkSection[] |
GlowChunkSnapshot.getRawSections()
The ChunkSection array backing this snapshot.
|
ChunkSection[] |
GlowChunk.getSections()
The array of chunk sections this chunk contains, or null if it is unloaded.
|
ChunkSection |
ChunkSection.snapshot()
Take a snapshot of this section which will not reflect future changes.
|
Modifier and Type | Method and Description |
---|---|
void |
GlowChunk.initializeSections(ChunkSection[] initSections)
Initialize this chunk from the given sections.
|
Constructor and Description |
---|
GlowChunkSnapshot(int x,
int z,
org.bukkit.World world,
ChunkSection[] sections,
byte[] height,
byte[] biomes,
boolean svTemp,
boolean isSlimeChunk)
Creates a snapshot of a chunk.
|
Copyright © 2021. All rights reserved.