Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-86654

Obsidian pillars generate all the way down to y=0

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reopened
    • Resolution: Unresolved
    • Affects Version/s: Minecraft 15w34a, Minecraft 15w34d, Minecraft 15w36b, Minecraft 15w40b, Minecraft 15w44b, Minecraft 15w46a, Minecraft 16w04a, Minecraft 16w06a, Minecraft 1.9 Pre-Release 1, Minecraft 1.9, Minecraft 1.9.1 Pre-Release 1, Minecraft 1.9.1 Pre-Release 2, Minecraft 1.9.1 Pre-Release 3, Minecraft 16w32a, Minecraft 1.11 Pre-Release 1, Minecraft 1.11, Minecraft 16w50a, Minecraft 1.11.2, Minecraft 17w06a, Minecraft 17w13a, Minecraft 1.12, Minecraft 1.12.1, Minecraft 1.12.2, Minecraft 17w45b, Minecraft 17w47a, Minecraft 17w50a, Minecraft 18w01a, Minecraft 18w02a, Minecraft 18w03b, Minecraft 18w05a, Minecraft 18w06a, Minecraft 18w08a, Minecraft 18w19b, Minecraft 18w20c, Minecraft 18w21a, Minecraft 1.13-pre1, Minecraft 1.13-pre5, Minecraft 1.13, Minecraft 18w30b, Minecraft 1.13.1, Minecraft 1.13.2, Minecraft 18w43c, Minecraft 18w48a, Minecraft 18w48b, Minecraft 18w49a, Minecraft 18w50a, Minecraft 19w14b, 1.14.4, 19w40a, 19w46a, 1.15 Pre-release 1, 1.15 Pre-release 6, 1.15
    • Fix Version/s: None
    • Confirmation Status:
      Confirmed
    • Category:
      Structures, World generation

      Description

      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 Oval in this comment.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                redstonehelper [Mod] redstonehelper
              • Votes:
                30 Vote for this issue
                Watchers:
                18 Start watching this issue

                Dates

                • Created:
                  Updated:
                  CHK: