diff --git a/src/main/java/com/volmit/iris/core/gui/VisionGUI.java b/src/main/java/com/volmit/iris/core/gui/VisionGUI.java index 8da3043fb..4cb5c1d04 100644 --- a/src/main/java/com/volmit/iris/core/gui/VisionGUI.java +++ b/src/main/java/com/volmit/iris/core/gui/VisionGUI.java @@ -158,6 +158,7 @@ public class VisionGUI extends JPanel implements MouseWheelListener, KeyListener if (world.hasRealWorld()) { try { engine = IrisToolbelt.access(world.realWorld()).getEngine(); + Iris.info("Updated Renderer"); return !engine.isClosed(); } catch (Throwable e) { @@ -188,7 +189,7 @@ public class VisionGUI extends JPanel implements MouseWheelListener, KeyListener BiFunction colorFunction = (d, dx) -> Color.black.getRGB(); switch (currentType) { - case BIOME, DECORATOR_LOAD, OBJECT_LOAD, LAYER_LOAD -> colorFunction = (x, z) -> engine.getComplex().getTrueBiomeStream().get(x, z).getColor(engine, currentType).getRGB(); + case BIOME, DECORATOR_LOAD, OBJECT_LOAD, LAYER_LOAD -> colorFunction = (x, z) -> engine.getComplex().getTrueBiomeStreamNoFeatures().get(x, z).getColor(engine, currentType).getRGB(); case BIOME_LAND -> colorFunction = (x, z) -> engine.getComplex().getLandBiomeStream().get(x, z).getColor(engine, currentType).getRGB(); case BIOME_SEA -> colorFunction = (x, z) -> engine.getComplex().getSeaBiomeStream().get(x, z).getColor(engine, currentType).getRGB(); case REGION -> colorFunction = (x, z) -> engine.getComplex().getRegionStream().get(x, z).getColor(engine.getComplex(), currentType).getRGB(); @@ -692,7 +693,7 @@ public class VisionGUI extends JPanel implements MouseWheelListener, KeyListener IrisComplex complex = engine.getComplex(); File r = null; switch (currentType) { - case BIOME, LAYER_LOAD, DECORATOR_LOAD, OBJECT_LOAD, HEIGHT -> r = complex.getTrueBiomeStream().get(getWorldX(hx), getWorldZ(hz)).openInVSCode(); + case BIOME, LAYER_LOAD, DECORATOR_LOAD, OBJECT_LOAD, HEIGHT -> r = complex.getTrueBiomeStreamNoFeatures().get(getWorldX(hx), getWorldZ(hz)).openInVSCode(); case BIOME_LAND -> r = complex.getLandBiomeStream().get(getWorldX(hx), getWorldZ(hz)).openInVSCode(); case BIOME_SEA -> r = complex.getSeaBiomeStream().get(getWorldX(hx), getWorldZ(hz)).openInVSCode(); case REGION -> r = complex.getRegionStream().get(getWorldX(hx), getWorldZ(hz)).openInVSCode(); diff --git a/src/main/java/com/volmit/iris/core/project/IrisProject.java b/src/main/java/com/volmit/iris/core/project/IrisProject.java index b0ea8a81c..2c584e668 100644 --- a/src/main/java/com/volmit/iris/core/project/IrisProject.java +++ b/src/main/java/com/volmit/iris/core/project/IrisProject.java @@ -169,13 +169,14 @@ public class IrisProject { } }); - J.a(() -> IrisToolbelt.createWorld() + + J.a(() -> activeProvider = (PlatformChunkGenerator) IrisToolbelt.createWorld() .seed(1337) .sender(sender) .studio(true) .name("iris/" + UUID.randomUUID()) .dimension(d.getLoadKey()) - .create()); + .create().getGenerator()); } public void close() { diff --git a/src/main/java/com/volmit/iris/engine/IrisEngine.java b/src/main/java/com/volmit/iris/engine/IrisEngine.java index 0a29bbe68..55ff8ed4b 100644 --- a/src/main/java/com/volmit/iris/engine/IrisEngine.java +++ b/src/main/java/com/volmit/iris/engine/IrisEngine.java @@ -230,7 +230,6 @@ public class IrisEngine extends BlockPopulator implements Engine { } } - public void printMetrics(CommandSender sender) { KMap totals = new KMap<>(); KMap weights = new KMap<>(); @@ -286,7 +285,6 @@ public class IrisEngine extends BlockPopulator implements Engine { } } - @Override public void close() { J.car(art);