The bug
The /data remove
command doesn't remove Gossips
entries from villagers. I'm not sure if it matters, but this villager has a lot of Gossips
entries, enough to where when you show chat and try scrolling up, the game won't let you scroll up enough to view all the entries.
How to reproduce
Have a villager with
Gossips
entriesRun
/data remove
command on said villager
→ ❌ Gossips entries will not be removed, as seen in the video file.
Observed Behavior
Villagers' "Gossips" tag cannot be removed by using the "/data remove" command.
Expected Behavior
Villagers' "Gossips" tag would be able to be removed by using the "/data remove" command.
Linked issues
relates to 2
Attachments
Comments 20
Can confirm in 1.19.4.
As an addendum to my previous comment:
I've discovered that while Villager Gossips cannot be changed with /data, Zombie Villager Gossips can! So it's possible to prevent the permanent curing discount from stacking more than once by setting a Zombie Villager's "major positive" gossips back to 0.
so i was doing some trial and error. i still need to verify but something happened when i set the value to 1. it eroded away and removed the specific gossip. so while /data remove did not want to work i actually got it to remove the major_positive.
/data modify entity @e[ID] Gossips[{Type: "major_positive", Target: [I; UUID]}].Value set value 1
what happened is that i was playing with commands and mistyped the UUID so it ended up being listed twice. not a huge deal but the OCD in me wanted the bogus one removed. you can set the value but not to zero. obviously use the entity ID and UUID specific to your world.
Confirmed for 19w36a