-
Bug
-
Resolution: Unresolved
-
None
-
Minecraft 1.10.2, Minecraft 1.11 Pre-Release 1, Minecraft 1.11, Minecraft 1.11.2, Minecraft 17w06a, Minecraft 17w16b, Minecraft 1.12, Minecraft 18w02a, Minecraft 18w07a, Minecraft 18w07b, Minecraft 18w07c, Minecraft 1.13-pre1, Minecraft 1.13, Minecraft 18w30b, Minecraft 1.13.1, 19w36a, 1.15 Pre-release 3, 1.15.2, 20w13b, 20w17a, 20w21a, 1.16 Pre-release 5, 1.16 Pre-release 8, 20w28a, 1.16.2, 1.16.4, 20w45a, 20w46a, 20w51a, 21w03a, 21w05b, 21w06a, 21w16a, 1.17, 1.17.1 Pre-release 2, 1.17.1, 21w44a, 1.18 Release Candidate 3, 22w03a, 22w15a, 22w45a, 1.19.3, 1.20 Pre-release 1, 1.20.1, 1.20.2 Pre-release 2, 23w44a, 23w45a, 24w09a, 1.21.1, 1.21.3
-
Confirmed
-
Block states
-
Low
-
Gameplay
The bug
Lava cannot light the following (otherwise flammable) blocks on fire:
- coal blocks
- hay bales
- dried kelp blocks
- small flowers
- sweet berry bushes
- scaffolding
- targets
- saplings
- azalea
- cave vines
- dripleaf
- hanging roots
- spore blossoms
- hanging signs
- pink petals
glow lichenFixed
How to reproduce
- Place lava somewhere without existing flammable blocks to spread fire to.
- Place coal blocks anywhere in, around, or above the lava, with air blocks adjacent where fire should be able to light.
- Watch the coal never burn.
- Increase the rate of fire spread 100x, using /gamerule randomTickSpeed 300, just to be sure.
Code analysis – MCP 9.35 (1.11) names
It's because lava and fire use different ways to tell if a block is flammable:
1.
Lava (net.minecraft.block.BlockStaticLiquid) decides whether to light a block on fire by consulting the block's Material, by calling net.minecraft.block.material.getCanBurn(World worldIn, BlockPos pos).
Coal is Material.ROCK, hay and dried kelp blocks are Material.GRASS, and 1-block flowers are Material.PLANTS. These materials will tell lava that those blocks cannot burn.
Incidentally, this is the only place .getCanBurn() is used.
2.
Fire (net.minecraft.block.BlockFire) decides whether to spread to a block by consulting its own hard-coded list of burnable blocks, by calling its own method .canCatchFire(IBlockAccess worldIn, BlockPos pos) – and this has nothing whatsoever to do with block material.
Coal, hay, dried kelp and the flowers are all on that list.
Incidentally also, that is the only place .canCatchFire() is used.
- is blocked by
-
MC-124521 Lava is not spreading fire
- Resolved
- is duplicated by
-
MC-257485 Not all bamboo blocks are flammable
- Resolved
- relates to
-
MC-3263 Several blocks made of wood (Signs, Ladders, Chests, Trapdoors, Doors...) won't burn
- Reopened
-
MC-234622 All blocks that can be waterlogged cannot be destroyed by flowing lava
- Open
-
MC-204973 Lava cauldron is not spreading fire on flammable blocks
- Resolved
-
MC-262459 Chiseled bookshelves do not burn even though they can be used as fuel in furnace
- Resolved