Keeping a mob in a specific radius

Discussion in 'Plugin Development' started by Bartoke, Mar 2, 2014.

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

    Bartoke

    Hey y'all,

    I need to have a zombie and a villager stay in a certain radius. They can wander only inside this radius. They can attack other players/mobs, but as soon as the mob tries to leave the radius, it becomes neutral again. His target range should also be the same as this radius, so no mob which it cant reach would be the target.

    Any idea on how to get all this to work simultaneously and compact/resource-efficient? Should I make a custom entity type for these mobs? If yes, which methods should be overwritten to make this work?

    Thanks in advance!
     
  2. Offline

    SuperOmegaCow

Thread Status:
Not open for further replies.

Share This Page