79189769

Date: 2024-11-14 17:08:26
Score: 2
Natty:
Report link

The easiest way would be to use paper spigot. It got way more optimizations than normal spigot and you can access the pathfinder of every mob easily.

 Villager entity = // your entity
 Location location = // your location
 entity.getPathfinder().moveTo(location);

https://jd.papermc.io/paper/1.21.1/com/destroystokyo/paper/entity/Pathfinder.html

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: janbnz