I'm aware that setUnlocalizedName has been deprecated and replaced with setTranslationKey, but I'm still having trouble setting the name of an Item.
When I construct the Item, I simply do this:
setTranslationKey(name);
setRegistryName(name);
setCreativeTab(CreativeTabs.MATERIALS);
Also, I'm not sure if this is relevant, but name is just "placeholder" as opposed to "examplemod.placeholder". My lang file is named "en_us.lang" and is in the "assets/examplemod/lang" folder. In the file, there is only one line:
item.placeholder.name=Placeholder
In game, the item shows up in the creative tab and the model and texture I provided for it are working, but the name still shows as "item.placeholder.name".
I'm all out of ideas as to what I could be doing wrong, so help would be appreciated.