A
Admincraft2mo ago
Mika

Remove text from anvil

How to remove the text in the anvil input field without changing the name of the item in slot 1.
No description
No description
5 Replies
Admincraft Meta
Admincraft Meta2mo ago
Thanks for asking your question!
Make sure to provide as much helpful information as possible such as logs/what you tried and what your exact issue is
Make sure to mark solved when issue is solved!!!
/close !close !solved !answered
Requested by m1ka3120#0
duolingo se acerca
You mean the item tooltip? The item type, nbts
Mika
MikaOP2mo ago
No, I mean that the anvil takes the text from the name of 1 item, but I need the text to be empty and the name of the item to remain Sorry if this is not clear. It's difficult to explain because I'm new to plugin development
duolingo se acerca
Np, I did understand, but no idea how to do this, maybe other people know
Snow Kit
Snow Kit2mo ago
If you're writing a plugin, then it's really simple to modify the output using the PrepareAnvilEvent You can see an example of it here on a plugin I wrote a while ago

Did you find this page helpful?