Jump to content

New location to place the textures? {1.6.2}


poonkje112

Recommended Posts

Hello everyone

I'm almost finished with my mod.

But i don't understand where i actually have to put the textures for the items, Blocks And Mobs.

So i try to put it in my zip in a folder that i named textures without success.

So what do i have to change to my code and to the code for my mob?

Here is a little bit of my code:

 

Mob Texture code:

        this.texture = "/textures/OpticalItems/Mobs/Salamander.png";

 

And my normal block and item texture code:

Item:

MilensiaBlade = new BladeItems (2039).setUnlocalizedName("MilensiaBlade");

 

Block:

  MilensiaOre= new MilensiaOre(3609, "MilensiaOre").setUnlocalizedName("MilensiaOre").setHardness(70.0F).setStepSound(Block.soundStoneFootstep).setResistance(2000.0F);

Already Thanks!

Link to comment
Share on other sites

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.