예제 #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);
 }