Non default Terrain Heights for EndBiomeSource

This commit is contained in:
Frank 2022-06-19 22:06:34 +02:00
parent a57db4c84e
commit 6c79046ef7
5 changed files with 36 additions and 37 deletions

View file

@ -61,9 +61,10 @@ public class BetterEnd implements ModInitializer {
if (GeneratorOptions.useNewGenerator()) {
org.betterx.bclib.api.v2.generator.GeneratorOptions.setFarEndBiomes(GeneratorOptions.getIslandDistBlock());
org.betterx.bclib.api.v2.generator.GeneratorOptions.setEndLandFunction((pos) -> TerrainGenerator.isLand(
org.betterx.bclib.api.v2.generator.GeneratorOptions.setEndLandFunction((pos, height) -> TerrainGenerator.isLand(
pos.x,
pos.y
pos.y,
height
));
}