Jump to content

Recommended Posts

Posted (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 by Dr.Nickenstein
I've solved the problem :D
Posted (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 by Keitaro
Posted (edited)
  On 3/16/2019 at 8:34 PM, Dr.Nickenstein said:

I've followed a tutorial step by step

Expand  

Don’t.

 

  On 3/16/2019 at 8:34 PM, Dr.Nickenstein said:

shows up as item.(name of the ore)_ingot.name

Expand  

Have you created a language file?

Also, include your mod id in unlocalized names to prevent conflicts with other mods.

Edited by DavidM

Some tips:

  Reveal hidden contents

 

Posted
  On 3/16/2019 at 11:08 PM, DavidM said:

Don’t.

 

Have you created a language file?

Also, include your mod id in unlocalized names to prevent conflicts with other mods.

Expand  

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 ?

Posted
  On 3/16/2019 at 9:52 PM, 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.

Expand  

Damn i've tried refreshing the texture package and it loaded! Thank you so much man!

Posted
  On 3/16/2019 at 9:52 PM, 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.

Expand  

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

Posted
  On 3/16/2019 at 9:52 PM, 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.

Expand  

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

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.