From af667e8addb37595916fcddddc6467925b2b52c1 Mon Sep 17 00:00:00 2001 From: Adubbz Date: Sun, 14 Jan 2024 12:37:41 +1100 Subject: [PATCH] Fixed end pillar generation --- .../main/java/terrablender/mixin/MixinTheEndBiomeSource.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Common/src/main/java/terrablender/mixin/MixinTheEndBiomeSource.java b/Common/src/main/java/terrablender/mixin/MixinTheEndBiomeSource.java index fcb59ec..330ae21 100644 --- a/Common/src/main/java/terrablender/mixin/MixinTheEndBiomeSource.java +++ b/Common/src/main/java/terrablender/mixin/MixinTheEndBiomeSource.java @@ -24,6 +24,7 @@ import net.minecraft.resources.ResourceKey; import net.minecraft.util.random.WeightedEntry; import net.minecraft.world.level.biome.Biome; +import net.minecraft.world.level.biome.Biomes; import net.minecraft.world.level.biome.Climate; import net.minecraft.world.level.biome.TheEndBiomeSource; import net.minecraft.world.level.levelgen.DensityFunction; @@ -80,6 +81,7 @@ public void initializeForTerraBlender(RegistryAccess registryAccess, long seed) builder.addAll(midlands.stream().map(WeightedEntry.Wrapper::getData).toList()); builder.addAll(edge.stream().map(WeightedEntry.Wrapper::getData).toList()); builder.addAll(islands.stream().map(WeightedEntry.Wrapper::getData).toList()); + builder.add(Biomes.THE_END); Set> allBiomes = builder.build(); // Ensure all biomes are registered