[Change] Use POI to find EternalPortalFrame

This commit is contained in:
Frank 2022-06-08 12:38:37 +02:00
parent 6d58f088e4
commit 8b845a0a8f
3 changed files with 53 additions and 12 deletions

View file

@ -37,6 +37,7 @@ public class BetterEnd implements ModInitializer {
EndEntities.register();
EndBiomes.register();
EndTags.register();
EndPoiTypes.register();
EndEnchantments.register();
EndPotions.register();
CraftingRecipes.register();
@ -58,7 +59,7 @@ 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(pos.x,
pos.y));
pos.y));
}
BiomeAPI.registerEndBiomeModification((biomeID, biome) -> {