Merge branch 'master' into master

This commit is contained in:
Brian Fopiano
2022-02-09 13:43:50 -08:00
committed by GitHub
3 changed files with 9 additions and 3 deletions

View File

@@ -76,6 +76,8 @@ public class IrisEntitySpawn implements IRare {
int z = (c.getZ() * 16) + rng.i(15);
int h = gen.getHeight(x, z, true) - 64;
int hf = gen.getHeight(x, z, false) - 64;
//int h = gen.getHeight(x, z, true) + gen.getWorld().minHeight(); Will look into this later
//int hf = gen.getHeight(x, z, false) + gen.getWorld().minHeight();
Location l = switch(getReferenceSpawner().getGroup()) {
case NORMAL -> new Location(c.getWorld(), x, hf + 1, z);
case CAVE -> gen.getMantle().findMarkers(c.getX(), c.getZ(), MarkerMatter.CAVE_FLOOR)