More dragon respawn fixes

This commit is contained in:
paulevsGitch 2021-05-03 23:27:22 +03:00
parent 28cd23f378
commit 20176730f9
7 changed files with 90 additions and 15 deletions

View file

@ -63,6 +63,7 @@ public class SpikeFeatureMixin {
minY = world.getChunk(x >> 4, z >> 4).getHeight(Types.WORLD_SURFACE, x & 15, z);
}
GeneratorOptions.setDirectSpikeHeight();
int maxY = minY + spike.getHeight() - 64;
if (GeneratorOptions.replacePillars() && be_radiusInRange(radius)) {