mirror of
https://github.com/ViaVersion/ViaVersion.git
synced 2024-11-22 10:05:12 +01:00
Add setSections to Chunk
This commit is contained in:
parent
4ff98256f6
commit
7493c8d7b7
@ -14,7 +14,7 @@ public class BaseChunk implements Chunk {
|
||||
protected boolean ignoreOldLightData;
|
||||
protected BitSet chunkSectionBitSet;
|
||||
protected int bitmask;
|
||||
protected final ChunkSection[] sections;
|
||||
protected ChunkSection[] sections;
|
||||
protected int[] biomeData;
|
||||
protected CompoundTag heightMap;
|
||||
protected final List<CompoundTag> blockEntities;
|
||||
@ -97,6 +97,11 @@ public class BaseChunk implements Chunk {
|
||||
return sections;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setSections(ChunkSection[] sections) {
|
||||
this.sections = sections;
|
||||
}
|
||||
|
||||
@Override
|
||||
@Nullable
|
||||
public int[] getBiomeData() {
|
||||
|
@ -50,6 +50,8 @@ public interface Chunk {
|
||||
|
||||
ChunkSection[] getSections();
|
||||
|
||||
void setSections(ChunkSection[] sections);
|
||||
|
||||
@Nullable
|
||||
int[] getBiomeData();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user