The bug
When trading an item that has different nbt tags than the one the villager requests, it does not auto fill when clicking the trade. If you put the item in however, it does allow you to trade it.
How to reproduce
- Summon a villager that buys stone:
/summon villager ~ ~ ~ {VillagerData:{profession:farmer,level:6},Offers:{Recipes:[{buy:{id:stone,Count:1},sell:{id:emerald,Count:1}}]}}
- Ensure you have no stone in your inventory:
/clear @s stone
- Give yourself a block of stone with an NBT tag:
/give @s stone{tag:0}
- Open the villager's trading GUI and click on the stone trade
→ The stone is not inserted into the trading input slot - Manually place the stone in the trading input slot
→ You are able to complete the trade
- is duplicated by
-
MC-210040 Trading UI doesn't put renamed items into trading slots when selecting a trade
- Resolved
-
MC-221902 Lodestone Compass doesn't auto-go in when clicking on a Cartographers trade, but is still possible to trade with normally
- Resolved
- relates to
-
MC-129057 The recipe book doesn't move ingredients that have NBT data
- Resolved