Describe the bug
Simple. Villagers aren't giving enchanted books from trade.
To Reproduce
Steps:
1-Find a librarian villager who sells books
2-Try to trade a enchanted book
3-You will see the issue
Expected behavior
Villagers need to give enchanted books
Screenshots / Videos
I don't think you need screenshots or videos for that. Just take your one minute and test it.
Server Version
git-Paper-294
Geyser Version
Build 496
Minecraft: Bedrock Edition Version
1.16.100
Additioal Context
https://dump.geysermc.org/a4MwoEgTBY7ljt030zriRLVZFoWC4Yhv
not because of my plugins. I tested it on a clean server too.
Looks like we send an inventory packet that the server doesn't like. I'll look into this more tomorrow.
Looks like the issue here is a little deceptive. Making a custom villager with that buys emeralds for an enchanted book works fine, which one can verify by trading with this villager:
/summon villager ~ ~-2 ~ {NoAI:0b,Willing:1b,LastRestock:0,Xp:0,VillagerData:{level:1,profession:"minecraft:librarian",type:"minecraft:desert"},Offers:{Recipes:[{rewardExp:1b,maxUses:2147483647,uses:0,xp:1,priceMultiplier:1f,specialPrice:1,demand:1,buy:{id:'minecraft:emerald',Count:10b},sell:{id:'minecraft:enchanted_book',Count:1b,tag:{StoredEnchantments:[{id:'minecraft:loyalty',lvl:1s}]}}}]},Brain:{memories:{"minecraft:meeting_point":{value:{pos:[I;0,0,0],dimension:"minecraft:overworld"}},"minecraft:home":{value:{pos:[I;0,0,0],dimension:"minecraft:overworld"}},"minecraft:job_site":{value:{pos:[I;0,0,0],dimension:"minecraft:overworld"}}}}}
Rather, it's the book being an input causing the issue.
Yea, I can use commands. but how about players? I'm hosting a survival server. And they will make their own villagers ???
I'm noting down what I'm finding about this issue. Ideally I'll find the root cause of this issue instead.
Oh nice. I hope this will fix in soon ._. Good luck