The Fix To The Item.GunName.Name Glitch!

Started by JMCminer039 on Mon, 06/29/2015 - 20:53
Last seen on 19:31, 19. Feb 2017
Joined Mar 2015
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
The Fix To The Item.GunName.Name Glitch!
Mon, 06/29/2015 - 20:53

So Recently I have been making a mod with guns and there is this glitch where the name of the gun is item.Gunname.name . And when I looked this up I could not find out the answer. So I finally found out how to fix it.

First thing you have to do is export your mod. If you exported it like a .jar file rename the .jar part to .zip. If you did not export it as a .jar file and it is already a .zip file you are good. Open it up. Click assets. click one of the folders, then click the lang folder.

Once you are in the lang folder click on the lang file. Open it with Note Pad, or something else that allows you to type documents, but I prefer note pad. Look for your gun name, it should be like this, item.gunname.name=gun name

Remember the name in between the item. and the .name , You should copy it just incase.

You can close that now. Go into mcreator look for your gun, click it and then click view source. Look for setUnlocalizedName("GunName");

Once you have found it replace the GunName in the source With the gunname you saw earlier in the lang file.

That is how to fix it hope this helps anyway if you have any questions leave them in a reply or something

Last seen on 21:17, 16. Aug 2018
Joined Nov 2013
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Oh, thank you! You're a
Wed, 07/01/2015 - 00:00

Oh, thank you! You're a lifesaver. That stupid bug was irritating me.