-
Type:
New Feature
-
Resolution: Fixed
-
Priority:
Minor
-
None
-
Affects Version/s: None
-
None
-
This server is running CraftBukkit version git-Spigot-a99063f-c9d7c16 (MC: 1.15.2) (Implementing API version 1.15.2-R0.1-SNAPSHOT)
-
Yes
At the present time, there doesn't appear to be a way to get or set gossip data on a villager via the Spigot API.
E.g.
"Gossips":[ { "Type":"minor_negative", "TargetLeast":-5860399539577866045L, "TargetMost":-1485932909493270132L, "Value":150 }, { "Type":"major_positive", "TargetLeast":-4760910750388431694L, "TargetMost":5377733615514894797L, "Value":20 }, { "Type":"minor_positive", "TargetLeast":-4760910750388431694L, "TargetMost":5377733615514894797L, "Value":25 }
https://minecraft.gamepedia.com/Villager#Gossiping
This data is somewhat important, for the following reason:
negative reputation causes villagers to increase their prices for the player in question, while a positive reputation results in lower prices. Overall reputation also determines the hostility of the village iron golem toward the player.
Thanks!
- duplicates
-
SPIGOT-6858 Add API method to get a villager's gossips for a player
-
- Resolved
-