mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-18 10:12:53 +00:00
Engine modes
This commit is contained in:
parent
c99c61cc7a
commit
d891791929
@ -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 <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
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<BlockData> blocks, Hunk<Biome> biomes, boolean multicore);
|
||||
}
|
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user