juliarn / npc-lib

Asynchronous, high-performance Minecraft NPC library for 1.8-1.21 servers.
MIT License
303 stars 51 forks source link

private final NPCPool npcPool;` - Cannot resolve symbol. #62

Closed RDProjectOfficial closed 1 year ago

RDProjectOfficial commented 2 years ago

Hi, i try to use ur library NPC-Lib and private final NPCPool npcPool;` - Cannot resolve symbol.

How i add ur library? - I downloaded sourcecode and select Project Structure >> Libraries >> Add >> Java >> Select this .rar file

Can u help me plz

juliarn commented 2 years ago

Hey, I would recommand to use Gradle oder Maven to integrate the library. For this you just have to add the dependency and repository (as stated in the README file) to the build script file. I'm not experienced with not using a build tool, but you would have to add the compiled jar, not just the sourcecode. It can be downloaded here: https://jitpack.io/com/github/juliarn/npc-lib/2.6-RELEASE/npc-lib-2.6-RELEASE.jar Keep in mind that you also have to compile the library into your plugin at the moment.

derklaro commented 1 year ago

Closing due to inactivity.