
Possibility to cycle trades from summoned villager with custom trades
moonarts opened this issue ยท 3 comments
Bug description
You can cycle trades once on a summoned villager with custom trades.
The cycling option shouldn't be possible on villagers with custom trades, you can't prevent players on a server to mess up your custom villagers.
Minecraft version
1.20.1
Mod version
1.0.7
Mod loader and version
Fabric Loader 0.15.10
Steps to reproduce
-
Summon a villager with custom trades : /summon villager ~ ~1 ~ {VillagerData:{profession:fisherman,level:5,type:plains},Invulnerable:1,PersistenceRequired:1,CustomName:""Didier"",Offers:{Recipes:[
{buy:{id:cooked_cod,Count:10},sell:{id:emerald,Count:1}},
{buy:{id:cooked_salmon,Count:10},sell:{id:emerald,Count:2}}]}} -
Open the villager trades GUI
-
You can cycle the trades once
Expected behavior
Not being able to cycle trades from a villager with custom trades
Log files
Screenshots
But you can't summon villagers with custom trades without profession.
Removing the profession tag or setting it on profession:"minecraft:none" won't allow players to open the trades GUI as the villager is unemployed.
So you can't have a server with Trade Cycling + villagers with custom trades ?