Dr.Nickenstein Posted March 16, 2019 Posted March 16, 2019 (edited) Hello guys, i'm a new little modder in Minecraft. I was trying to make a new ore, and i started creating an ingot for this ore. That's the first thing i've done in my mod. I've followed a tutorial step by step. The problem is that when i set the name and put the texture file in the item textures folder the .png file doesn't show up in Eclipse, and when i start minecraft to try to see the ore name it shows up as item.(name of the ore)_ingot.name . I'm using Eclipse to mod, the forge version is the forge-1.12.2-14.23.5.2814. Can you help me with my problems? Thank you in advance. Edited March 17, 2019 by Dr.Nickenstein I've solved the problem :D Quote
Keitaro Posted March 16, 2019 Posted March 16, 2019 (edited) Sometimes you have to refresh the folders within eclipse, otherwise the files don't get recognized. I don't use eclipse, but i think it's just a rightclick on the folder/package and there should be refresh or something. Intelij calls it sync. The name is set inside your language file, for english it should be assets/yourmodid/lang/en_US.lang, just add item.(name of the ore)_ingot.name=Display name. Edited March 16, 2019 by Keitaro Quote
DavidM Posted March 16, 2019 Posted March 16, 2019 (edited) 2 hours ago, Dr.Nickenstein said: I've followed a tutorial step by step Don’t. 2 hours ago, Dr.Nickenstein said: shows up as item.(name of the ore)_ingot.name Have you created a language file? Also, include your mod id in unlocalized names to prevent conflicts with other mods. Edited March 16, 2019 by DavidM Quote Some tips: Spoiler Modder Support: Spoiler 1. Do not follow tutorials on YouTube, especially TechnoVision (previously called Loremaster) and HarryTalks, due to their promotion of bad practice and usage of outdated code. 2. Always post your code. 3. Never copy and paste code. You won't learn anything from doing that. 4. Quote Programming via Eclipse's hotfixes will get you nowhere 5. Learn to use your IDE, especially the debugger. 6. Quote The "picture that's worth 1000 words" only works if there's an obvious problem or a freehand red circle around it. Support & Bug Reports: Spoiler 1. Read the EAQ before asking for help. Remember to provide the appropriate log(s). 2. Versions below 1.11 are no longer supported due to their age. Update to a modern version of Minecraft to receive support.
Dr.Nickenstein Posted March 17, 2019 Author Posted March 17, 2019 8 hours ago, DavidM said: Don’t. Have you created a language file? Also, include your mod id in unlocalized names to prevent conflicts with other mods. I've created an en_US.lang file, i've tried renaming it to en_us.lang but nothing changed. I'm not using other mods to test mine, so don't worry about that . Uhm and if i can ask you, why did you tell me to not follow tutorials ? Quote
Dr.Nickenstein Posted March 17, 2019 Author Posted March 17, 2019 9 hours ago, Keitaro said: Sometimes you have to refresh the folders within eclipse, otherwise the files don't get recognized. I don't use eclipse, but i think it's just a rightclick on the folder/package and there should be refresh or something. Intelij calls it sync. The name is set inside your language file, for english it should be assets/yourmodid/lang/en_US.lang, just add item.(name of the ore)_ingot.name=Display name. Damn i've tried refreshing the texture package and it loaded! Thank you so much man! Quote
Dr.Nickenstein Posted March 17, 2019 Author Posted March 17, 2019 10 hours ago, Keitaro said: Sometimes you have to refresh the folders within eclipse, otherwise the files don't get recognized. I don't use eclipse, but i think it's just a rightclick on the folder/package and there should be refresh or something. Intelij calls it sync. The name is set inside your language file, for english it should be assets/yourmodid/lang/en_US.lang, just add item.(name of the ore)_ingot.name=Display name. As for the name, i've checked my .lang file and everything seems to be fair, but it won't show up as wanted. That's what's in my .lang file: item.megatite_ingot.name=megatite ingot Quote
Dr.Nickenstein Posted March 17, 2019 Author Posted March 17, 2019 10 hours ago, Keitaro said: The name is set inside your language file, for english it should be assets/yourmodid/lang/en_US.lang, just add item.(name of the ore)_ingot.name=Display name. I've tried to rename the en_US.lang to en_us.lang and it worked again. Do you remember when i told you that i've done it already and bla bla bla bla...? Well, i've named the display name megatite_ingot. Thanks for the help! 2/2 problems SOOOLVEEED Quote
Recommended Posts
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.