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