Jump to content

Recommended Posts

Posted

LanguageRegistry does not work and ive been told to use lang files. What method/class/object do i use to set the name of my block so that ingame my block does not come up as "tile.Crystalic Ore.name"

Posted

Under your assets/<modid> folder make a folder named "lang", add a file named "en_US.lang", in that file put

 

tile.Crystalic Ore.name=Your Block Name

 

This file is automagically loaded and applied by minecraft, you can add files for other languages too if you want.

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.