Added 4 different spawning options, and spawning height max and mins to natural spawn entries.

This commit is contained in:
Luis C.M committed 2022-06-29 03:36:52 -05:00
1 parent 7d0b124422
commit 4094f3e851
8 files changed
+177 -32

No files matched your search

@@ -192,7 +192,7 @@ public class SpawnController implements INaturalSpawnsHandler {
return map;
}
public void saveAllData() {
public void save() {
for (SpawnData spawn : this.data) {
if (spawn.id < 0) {
spawn.id = getUnusedId();
@@ -216,4 +216,8 @@ public class SpawnController implements INaturalSpawnsHandler {
public INaturalSpawn[] getSpawns(String biome) {
return getSpawnList(biome).toArray(new INaturalSpawn[]{});
}
public INaturalSpawn createSpawn() {
return new SpawnData();
}
}