Valid potion items can no longer be replaced in a brewing stand unless that slot is empty.
How to reproduce
Place a brewing stand
Stand inside the brewing stand’s block space
Use the
/lootcommand to insert a glass bottle in the first slot:/loot replace block ~ ~ ~ container.0 loot {type:"minecraft:generic",pools:[{rolls:1,entries:[{type:"minecraft:item",name:"minecraft:glass_bottle",weight:1}]}]}Now use a similar command to replace this item with a random potion:
/loot replace block ~ ~ ~ container.0 loot {type:"minecraft:generic",pools:[{rolls:1,entries:[{type:"minecraft:item",name:"minecraft:potion",weight:1,modifier:{type:"minecraft:set_random_potion"}}]}]}
❌ Dropped 0 items" is printed to chat, and the glass bottle remains in the slotTake out the glass bottle and re-run the command from step 4
✔ The command succeeds, and the brewing stand now has a random potion in itRepeat these two commands while standing on a chest
✔ Both succeed- the second command correctly replaces the glass bottle with a random potion
Can confirm.