Skript
Skript copied to clipboard
Adds lookAt for entities and players
Description
Adds lookAt for Mobs and the new 1.19.1 lookAt for Players
The lookAt has to be used within a custom goal, so I made the entities take 2.5 seconds to look at the target. That's about the time it takes for the entities to rotate their body and face the target, better than ray tracing every tick. I'll maybe implement the entire pathfinding and goal api in the future, but for now, this is needed.
Target Minecraft Versions: 1.17+ and 1.19.1+ for Player support Requirements: Paper