diff --git a/common/src/main/java/us/myles/ViaVersion/api/minecraft/chunks/BaseChunk.java b/common/src/main/java/us/myles/ViaVersion/api/minecraft/chunks/BaseChunk.java index b72e98997..8fbbebdb8 100644 --- a/common/src/main/java/us/myles/ViaVersion/api/minecraft/chunks/BaseChunk.java +++ b/common/src/main/java/us/myles/ViaVersion/api/minecraft/chunks/BaseChunk.java @@ -76,6 +76,11 @@ public class BaseChunk implements Chunk { return bitmask; } + @Override + public void setBitmask(int bitmask) { + this.bitmask = bitmask; + } + @Override @Nullable public BitSet getChunkMask() { diff --git a/common/src/main/java/us/myles/ViaVersion/api/minecraft/chunks/Chunk.java b/common/src/main/java/us/myles/ViaVersion/api/minecraft/chunks/Chunk.java index e1d92a817..d2ba3a681 100644 --- a/common/src/main/java/us/myles/ViaVersion/api/minecraft/chunks/Chunk.java +++ b/common/src/main/java/us/myles/ViaVersion/api/minecraft/chunks/Chunk.java @@ -37,6 +37,8 @@ public interface Chunk { */ int getBitmask(); + void setBitmask(int bitmask); + /** * @return chunk section bit mask, only non-null available for 1.17+ chunks * @see #getBitmask()