Solved Mojang Authlib not found (1.20.1)

DaveedP

New member
Aug 23, 2023
2
0
1
Hello there, I want to create NPCs using NMS (in Paper 1.20.1).
So I have successfully imported NMS (net.minecraft.server) but in order to create an NPC I need to use GameProfile and other classes that can be found in com.mojang.authlib and I have no clue how to add them...
I'm using maven and when I tried to add the authlib as a dependency it didn't work.
I have added the spigot dependency but still nothing.
Does someone have a solution for this?
 
Version Output
git-Paper-97 (MC: 1.20.1) (Implementing API version 1.20.1-R0.1-SNAPSHOT) (Git: 1837f6c)