mojira.dev
MC-86654

Obsidian pillars generate all the way down to y=0

See attached screenshot.

Code analysis

The following is based on a decompiled version of MC 1.12 using mcp940.

Please link this in the description of the report.

In the method net.minecraft.world.gen.feature.WorldGenSpikes.generate() where it calculates the Y level of the spikes, it's set to 0. Which means they are gonna start from Y level 0.

for (BlockPos.MutableBlockPos blockpos$mutableblockpos : BlockPos.getAllInBoxMutable(new BlockPos(position.getX() - i, 0, position.getZ() - i), new BlockPos(position.getX() + i, this.spike.getHeight() + 10, position.getZ() + i)))

Code analysis by @unknown in this comment.

Linked issues

Attachments

Comments 65

Confirmed for 15w34a. It happens.

Relates to MC-83013 or even duplicates it (strangerwise this link was created by @unknown but somehow got removed)

[Mod] redstonehelper

Marcono1234: This one is "all obsidian towers spawn down to y=0", the other one is "obsidian towers spawn at the location the game determined for them, even if there is no floor for them to spawn on in that location".

Confirmed for 15w44b

Confirmed for 15w46a

55 more comments

Can confirm in 1.19.

can confirm for  1.17.1

sqvk, again (told you on another report) outdated versions are not of interest anymore.

Can confirm in 1.20 Release Candidate 1.

A way to fix this bug is to make end pillar generation completely data-driven. Then the starting height could be set to anything other than 0.

https://feedback.minecraft.net/hc/en-us/community/posts/29094588341773-Allow-end-obsidian-pillar-generation-to-be-customised-with-datapacks

[Mod] redstonehelper

(Unassigned)

Confirmed

Gameplay

Low

Structures, World generation

end, obsidian, pillar, y-coordinate

Minecraft 15w34a, Minecraft 15w34d, Minecraft 15w36b, Minecraft 15w40b, Minecraft 15w44b, ..., 1.20.1, 1.20.2 Release Candidate 2, 1.21, 1.21.1 Release Candidate 1, 1.21.1

Retrieved