Expected behavior
When fire spreads, BlockSpreadEvent should get executed.
Observed/Actual behavior
BlockSpreadEvent does not get executed when fire spreads.
Steps/models to reproduce
Register event:
@EventHandler
public void onBlockSpread(BlockSpreadEvent event) {
Bukkit.broadcast(Component.text(event.getBlock().getType() + ""));
}
Place down blocks like planks that are burnable. Set fire to the burnable blocks and observe as the fire spreads with no message being printed.
Plugin and Datapack List
CustomPlugin
Paper version
This server is running Paper version git-Paper-381 (MC: 1.20.4) (Implementing API version 1.20.4-R0.1-SNAPSHOT) (Git: 07b956e)
You are running the latest version
Previous version: git-Paper-17 (MC: 1.20)
Other
The docs do specifically have fire spreading as an example: https://jd.papermc.io/paper/1.20/org/bukkit/event/block/BlockSpreadEvent.html
I guess if this is intended behavior, this issue would only be a "misleading doc issue" as BlockIgniteEvent seems to work as an alternative method to check for fire spreading.
Expected behavior
When fire spreads, BlockSpreadEvent should get executed.
Observed/Actual behavior
BlockSpreadEvent does not get executed when fire spreads.
Steps/models to reproduce
Register event:
Place down blocks like planks that are burnable. Set fire to the burnable blocks and observe as the fire spreads with no message being printed.
Plugin and Datapack List
CustomPlugin
Paper version
This server is running Paper version git-Paper-381 (MC: 1.20.4) (Implementing API version 1.20.4-R0.1-SNAPSHOT) (Git: 07b956e)
You are running the latest version
Previous version: git-Paper-17 (MC: 1.20)
Other
The docs do specifically have fire spreading as an example: https://jd.papermc.io/paper/1.20/org/bukkit/event/block/BlockSpreadEvent.html
I guess if this is intended behavior, this issue would only be a "misleading doc issue" as BlockIgniteEvent seems to work as an alternative method to check for fire spreading.