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

Add API method to get a villager's gossips for a player

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • None
    • None
    • N/A

    • This server is running CraftBukkit version 3361-Spigot-f65de01-dad8517 (MC: 1.18.1) (Implementing API version 1.18.1-R0.1-SNAPSHOT)
    • Yes

      It would be great to have a way to get a villager's gossips for a given player (NBT tag "Gossips"). I currently need to use NMS for this, so adding this feature would eliminate the last bit of NMS dependency in my villager plugin.

      Example function header:

       

      public List<Gossip> getGossips(Player player)
      

       

       

      This feature might need a Gossip class to hold a gossip's type (minor_negative, negative, trading, positive, and major_positive) and value? Thank you in advance, and happy holidays!

            Unassigned Unassigned
            PretzelJohn PretzelJohn
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: