Add setBitmask to Chunk

This commit is contained in:
KennyTV 2021-01-20 18:24:43 +01:00
parent c8c54786fc
commit 3a9dd5c86d
No known key found for this signature in database
GPG Key ID: 6BE3B555EBC5982B
2 changed files with 7 additions and 0 deletions

View File

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

View File

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