Navigate more than 16 blocks

Discussion in 'Spigot Plugin Development' started by Necrone, Apr 22, 2017.

  1. Is there any way to make an entity navigate more than 16 blocks away? (preferably one that isn't hopelessly taxing on the server).

    I noticed there's a getRandomBlockTowards function that seems to be used in a few NMS Pathfinders, though I can't seem to make it work for me.

  2. Explain further what you're looking for, what do you mean by navigate? Why 16 blocks?

    Sent from my iPhone using Tapatalk
  3. Pathfinders are usually limited to 16 blocks of range when you want to navigate to a block. What I did is create way points but this only works if you can pre define them. Otherwise I think you might need to modify the pathfinding code to allow a bigger range or code your own pathfinder. But AFAIK the follow range nbt tag allows you to make mobs follow/attack from a greater distance which means you could try to look into that.
  4. I have modified the pathfinding code and increased the range; search into google there are discussions about this topic
  5. I've been through every discussion I could find - this was a last resort.