Hello, I have given my item the unbreakable flag, but now I want to hide it. How can I do this? Also, I would like to change the durability of my music disc and the code that I am using for my other items is working and the debug is working but for the disc it says 0. Thank you!
Got it working, thank you. How can I get the durability of the music disc since it's original durability is 0 and I had set it to 70. Does that mean that now in my texture pack if I make damage: 70 it will read?
https://hub.spigotmc.org/javadocs/spigot/org/bukkit/event/inventory/InventoryClickEvent.html has just about everything you need to check if they moved it out of their hand.