3
0
Mirror von https://github.com/ViaVersion/ViaVersion.git synchronisiert 2024-07-31 03:18:03 +02:00

Add setSections to Chunk

Dieser Commit ist enthalten in:
KennyTV 2021-02-11 00:00:02 +01:00
Ursprung 4ff98256f6
Commit 7493c8d7b7
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 6BE3B555EBC5982B
2 geänderte Dateien mit 8 neuen und 1 gelöschten Zeilen

Datei anzeigen

@ -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() {

Datei anzeigen

@ -50,6 +50,8 @@ public interface Chunk {
ChunkSection[] getSections();
void setSections(ChunkSection[] sections);
@Nullable
int[] getBiomeData();