The bug
Loot tables do not work for containers which have slots with have special requirements, e.g. only allow fuel. I expected loot tables to generate random loot for ANY storage block.
For blocks whose slots are all the same, see the respective other reports, e.g. MC-143766.
Affected blocks
brewing_stand
furnace
blast_furnace
smoker
How to reproduce
Place for example a furnace with a loot table
/setblock ~ ~ ~ minecraft:furnace{LootTable:"chests/simple_dungeon"} replace
Right click the furnace
Linked issues
Comments 15
This site is for bug reports only. For feature suggestions or changes please see: Minecraft Suggestions on Reddit.
But how do you explain minecarts with hoppers. Those dont spawn naturally but those do work. I feel like something doesnt work as it is supposed to be still.
And you may want to use dispensers or droppers in custom maps. So the reason "crafting" is not really a good reason. As above stated. MinecartHopper does work. It should work for all storage.
I have the same issue on 1.15.1 with furnaces. When using the command
loot replace block <x> <y> <z> container.2 mine <x> <y> <z> mainhand
while holding a pickaxe in the mainhand, the loot from the furnace will not appear in Slot 2. The same happens when using container.1 as the slot, but using container.0 as the slot works as expected.
I find this rather weird, because using
replaceitem block <x> <y> <z> container.2 minecraft:furnace 1
does insert a furnace inside Slot 2.
That's intended, I think
As all of the above mentioned items only are crafted, and not generated (excluding village furnace, which never contains something, jungle temple which is still hardcoded to spawn x arrows