Posted October 18, 20168 yr i think this is a simple question but... how i set the display name of a item? thanks for your time
October 18, 20168 yr Item myItem = new Item().setUnlocalizedName("myItem22").setRegistryName("myItem").setCreativeTab(Mod.MY_TAB) in lang file located at src/main/resources/assets/yourmodid/lang/en_US.lang language.name=English language.region=US language.code=en_US item.myItem22.name=My First Item generally for all items is item.UNLOCALIZED NAME.name you can also use minecraft colors like §4 or stuff like that and will show up colored in the game Disclaimer: I been told to keep my opinions to myself, to shut up and that I am spreading lies and misinformation or even that my methods are unorthodox and or too irregular. Here are my suggestions take it or leave it.
October 18, 20168 yr language.name=English language.region=US language.code=en_US You don't need those Classes: 94 Lines of code: 12173 Other files: 206 Github repo: https://github.com/KokkieBeer/DeGeweldigeMod
October 18, 20168 yr myItem = new Item().setRegistryName("myItem").setCreativeTab(Mod.MY_TAB) myItem.setUnlocalizedName(myItem.getRegistryName().toString()) Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable. If you think this is the case, JUST REPORT ME. Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice. Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked. DO NOT PM ME WITH PROBLEMS. No help will be given.
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.