diff --git a/core/src/main/java/com/volmit/iris/engine/object/IrisMerger.java b/core/src/main/java/com/volmit/iris/engine/object/IrisMerger.java index 667e8612c..82a658c01 100644 --- a/core/src/main/java/com/volmit/iris/engine/object/IrisMerger.java +++ b/core/src/main/java/com/volmit/iris/engine/object/IrisMerger.java @@ -74,42 +74,6 @@ public class IrisMerger { private int split = 0; -// /** -// * @param position x,z of the chunk -// * @param h copies the exact current state of the hunk. -// */ -// public void queueChunk(Position2 position, Hunk h) { -// chunks.put(new Pair<>(position, copyHunkParallel(Hunk.newHunk(h.getWidth(), h.getHeight(), h.getDepth()), Function.identity())), false); -// } -// -// /** -// * Register the chunk as completed. -// * @param position x,z of the chunk -// */ -// public void registerChunk(Position2 position, Engine engine) { -// for (Pair> pair : chunks.keySet()) { -// if (!pair.getA().equals(position)) -// return; -// if (chunks.get(pair)) -// throw new IllegalStateException("Chunk " + pair.getA() + " is already registered"); -// chunks.put(pair, true); -// queue.queue(pair); -// chunks.remove(pair); -// } -// executor(engine); -// } -// -// private void executor(Engine engine) { -// if (!lock.isLocked()) { -// lock.lock(); -// while (queue.hasNext()) { -// Pair> chunk = queue.next(); -// generateVanillaUnderground(chunk.getA().getX(), chunk.getA().getZ(), chunk.getB(), engine); -// } -// lock.unlock(); -// } -// } - /** * Merges underground from a selected chunk into the corresponding chunk in the outcome world. */