Posted March 22, 20205 yr Hello everyone, I have got an item in my mod that change its name when one of its attribute is defined. I use Item#getDisplayName but the function doesn't recognize the translated name I put in the en_us.json file. I would like to see Card instead of item.gates.card_key in the second picture here is my function : https://github.com/matt1999rd/GatesMod/blob/master/src/main/java/fr/mattmouss/gates/items/CardKeyItem.java in line 65 to 73.
March 22, 20205 yr Author thank you for your response but I don't understand what I should write in en_us.json or others language file...
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.