Breeding and derpy passives

Discussion in 'Plugin Development' started by dibujaron, Apr 3, 2013.

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

    dibujaron

    Heya, quick question.

    I'm out in the wild and I see a chicken. I pull out some seeds and the chicken starts following me. How would I make it so that the chicken doesn't react to the seeds? I tried listening for EntityTargetEntityEvents and cancelling them, which logically would work, but it doesn't. That event is not called when passives target a player, only hostiles apparently.
    Any help appreciated! Also, code examples are generally more helpful than explanations.
     
  2. Offline

    microgeek

    You would need to override the chicken's AI.
     
  3. Offline

    chasechocolate

Thread Status:
Not open for further replies.

Share This Page