How do I use the Paper API

Paper has some good Pathfinding API if I’m not wrong
but whenever I try to import com.destroystokyo.paper.entity
It doesn’t exist
How do I use the Paper API because unlike Spigot I don’t think you add the paper server to the build path

You’ve at least two ways of doing it.

  1. Start paper server one time and look into cache/ folder there is a patched jar. Use that.
  2. Use a proper build system like Gradle or Maven and follow the description on GitHub.