Mojira Archive
MC-132938

Villagers don't accept datapack tags within "buy" recipes nbt

The bug

Villager's won't accept data tags within the "buy" nbt.

How to reproduce

Use a command such as this on a villager:

/data merge entity @e[type=minecraft:villager,limit=1,sort=nearest] {Offers:{Recipes: [{
    maxUses: 7, 
    buy: {id: "#minecraft:logs", Count: 1b}, 
    sell: {id: "minecraft:emerald", Count: 1b}, 
    uses: 0, 
    rewardExp: 1b
}]}

→ The villager should accept anything within the #minecraft:logs data tag, but denies any of them.

Invalid

MukiTanuki

2018-07-07, 01:36 AM

2018-07-13, 11:21 PM

2018-07-13, 11:20 PM

2

3

Community Consensus

buy, datapack, datapack-tag, tags, villager

Minecraft 1.13-pre6, Minecraft 1.13-pre7, Minecraft 1.13-pre8

-