#How to setup NMS usage in intellij ? (the unobfuscated way)

1 messages · Page 1 of 1 (latest)

tepid plover
#

I'm trying so hard to make it work for a couple of hours yet it still doesn't work.
The furthest I got is to get everything compiling and the imports are fine but the server throws an error of NoSuchMethodError.
If someone could instruct me through the correct way of setting it up it would be lovely

#

My final goal is to change skin using NMS

tepid plover
#

I've already tried doing so

tepid plover
#

@brisk basalt which jar do i need to include in my artifacts besides the normal spigot-api?

brisk basalt
#

what do you mean artifacts?

tepid plover
#

im using intelij

brisk basalt
#

so you aren't using maven

tepid plover
#

wdym

brisk basalt
#

Do not touch the artifacts if you are using maven

#

everything goes through the pom

#

if you want to build your plugin you use the maven command

tepid plover
#

so when i build through intellij it doesnt use maven?

brisk basalt
#

something like mvn clean package

#

no

#

it doesn't run the maven build script

tepid plover
#

oh damn

#

so how do i add jars to my dependencies

#

I have made a base jar which is my library

brisk basalt
#

you dont

#

you install it to your maven local

tepid plover
#

like how is intellij supposed to know where to import things if i only add things to the pom file

#

how are those 2 connected

brisk basalt
#

it doesnt

#

well

#

maven downloads things and intellij sees that

#

It looks in your maven local and any repositories you list in the pom

#

i suggest actually learning maven