Uploaded image for project: 'Spigot'
  1. Spigot
  2. SPIGOT-5784

No way to access villager gossip/reputation data via API

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 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!

            Unassigned Unassigned
            Intelli Intelli
            Votes:
            3 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: