示例#1
0
 private void removeChunkMeshBatch(ChunkMeshBatch batch) {
   chunkRenderers.remove(batch);
   chunkRenderersByPosition.remove(batch.getX(), batch.getY(), batch.getZ());
 }
示例#2
0
 private void addChunkMeshBatch(ChunkMeshBatch batch) {
   chunkRenderers.add(batch);
   chunkRenderersByPosition.put(batch.getX(), batch.getY(), batch.getZ(), batch);
 }