[Solved] Change mob movement range

Discussion in 'Spigot Plugin Development' started by Mineland, May 8, 2015.

  1. As many of you know, when no players are nearby a mob (16 blocks range i think), the mob just stops, and wont move until a player comes nearby. I am making a custom entity with custom pathfindings but it just messes when nobody is around. I searched in craftbukkit's code but i couldn't change this value or see the piece of code that checks this range.
     
  2. Decompile the spigot code. I remember seeing somewhere that you could change the amount of blocks up until 20 I believe.
     
  3. Tux

    Tux

    You're looking for entity-activation-range