mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-06-19 15:20:55 +00:00
Update to latest Gaea
This commit is contained in:
+1
-1
@@ -33,7 +33,7 @@ dependencies {
|
|||||||
compileOnly("org.spigotmc:spigot-api:1.16.2-R0.1-SNAPSHOT")
|
compileOnly("org.spigotmc:spigot-api:1.16.2-R0.1-SNAPSHOT")
|
||||||
compileOnly("org.jetbrains:annotations:20.1.0") // more recent.
|
compileOnly("org.jetbrains:annotations:20.1.0") // more recent.
|
||||||
implementation("commons-io:commons-io:2.4")
|
implementation("commons-io:commons-io:2.4")
|
||||||
compileOnly(name = "Gaea-1.13.0", group = "")
|
compileOnly(name = "Gaea-1.13.2", group = "")
|
||||||
implementation("org.apache.commons:commons-imaging:1.0-alpha2")
|
implementation("org.apache.commons:commons-imaging:1.0-alpha2")
|
||||||
compileOnly("com.sk89q.worldedit:worldedit-bukkit:7.2.0-SNAPSHOT")
|
compileOnly("com.sk89q.worldedit:worldedit-bukkit:7.2.0-SNAPSHOT")
|
||||||
implementation("org.bstats:bstats-bukkit:1.7")
|
implementation("org.bstats:bstats-bukkit:1.7")
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -32,6 +32,7 @@ import org.polydev.gaea.generation.GenerationPopulator;
|
|||||||
import org.polydev.gaea.math.ChunkInterpolator;
|
import org.polydev.gaea.math.ChunkInterpolator;
|
||||||
import org.polydev.gaea.math.FastNoiseLite;
|
import org.polydev.gaea.math.FastNoiseLite;
|
||||||
import org.polydev.gaea.population.PopulationManager;
|
import org.polydev.gaea.population.PopulationManager;
|
||||||
|
import org.polydev.gaea.profiler.WorldProfiler;
|
||||||
import org.polydev.gaea.world.palette.Palette;
|
import org.polydev.gaea.world.palette.Palette;
|
||||||
|
|
||||||
import java.io.FileNotFoundException;
|
import java.io.FileNotFoundException;
|
||||||
@@ -152,6 +153,12 @@ public class TerraChunkGenerator extends GaeaChunkGenerator {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void attachProfiler(WorldProfiler p) {
|
||||||
|
super.attachProfiler(p);
|
||||||
|
popMan.attachProfiler(p);
|
||||||
|
}
|
||||||
|
|
||||||
public static synchronized void fixChunk(Chunk c) {
|
public static synchronized void fixChunk(Chunk c) {
|
||||||
if(! (c.getWorld().getGenerator() instanceof TerraChunkGenerator)) throw new IllegalArgumentException();
|
if(! (c.getWorld().getGenerator() instanceof TerraChunkGenerator)) throw new IllegalArgumentException();
|
||||||
popMap.get(c.getWorld()).checkNeighbors(c.getX(), c.getZ(), c.getWorld());
|
popMap.get(c.getWorld()).checkNeighbors(c.getX(), c.getZ(), c.getWorld());
|
||||||
|
|||||||
@@ -8,8 +8,8 @@ spawn:
|
|||||||
bound:
|
bound:
|
||||||
min: 48
|
min: 48
|
||||||
max: 96
|
max: 96
|
||||||
width: 250
|
width: 125
|
||||||
padding: 500
|
padding: 100
|
||||||
loot:
|
loot:
|
||||||
1: arrows
|
1: arrows
|
||||||
features:
|
features:
|
||||||
@@ -18,8 +18,8 @@ features:
|
|||||||
attempts: 100
|
attempts: 100
|
||||||
in-height: 1
|
in-height: 1
|
||||||
amount:
|
amount:
|
||||||
min: 40
|
min: 60
|
||||||
max: 60
|
max: 80
|
||||||
spawnable-on:
|
spawnable-on:
|
||||||
- "minecraft:birch_planks"
|
- "minecraft:birch_planks"
|
||||||
spawnable-in:
|
spawnable-in:
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
name: "Terra"
|
name: "Terra"
|
||||||
depend: [ "Gaea" ]
|
depend: [ "Gaea" ]
|
||||||
main: "com.dfsek.terra.Terra"
|
main: "com.dfsek.terra.Terra"
|
||||||
version: "1.0.5-BETA"
|
version: "1.1.1-BETA"
|
||||||
load: "STARTUP"
|
load: "STARTUP"
|
||||||
api-version: "1.16"
|
api-version: "1.16"
|
||||||
softdepend: [ "WorldEdit" ]
|
softdepend: [ "WorldEdit" ]
|
||||||
|
|||||||
Reference in New Issue
Block a user