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

Leaves of Swamp world generation trees replace all non-full blocks

XMLWordPrintable

    • Confirmed
    • World generation

      The bug

      Leaves of swamp world generation trees replace all non-full blocks whereas trees place by the world generation in other biome or normally grown trees only replace certain blocks like leaves and vines.

      How to reproduce

      Seed: 2154973
      /tp -13241 69 -3493 -90 20
      

      Some fences are missing and instead replaced by leaves

      Code analysis

      Based on 1.11.2 decompiled using MCP 9.35 rc1

      The method net.minecraft.world.gen.feature.WorldGenSwamp.generate(World, Random, BlockPos) starts testing in a 3 block radius for free space starting at position.getY() + 1 + i - 2 but starts placing the leaves at position.getY() - 3 + i.

            ProfMobius ProfMobius (Thomas Guimbretiere)
            marcono1234 [Mod] Marcono1234
            Votes:
            3 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: