I’m using Intellij IDEA with Minecraft Development plugin.
I came across a problem when I wanted to get NBT data from an ItemStack, but either I have hard time understanding Paper API and/or I’m missing something in my maven pom file. I found a solution using net.minecraft.server package with NBTTagCompound, etc., but I cannot import it and find how to add this to dependencies.
Is there a better way in Paper?
How can I import net.minecraft.server?
Is there a recommended setup for plugin development for paper?
part of my pom file:
<dependencies> <dependency> <groupId>com.destroystokyo.paper</groupId> <artifactId>paper-api</artifactId> <version>1.14.1-R0.1-SNAPSHOT</version> <scope>provided</scope> </dependency> </dependencies>