1
Help! Names not working on my mod! 1.7.10
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?
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?
Create an account or sign in to comment.
8
1
try changing the unlocalizedregistry to the what modid is set to dot the name .
1
Come again? what is the unlocalizedregistry?
1
mind sending me the lang file?
1
It was there, tried replacing it, but no luck.
1
Yes, trying now.
1
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.
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
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:
My lang file is located in this path:
src/main/java/assets/survival/lang/en_US.lang
item.GoldKnife.name=Gold Knife
1
Thanks, but that didn't help. Keep in mind it works on the Eclipse launcher.