The bug
Bubble columns are not turning into stone when in contact with flowing lava.
How to reproduce
Put a 3x3 area of magma blocks under some water.
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
is duplicated by 8
Attachments
Comments 13
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);
}
Confirmed for 1.16.1