Island feature restored (ritual)
This commit is contained in:
parent
2f701885f4
commit
023708f72f
2 changed files with 4 additions and 7 deletions
|
@ -332,7 +332,6 @@ public class EndFeatures {
|
|||
boolean hasCaves = bclbiome.getCustomData("has_caves", true) && !(bclbiome instanceof EndCaveBiome);
|
||||
if (hasCaves && !BiomeAPI.END_VOID_BIOME_PICKER.containsImmutable(id)) {
|
||||
if (Configs.BIOME_CONFIG.getBoolean(id, "hasCaves", true)) {
|
||||
// TODO replace caves with carvers
|
||||
BiomeAPI.addBiomeFeature(biome, ROUND_CAVE);
|
||||
BiomeAPI.addBiomeFeature(biome, TUNEL_CAVE);
|
||||
}
|
||||
|
@ -383,7 +382,6 @@ public class EndFeatures {
|
|||
builder.feature(ENDER_ORE);
|
||||
builder.feature(CRASHED_SHIP);
|
||||
|
||||
// TODO replace cave features with carvers
|
||||
if (hasCaves) {
|
||||
builder.feature(ROUND_CAVE);
|
||||
builder.feature(TUNEL_CAVE);
|
||||
|
|
|
@ -440,16 +440,15 @@ public class EternalRitual {
|
|||
direction = direction.getClockWise();
|
||||
}
|
||||
}
|
||||
// TODO find island feature
|
||||
/*if (targetWorld.dimension() == Level.END) {
|
||||
Features.END_ISLAND.place(
|
||||
if (targetWorld.dimension() == Level.END) {
|
||||
net.minecraft.data.worldgen.features.EndFeatures.END_ISLAND.place(
|
||||
targetWorld,
|
||||
targetWorld.getChunkSource().getGenerator(),
|
||||
new Random(basePos.asLong()),
|
||||
basePos.below()
|
||||
);
|
||||
}
|
||||
else */if (targetWorld.dimension() == Level.OVERWORLD) {
|
||||
else if (targetWorld.dimension() == Level.OVERWORLD) {
|
||||
basePos.setY(targetWorld.getChunk(basePos).getHeight(Heightmap.Types.WORLD_SURFACE, basePos.getX(), basePos.getZ()) + 1);
|
||||
}
|
||||
EndFeatures.BIOME_ISLAND
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue