diff options
Diffstat (limited to 'src/main/java/makamys/lodmod/renderer/LODChunk.java')
-rw-r--r-- | src/main/java/makamys/lodmod/renderer/LODChunk.java | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/main/java/makamys/lodmod/renderer/LODChunk.java b/src/main/java/makamys/lodmod/renderer/LODChunk.java index c9bdd5e..46467e5 100644 --- a/src/main/java/makamys/lodmod/renderer/LODChunk.java +++ b/src/main/java/makamys/lodmod/renderer/LODChunk.java @@ -12,8 +12,7 @@ import net.minecraft.world.chunk.Chunk; public class LODChunk { int x, z; - Chunk chunk; - public boolean waitingForData = false; + public boolean needsChunk = true; int lod = 0; boolean visible; @@ -127,4 +126,8 @@ public class LODChunk { LODMod.renderer.setVisible(this, false); } + public void receiveChunk(Chunk chunk) { + putSimpleMeshes(SimpleChunkMesh.generateSimpleMeshes(chunk)); + } + } |