The Bug:
Furnaces, smokers, and blast furnaces drop their stored experience upon being broken when the block_drops game rule is set to false.
The block_drops game rule controls resource drops from blocks, including experience orbs, so ores, spawners, sculk blocks, and creaking hearts don't drop any experience when it is set to false. However, furnaces, smokers, and blast furnaces still drop their stored experience upon being broken, therefore introducing an inconsistency.
Steps to Reproduce:
Set the
block_dropsgame rule to false by using the command provided below./gamerule block_drops falseSummon a furnace with some smelted items inside of it by using the command provided below.
/setblock ~ ~ ~2 minecraft:furnace{Items:[{Slot:2b,count:64,id:"minecraft:gold_ingot"}],RecipesUsed:{"minecraft:gold_ingot_from_smelting_raw_gold":64}}Obtain a pickaxe and break the furnace.
Observe if experience orbs are dropped.
Observed Behavior:
Experience is dropped despite the block_drops game rule being set to false.
Expected Behavior:
Experience would not be dropped when the block_drops game rule is set to false.