Mirror von
https://github.com/ViaVersion/ViaVersion.git
synchronisiert 2024-11-03 14:50:30 +01:00
Add setBitmask to Chunk
Dieser Commit ist enthalten in:
Ursprung
c8c54786fc
Commit
3a9dd5c86d
@ -76,6 +76,11 @@ public class BaseChunk implements Chunk {
|
|||||||
return bitmask;
|
return bitmask;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void setBitmask(int bitmask) {
|
||||||
|
this.bitmask = bitmask;
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@Nullable
|
@Nullable
|
||||||
public BitSet getChunkMask() {
|
public BitSet getChunkMask() {
|
||||||
|
@ -37,6 +37,8 @@ public interface Chunk {
|
|||||||
*/
|
*/
|
||||||
int getBitmask();
|
int getBitmask();
|
||||||
|
|
||||||
|
void setBitmask(int bitmask);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return chunk section bit mask, only non-null available for 1.17+ chunks
|
* @return chunk section bit mask, only non-null available for 1.17+ chunks
|
||||||
* @see #getBitmask()
|
* @see #getBitmask()
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren