mojira.dev
MC-137713

Bubble columns are not turning to stone when in contact with flowing lava

The bug

Bubble columns are not turning into stone when in contact with flowing lava.

How to reproduce

  1. Put a 3x3 area of magma blocks under some water.

  2. Empty a lava bucket 2 blocks above the water level, at a corner.
    → ❌  Bubble columns do not turn into stone, instead the lava flows over it

Code analysis

Code analysis by @unknown can be found in this comment.

Linked issues

Attachments

Comments 13

Patrick Litton

Confirmed for 1.16.1

Can confirm in 21w03a.

Can confirm in 21w05b.

Can confirm in 21w06a.

Can confirm in 1.16.5 and 21w08b.

3 more comments

I can confirm this in 1.18.1. Here's a code analysis regarding this issue.

Code Analysis:

The following is based on a decompiled version of Minecraft 1.18.1 using MCP-Reborn.

net.minecraft.world.level.material.LavaFluid.java

public abstract class LavaFluid extends FlowingFluid {
   ...
   protected void spreadTo(LevelAccessor $la, BlockPos $bp, BlockState $bs, Direction $d, FluidState $fs) {
      if ($d == Direction.DOWN) {
         FluidState fluidstate = $la.getFluidState($bp);
         if (this.is(FluidTags.LAVA) && fluidstate.is(FluidTags.WATER)) {
            if ($bs.getBlock() instanceof LiquidBlock) {
               $la.setBlock($bp, Blocks.STONE.defaultBlockState(), 3);
            }

            this.fizz($la, $bp);
            return;
         }
      }

      super.spreadTo($la, $bp, $bs, $d, $fs);
   }
   ...

If we look at the above class, we can see that no checks are carried out to see whether or not the block below lava is a bubble column block. The only check that is in place is to see whether or not the block below lava is water. This is evident through the following piece of code:

if ($bs.getBlock() instanceof LiquidBlock) {
   $la.setBlock($bp, Blocks.STONE.defaultBlockState(), 3);
}

Can confirm in 1.18.2.

Can confirm in 1.19.1 Release Candidate 1.

Can confirm in 1.19.2.

Can confirm in 1.20.6

GatoGamer887

(Unassigned)

Confirmed

Block states

bubble_column, conversion, lava, stone

Minecraft 18w43b, Minecraft 18w43c, Minecraft 18w48a, Minecraft 18w48b, Minecraft 18w49a, ..., 1.21.1, 24w37a, 1.21.4, 25w03a, 25w05a

Retrieved