In some texture packs, you might want to change the name of some items, such as changing 'Sapling' to 'Little Tree.' Its actually very easy to do. In your minecraft.jar, find the folder marked 'lang.' Open it up. Inside you'll find 2 text files, each named according to what language you're running MineCraft in. For me, the file we need is called 'en_US.lang' (I'm not sure about the name for other languages). Open it up.
The text should look like this:
gui.done=Done
gui.cancel=Cancel
gui.toMenu=Back to title screen
gui.up=Up
gui.down=Down
gui.yes=Yes
gui.no=No
menu.singleplayer=Singleplayer
menu.multiplayer=Multiplayer (Broken)
menu.mods=Texture Packs
menu.options=Options
menu.quit=Quit Game
You can change the text for the title menu, options, etc.
A few chunks of text down, you'll find this:
You can change the names of the items using this chunk of text. For instance, changing the name of dirt to soil would be
tile.dirt.name=Dirt
to
tile.dirt.name=Soil
Adding text to the end of 'tile.dirt.desc=' will change what text shows up in your statistics. For instance, hovering over 'Dirt Removed' in my statistics will show whatever text I add to the .desc.
In the next chunk of text, you'll see that 'tile.' is changed to 'item.' You can edit this the same way that you changed the tiles.
Once you're done, save this into your 'lang' folder. Make sure that it is in the 'lang' folder, replacing the original text file. Otherwise, this won't work with your texture pack. Please note that in order for this to work, you must manually install the 'lang' folder into the original minecraft.jar. Using a texture installer will NOT work.
When using mods like SingePlayerCommands or when in an SMP server, using the /give command won't work with the new names. If you want to get an Iron Shovel, you can't say "/give spade," you need to say the original name, like "/give iron shovel."
Mods that add items can't have their item names changed using this method. You'll have to use something like EditRocket to change the file for the new item.
Additionally, you can use the other file in the 'lang' folder to change the text for achievements. It's so straightforward that I won't give a guide to changing this.
So, good luck adding more to your textures. Sorry if the guide isn't very clear, I was tired when I wrote this. Have fun.
Wait, hold the phone. If I include the modified lang in my texture pack, installing that pack will change the names of all the items? That's beyond groovy.
Rollback Post to RevisionRollBack
"Some scientists claim that hydrogen, because it is so plentiful, is the basic building block of the universe. I dispute that. I say that there is more stupidity than hydrogen, and that is the basic building block of the universe." -Frank Zappa
I tried changing the name of flower from 'flower' to 'fern', but it didn't work.
1. Enter the depths of minecraft.jar.
2. Open the 'lang' folder
3. Open 'en_US.lang' with notepad or textedit or something like that
4. Find this in the text:
1. Enter the depths of minecraft.jar.
2. Open the 'lang' folder
3. Open 'en_US.lang' with notepad or textedit or something like that
4. Find this in the text:
5. Save the text document as 'en_US.lang' in the 'lang' folder of minecraft.jar.
6. Open minecraft.
That should work. Good luck.
I did that, only I put it back into a texture pack rather than the original jar (since I only want to edit the names for the pack). But when I started up minecraft with the pack, the flower still read 'flower'. Is there something I'm missing?
I did that, only I put it back into a texture pack rather than the original jar (since I only want to edit the names for the pack). But when I started up minecraft with the pack, the flower still read 'flower'. Is there something I'm missing?
Make sure that you put the new names in the 'lang' folder. Other than that, I can't think of anything.
Soo is it possible to switch between texture packs with different "names" for the items? Or will it always be "little tree" instead of "sapling" no matter which texture pack you use?
Make sure that you put the new names in the 'lang' folder. Other than that, I can't think of anything.
Thanks.
For everyone else: Make sure you put the Lang folder into the ORIGINAL minecraft jar (not just into the texturepack zip). If you guys already knew that, great. If not, I hope my own lapse into derpiness (and my triumphant return) will help you out.
Soo is it possible to switch between texture packs with different "names" for the items? Or will it always be "little tree" instead of "sapling" no matter which texture pack you use?
The confusion here is occurring because you implied you could put a modified lang in the texture pack folder. You cannot. You MUST put the lang file backing to the ORIGINAL minecraft.jar for it to work.
The confusion here is occurring because you implied you could put a modified lang in the texture pack folder. You cannot. You MUST put the lang file backing to the ORIGINAL minecraft.jar for it to work.
Yeah, I'll correct that. Sorry, I'm just used to manually installing everything (I find it to be the easier option).
In some texture packs, you might want to change the name of some items, such as changing 'Sapling' to 'Little Tree.' Its actually very easy to do. In your minecraft.jar, find the folder marked 'lang.' Open it up. Inside you'll find 2 text files, each named according to what language you're running MineCraft in. For me, the file we need is called 'en_US.lang' (I'm not sure about the name for other languages). Open it up.
The text should look like this:
You can change the text for the title menu, options, etc.
A few chunks of text down, you'll find this:
You can change the names of the items using this chunk of text. For instance, changing the name of dirt to soil would be
tile.dirt.name=Dirt
to
tile.dirt.name=Soil
Adding text to the end of 'tile.dirt.desc=' will change what text shows up in your statistics. For instance, hovering over 'Dirt Removed' in my statistics will show whatever text I add to the .desc.
In the next chunk of text, you'll see that 'tile.' is changed to 'item.' You can edit this the same way that you changed the tiles.
Once you're done, save this into your 'lang' folder. Make sure that it is in the 'lang' folder, replacing the original text file. Otherwise, this won't work with your texture pack. Please note that in order for this to work, you must manually install the 'lang' folder into the original minecraft.jar. Using a texture installer will NOT work.
When using mods like SingePlayerCommands or when in an SMP server, using the /give command won't work with the new names. If you want to get an Iron Shovel, you can't say "/give spade," you need to say the original name, like "/give iron shovel."
Mods that add items can't have their item names changed using this method. You'll have to use something like EditRocket to change the file for the new item.
Additionally, you can use the other file in the 'lang' folder to change the text for achievements. It's so straightforward that I won't give a guide to changing this.
So, good luck adding more to your textures. Sorry if the guide isn't very clear, I was tired when I wrote this. Have fun.
-Gridster
I have been wondering how to do this. Well done, and thanks very much.
-
View User Profile
-
View Posts
-
Send Message
Retired Staff-
View User Profile
-
View Posts
-
Send Message
Retired Staff:biggrin.gif:
(or better yet...change them all around to confuse people :tongue.gif:)
"This may hurt a little, but it's something you'll get used to...."
1. Enter the depths of minecraft.jar.
2. Open the 'lang' folder
3. Open 'en_US.lang' with notepad or textedit or something like that
4. Find this in the text:
Replace it with this:
5. Save the text document as 'en_US.lang' in the 'lang' folder of minecraft.jar.
6. Open minecraft.
That should work. Good luck.
-
View User Profile
-
View Posts
-
Send Message
Retired StaffI did that, only I put it back into a texture pack rather than the original jar (since I only want to edit the names for the pack). But when I started up minecraft with the pack, the flower still read 'flower'. Is there something I'm missing?
Make sure that you put the new names in the 'lang' folder. Other than that, I can't think of anything.
-
View User Profile
-
View Posts
-
Send Message
Retired StaffThanks.
For everyone else: Make sure you put the Lang folder into the ORIGINAL minecraft jar (not just into the texturepack zip). If you guys already knew that, great. If not, I hope my own lapse into derpiness (and my triumphant return) will help you out.
It can be ANY name. Doesn't matter what you put.
Yeah, I'll correct that. Sorry, I'm just used to manually installing everything (I find it to be the easier option).