actually implement getheight methods

This commit is contained in:
dfsek 2021-12-03 09:46:37 -07:00
parent c09231b039
commit fe57ae2471

View File

@ -152,7 +152,7 @@ public class FabricChunkGeneratorWrapper extends net.minecraft.world.gen.chunk.C
@Override
public int getWorldHeight() {
return 256; //fixme
return world.getTopY();
}
public Pool<SpawnSettings.SpawnEntry> getEntitySpawnList(Biome biome, StructureAccessor accessor, SpawnGroup group, BlockPos pos) {
@ -227,12 +227,12 @@ public class FabricChunkGeneratorWrapper extends net.minecraft.world.gen.chunk.C
@Override
public int getSeaLevel() {
return 64; //fixme
return world.getSeaLevel();
}
@Override
public int getMinimumY() {
return -64; //fixmw
return world.getBottomY();
}
@Override