Jump to content

[1.7] Moving where ".lang" file is found


Parker8283

Recommended Posts

In a mod I'm helping someone update to 1.7, they have their ModId, but they have a separate String (called TEXTURE_LOCATION), where they put all of their textures, so it's "assets/TEXTURE_LOCATION/textures/...". I know that the file is normally found in "assets/ModId/lang/...", and considering I don't want two folders inside the assets folder for one mod, is there a way where I could tell Minecraft to look somewhere else for the lang file?

Link to comment
Share on other sites

If you use this code:

this.setBlockName("modid:texture");

the texture path is FORGE_FOLDER\src\main\resources\assets\modid\textures\blocks\texture.png.

 

So if you change that to:

this.setBlockName("texture_folder:texture");

the texture path is FORGE_FOLDER\src\main\resources\assets\modid\textures\blocks\texture.png.

 

So if you change the string before the column, it changes the directory to that name.

Don't PM me with questions. They will be ignored! Make a thread on the appropriate board for support.

 

1.12 -> 1.13 primer by williewillus.

 

1.7.10 and older versions of Minecraft are no longer supported due to it's age! Update to the latest version for support.

 

http://www.howoldisminecraft1710.today/

Link to comment
Share on other sites

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.