#Help with 1.18 spigot dependencies

1 messages · Page 1 of 1 (latest)

hardy locust
#

so ive been fighting my lack of intelligence trying to figure out how to update my plugin to 1.18, and after a few hours ive finally figured out how to set up maven dependency handling and it seems to be working... mostly
even after setting up the dependency (and i just copy-pasted it from the forum, i have no idea what im doing with dependencies), eclipse is still saying it cand find a net.minecraft package and org.bukkit.craftbukkit package
how do i add those to my project as well?

twilit drift
#

Did you read the developer notes on the release post

#

Why are you not using the API

hardy locust
#

if youre referring to the main spigot api, i followed the instructions under the bootstrap section and i got the same exact result that i ended up with maven
most of the imports were fine, just those two were lacking
i figured that im probably just stupid so i set up maven but the same thing happened

twilit drift
#

Why do you need those packages

#

They're not meant to be used

hardy locust
#

im doing some custom things with displaying items in chat and what i found online said to convert the itemstack to an nms version to get the nbt for bungees Item

twilit drift
#

If you're using maven they should be fine though

hardy locust
#

they should be fine but theyre not
and im not sure why

hardy locust
#

this might help me
where would the craftbukkit files be located when the spigot jar installs?

frosty aurora
#

Uhhmmm.... I think you can just add the 1.18 spigot server jar as dependency... Lemme check real quick#