Let people see only certain mobs

Discussion in 'Plugin Development' started by guitargun, Jul 16, 2015.

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

    guitargun

    So I am trying to figure out how to let people see only certain mobs/
    I came across this thread but seeming it is old I am wondering if it is still good for it
    https://bukkit.org/threads/entity-shown-only-to-specific-player-s.155715/

    now when you let that person see that mob is it also possible that that person only can hit and kill that mob and that the mob only can target the player (I already have some custom AI for it only need to tweak things if it is possible).
     
    Last edited: Jul 19, 2015
  2. Offline

    guitargun

  3. Offline

    Anrza

    Try it.
     
  4. Offline

    guitargun

    ok.. so my AI still try to attack players which canot see them.. yet when I overwrite them to walk somewhere else they turn around to follow that player again. is there a way to set that the mobs only attack/follow the players who can see them.
     
  5. Offline

    guitargun

Thread Status:
Not open for further replies.

Share This Page