Detect event when Villager interact with another one

Discussion in 'Plugin Development' started by Ghostkid_, Mar 9, 2022.

Thread Status:
Not open for further replies.
  1. Offline

    Ghostkid_

    Hey !
    I know this is a difficult request
    but I have a very stupid plugin idea too :')

    Here is a screenshot to illustrate my point:

    I just want detect an event when a villager "talks" to another!
    I don't know if there is one or if I should make one
     

    Attached Files:

    • ff.png
      ff.png
      File size:
      668.3 KB
      Views:
      4
  2. Offline

    CraftCreeper6

    @Ghostkid_
    I don't think this event currently exists.

    If I remember correctly the villagers share gossip with each other about a player, maybe you could force villager spawns to have a default gossip from a specific player, then check whenever the gossip value for a villager changes? They like to spread the gossip :)
     
  3. Offline

    Ghostkid_


    Ho ok ! Yeah i don't think so
    if we take a look about the Villagers Events we have :

    - VillagerReplenishTradeEvent
    - VillagerAcquireTradeEvent
    - VillagerCareerChangeEvent

    But the gosspig could be a good start ^^
    i just want use theses event to share a potion effect and spread a virus :)
    but thank for your answer
     
Thread Status:
Not open for further replies.

Share This Page