mirror of
https://github.com/ViaVersion/ViaVersion.git
synced 2024-11-25 11:35:18 +01:00
Add setBitmask to Chunk
This commit is contained in:
parent
c8c54786fc
commit
3a9dd5c86d
@ -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() {
|
||||
|
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user