Make a mob target specific location?

Discussion in 'Plugin Development' started by Survivalist, May 16, 2011.

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

    Survivalist

    Is it possible to set the target of a creature to a Location instead of LivingEntity?
     
  2. Offline

    ZephyrSigmar

    Set what?Do you mean set where you want to spawn a creature or what?
    Please explain it :)
     
  3. Offline

    chronopolis

    I think he wants the mobs to spawn as intended, but instead of targeting everyone close like usual, he wants to be able to set a target for the mobs :p

    Unfortunately I don't know how...
     
  4. Offline

    Survivalist

    I want to set a Location as a target instead of an Entity, so that it walks to a Location.
     
  5. Offline

    narrowtux

    Spawn an animal at the location, use monster.setTarget(animal) and then remove the animal. Maybe this works.
     
Thread Status:
Not open for further replies.

Share This Page