Jump to content

Recommended Posts

Posted

So I've seen that Minecraft Forge allows you to add localizations for mobs, but I haven't seen anything to do with adding localizations for blocks and items. It's not really necessary for my mod, but I would like to be able to add localizations for my blocks and items. Thanks in advance if you have any help!

Posted

So I thought I had it figured out through Entity localization and etc. and used code like this

LanguageRegistry.instance().addStringLocalization("tile.oreAmethyst", "en_US", "Amethyst Ore");

for blocks and

LanguageRegistry.instance().addStringLocalization("item.amethyst", "en_US", "Amethyst");

for items. However, now none of the blocks or items have any name in-game anymore.

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.