Question Get itemstack name

  • After careful consideration and due to limited usage, we’ve made the decision to discontinue the PaperMC forums. Moving forward, we recommend using Hangar for plugin uploads, and for all other community discussions and support, please join us on Discord.

senneb

New member
Jun 22, 2022
16
0
1
How do I get the name of an itemstack in 1.18.2? itemStack.getDisplayname() doesn't work.
 
Version Output
This server is running Paper version git-Paper-386 (MC: 1.18.2) (Implementing API version 1.18.2-R0.1-SNAPSHOT) (Git: 072f54c on ver/1.18.2)