This commit is contained in:
Jesse Boyd
2019-08-23 08:36:33 +01:00
parent 47e2226be5
commit ae89c16390
8 changed files with 139 additions and 89 deletions

View File

@ -293,6 +293,16 @@ public interface World extends Extent, Keyed, IChunkCache<IChunkGet> {
return getName().replace(" ", "_").toLowerCase(Locale.ROOT);
}
/**
* Refresh a specific chunk with a bitMask (0 = default, 65535 = all block sections)
* Note: only 0 is guaranteed to send all tiles / entities
* Note: Only 65535 is guaranteed to send all blocks
* @param chunkX
* @param chunkZ
* @param bitMask
*/
void sendChunk(final int X, final int Z, final int mask);
@Override
IChunkGet get(int x, int z);
}