Jump to content

[forge 4.2.5][mc 1.3.2] issues getting my texture to show


Recommended Posts

Posted

inside of your sword class, put in:

public String getTextureFile()
{
     return "";  //put the texture file in /MCP/eclipse/Minecraft/bin AND start with a /, end with .png
}

The Korecraft Mod

Posted

I'm fairly sure you can just chuck the texture files inside your mod's jar - so if the texture file was /textures/terrain.png, you'd put the 'textures' folder inside your jar.

Protip: try and find answers yourself before asking on the forum.

It's pretty likely that there is an answer.

 

Was I helpful? Give me a thank you!

 

 

width=635 height=903http://bit.ly/HZ03zy[/img]

 

 

Tired of waiting for mods to port to bukkit?

use BukkitForge! (now with a working version of WorldEdit!)

Posted

You can.

 

Just create a package inside Eclipse, then drag and drop your textures into it - accessing them after with "/packagename/texturename.png"

 

Requires no fiddling around and you can then edit directly without having to replace files or pop them in /bin or the minecraft.jar.

Posted

thanks guys.

i think that was the problem: "/packagename/texturename.png"

i had my textures inside my package but didn't add my package name so mine just read

"/myitems.png"

i'll try it a bit later.

 

EDIT/UPDATE: works. thanks guys.

Guest
This topic is now closed to further replies.

Announcements



×
×
  • Create New...

Important Information

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