1

Help! Names not working on my mod! 1.7.10

The_Master_Thief's Avatar The_Master_Thief12/28/14 1:09 am
1 emeralds 280 8
12/28/2014 1:52 pm
The_Master_Thief's Avatar The_Master_Thief
Hey everyone, my mc mod is not working properly, the names of all my items are, item.(The unlocalizedName).name, or tile.(unlocalizedName).name, and my Creative tabs are itemGroups.(whatever name)

Ive completed my lang file and it doesnt happen in the eclipse launcher, i am doing 1.7.10 and my assets folder is in my src/main/resources folder. Before that my textures werent loading either(also in assets folder) but i moved it to resources(before was in src/main/java) and the textures worked, but not the lang. Help?
Posted by The_Master_Thief's Avatar
The_Master_Thief
Level 2 : Apprentice Crafter
0

Create an account or sign in to comment.

8

1
12/28/2014 1:45 pm
Level 2 : Apprentice Crafter
maxawsomemods
maxawsomemods's Avatar
try changing the unlocalizedregistry to the what modid is set to dot the name .
1
12/28/2014 1:52 pm
Level 2 : Apprentice Crafter
The_Master_Thief
The_Master_Thief's Avatar
Come again? what is the unlocalizedregistry?
1
12/28/2014 1:59 am
Level 48 : Master Ninja
Samstrongman
Samstrongman's Avatar
mind sending me the lang file?
1
12/28/2014 1:57 am
Level 2 : Apprentice Crafter
The_Master_Thief
The_Master_Thief's Avatar
It was there, tried replacing it, but no luck.
1
12/28/2014 1:51 am
Level 2 : Apprentice Crafter
The_Master_Thief
The_Master_Thief's Avatar
Yes, trying now.
1
12/28/2014 1:48 am
Level 48 : Master Ninja
Samstrongman
Samstrongman's Avatar
You mean it won't work in Minecraft? But it works with Eclipse?

If that's the case, take the Jar file that you got after building the Mod. Open it up, and see if there's an asset folder inside, if not, go to your workplace for the mod, open your Bin folder, and copy and paste the asset folder into the mod Jar file.
1
12/28/2014 1:31 am
Level 48 : Master Ninja
Samstrongman
Samstrongman's Avatar
Make sure you're only setting the unlocalized name once, and not twice, if it's twice, you may have it different than what you may think it is.

My lang file is located in this path:
src/main/java/assets/survival/lang/en_US.lang

item.GoldKnife.name=Gold Knife
1
12/28/2014 1:35 am
Level 2 : Apprentice Crafter
The_Master_Thief
The_Master_Thief's Avatar
Thanks, but that didn't help. Keep in mind it works on the Eclipse launcher.
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome