Topic category: Help with modding (Java Edition)
I want to create a command called /name [insert name here]. The idea is, when you type in this command, the item in your hand will be renamed to whatever you typed. The thing is, I don't know how to detect what the player typed. Is there a way to do this without custom code?