Mirror von
https://github.com/ViaVersion/ViaVersion.git
synchronisiert 2024-11-03 14:50:30 +01:00
Add setSections to Chunk
Dieser Commit ist enthalten in:
Ursprung
4ff98256f6
Commit
7493c8d7b7
@ -14,7 +14,7 @@ public class BaseChunk implements Chunk {
|
|||||||
protected boolean ignoreOldLightData;
|
protected boolean ignoreOldLightData;
|
||||||
protected BitSet chunkSectionBitSet;
|
protected BitSet chunkSectionBitSet;
|
||||||
protected int bitmask;
|
protected int bitmask;
|
||||||
protected final ChunkSection[] sections;
|
protected ChunkSection[] sections;
|
||||||
protected int[] biomeData;
|
protected int[] biomeData;
|
||||||
protected CompoundTag heightMap;
|
protected CompoundTag heightMap;
|
||||||
protected final List<CompoundTag> blockEntities;
|
protected final List<CompoundTag> blockEntities;
|
||||||
@ -97,6 +97,11 @@ public class BaseChunk implements Chunk {
|
|||||||
return sections;
|
return sections;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void setSections(ChunkSection[] sections) {
|
||||||
|
this.sections = sections;
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@Nullable
|
@Nullable
|
||||||
public int[] getBiomeData() {
|
public int[] getBiomeData() {
|
||||||
|
@ -50,6 +50,8 @@ public interface Chunk {
|
|||||||
|
|
||||||
ChunkSection[] getSections();
|
ChunkSection[] getSections();
|
||||||
|
|
||||||
|
void setSections(ChunkSection[] sections);
|
||||||
|
|
||||||
@Nullable
|
@Nullable
|
||||||
int[] getBiomeData();
|
int[] getBiomeData();
|
||||||
|
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren