Mojira Archive
MC-78730

Branches of large jungle trees (2 × 2) replace any block

The bug

Branches of large jungle trees (2 × 2) can replace any block and not just the normal replaceable blocks like leaves or vines.

How to reproduce

  1. Use the following commands while remaining at the same position
    /fill ~1 ~ ~1 ~8 ~25 ~8 glass hollow
    /fill ~1 ~25 ~1 ~8 ~25 ~8 air
    /fill ~4 ~ ~4 ~5 ~ ~5 grass
    /fill ~4 ~1 ~4 ~5 ~1 ~5 jungle_sapling
    /gamerule randomTickSpeed 1000
    
  2. Move around the glass box
    Some of the branches replaced glass

Note: This might require multiple tries

Code analysis

Based on 1.12 decompiled using MCP 9.40 PRE 1

The branches generation in the method net.minecraft.world.gen.feature.WorldGenMegaJungle.generate(World, Random, BlockPos) does not call the method net.minecraft.world.gen.feature.WorldGenAbstractTree.canGrowInto(Block) to test if the log blocks can be placed.

Cannot Reproduce

Marcono1234

Nicholas Germolus

2015-03-16, 12:24 AM

2020-10-21, 06:58 PM

2020-10-21, 06:58 PM

1

4

Confirmed

(Unassigned)

jungle-tree, log, tree, tree-generation

Minecraft 1.8.3, Minecraft 1.12, Minecraft 1.13.1

-