diff --git a/src/main/java/com/volmit/iris/engine/framework/EngineMode.java b/src/main/java/com/volmit/iris/engine/framework/EngineMode.java new file mode 100644 index 000000000..5f59b1090 --- /dev/null +++ b/src/main/java/com/volmit/iris/engine/framework/EngineMode.java @@ -0,0 +1,33 @@ +/* + * Iris is a World Generator for Minecraft Bukkit Servers + * Copyright (c) 2021 Arcane Arts (Volmit Software) + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +package com.volmit.iris.engine.framework; + +import com.volmit.iris.util.documentation.BlockCoordinates; +import com.volmit.iris.util.hunk.Hunk; +import org.bukkit.block.Biome; +import org.bukkit.block.data.BlockData; + +public interface EngineMode { + void close(); + + Engine getEngine(); + + @BlockCoordinates + void generate(int x, int z, Hunk blocks, Hunk biomes, boolean multicore); +} diff --git a/src/main/java/com/volmit/iris/engine/framework/SeedManager.java b/src/main/java/com/volmit/iris/engine/framework/SeedManager.java index d4051b5fe..66a146895 100644 --- a/src/main/java/com/volmit/iris/engine/framework/SeedManager.java +++ b/src/main/java/com/volmit/iris/engine/framework/SeedManager.java @@ -51,6 +51,7 @@ public class SeedManager { private final long deposit; private final long post; private final long bodies; + private final long mode; @Setter(AccessLevel.NONE) private long fullMixedSeed; @@ -75,6 +76,7 @@ public class SeedManager { deposit = of("deposit"); post = of("post"); bodies = of("bodies"); + mode = of("mode"); } private long of(String name) {