Hey, I am tying to make a plugin and this is what I got: https://hastebin.com/barojoqumo.java https://hastebin.com/xizajimako.scala I wanted to make a seperated class with all the Custom Items but how do I use them in my Knight class? when I do player.getInventory().setItem(0, beginnerSword()); it doesn't work!
Import the class, and than instantiate it Code (Text): Knight knight = new Knight() and you can call your methods. Code (Text): knight.beginnerSword()