Posted August 16, 20205 yr I want to make a special piece of Armour which will allow the player to see the actual names of some items, without this amour, it should be different. For example, it might turn "My Custom Apple" into lh cmodym noihyo". The second name is just random characters and the first isn't an actual item but anyways, my issue is that i have no clue where to start. Checking what the player is wearing should be "easy" but im not sure how to change the display name. If it changes anything, i have my item names inside a JSON file. Anyways, thanks for the help! Kind regards
August 16, 20205 yr Check ItemTooltipEvent Check out the port of the BetterEnd fabric mod (WIP): https://www.curseforge.com/minecraft/mc-mods/betterend-forge-port
August 16, 20205 yr Author What do you mean? Aren't the tooltips the text that appears below the name?
August 16, 20205 yr Yep, by handling the event above you can intercept tooltips before they are rendered, so you can modify them Check out the port of the BetterEnd fabric mod (WIP): https://www.curseforge.com/minecraft/mc-mods/betterend-forge-port
August 17, 20205 yr Author Ok, sorry for the late response. I cannot test this out quite yet but i will make sure to do so and say if it worked!
August 24, 20205 yr Author Sorry for answering so late but i did not manage to make this work! I'd show what i tried but i must have deleted it instead of commenting out when testing out a different part of the mod.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.