Recommended Posts

I have been messing around with the code and i have finally figured out where the texture's go for developers. If you're having trouble with your textures and your textures in game are black and pink checkered then this should work for you. This isn't my favourite way to put your textures but its the only way i've found!

To register your texture make sure you go to your pickaxe class (itemPickaxe.java).

public void registerIcons(IconRegister iconRegister) {

itemIcon = IconRegister.registericon("RedstoneMod:ItemPickaxe");

}

This is the code you use to make your texture work!

Now the directory for the textures is in the 1.6.1.jar file.... I hate this way, but i think its the only way for now!

For Items -

Forge MCP/jars/versions/1.6.1/1.6.1.jar(Open up with winrar)/assets/textures/items

For Blocks -

Forge MCP/jars/versions/1.6.1/1.6.1.jar(Open up with winrar)/assets/textures/blocks

Share this post

Link to post

Share on other sites

I have been messing around with the code and i have finally figured out where the texture's go for developers.

Forge MCP/jars/versions/1.6.1/1.6.1.jar(Open up with winrar)/assets/textures/items

Forge MCP/jars/versions/1.6.1/1.6.1.jar(Open up with winrar)/assets/textures/blocks

No you haven't.

There's always a location for them in the MCP/src directory. Jar editing should never be required. In fact, not-jar-editing is the whole reason the new system exists.

This is the only way to do it for now since Forge is unstable at the moment! I am sure this will be fixed soon! when i try the MCP/src Minecraft doesn't look in the right directory. it keeps looking in the 1.6.1.jar

Though I've been digging into the code to try and figure out the full path, but I haven't yet. It's not an unhelpful error, it's just less than perfectly informative because the new ResourceLocation class has this method:

Hi there,
I want to use my custom 3D Models I created, but I don't understand how to render and bake custom 3D OBJ Models, or if it is even possible.
Here is what I got so far:
public class BakeHandler {
public BakeHandler() {
OBJLoader.INSTANCE.addDomain(HelicopterMod.MOD_ID);
}
@SubscribeEvent
public void onModelBake(ModelBakeEvent event)
{
try
{
IUnbakedModel model = OBJLoader.INSTANCE.loadModel(new ResourceLocation(HelicopterMod.MOD_ID, "models/entity/helicopter_tris.obj"));
//model.bake(bakery, spriteGetter, sprite, format);
} catch (Exception e)
{
e.printStackTrace();
}
}
}
I simply don't know where to continue now, as I don't find any currently working example or explanation.
Does anyone of you guys know an example I can look at, or a good explanation on how to use OBJ models for entities?
Would appreciate any help

How do you create a multi project work-space in Eclipse?
I want to build a mod that has an optional dependency and a mandatory dependency.
I recently learned basic java code and how to make simple mods with new recipes, tools, blocks, armor, ore gen, that sort of stuff...
Now I want to learn how to use API's and call items from other mods but every time I try to import other mods into my work space I have issues.
How Do I set up a multi project work space?