Jump to content

[1.6.2] Mob Textures fail to load, any help?


Stinger771

Recommended Posts

I know this has been asked before, and I've gone over as many other posts as I could find, but nothing has worked thus far. Could someone help me?

 

The console Error I get is:

 

[embed=425,349]2013-07-09 21:14:26 [WARNING] [Minecraft-Client] Failed to load texture: minecraft:assets/tutorial/textures/entity/tutmob.png

java.io.FileNotFoundException: minecraft:assets/tutorial/textures/entity/tutmob.png

at net.minecraft.client.resources.FallbackResourceManager.func_110536_a(FallbackResourceManager.java:64)

at net.minecraft.client.resources.SimpleReloadableResourceManager.func_110536_a(SimpleReloadableResourceManager.java:63)

at net.minecraft.client.renderer.texture.SimpleTexture.func_110551_a(SimpleTexture.java:31)

at net.minecraft.client.renderer.texture.TextureManager.func_110579_a(TextureManager.java:84)

at net.minecraft.client.renderer.texture.TextureManager.func_110577_a(TextureManager.java:41)

at net.minecraft.client.renderer.entity.Render.func_110776_a(Render.java:50)

at net.minecraft.client.renderer.entity.Render.func_110777_b(Render.java:45)

at net.minecraft.client.renderer.entity.RendererLivingEntity.renderModel(RendererLivingEntity.java:293)

at net.minecraft.client.renderer.entity.RendererLivingEntity.func_130000_a(RendererLivingEntity.java:154)

at net.minecraft.client.renderer.entity.RenderLiving.doRenderLiving(RenderLiving.java:28)

at modding.tutorial.RenderTutorial.renderTutMob(RenderTutorial.java:24)

at modding.tutorial.RenderTutorial.doRender(RenderTutorial.java:34)

at net.minecraft.client.renderer.entity.RenderManager.renderEntityWithPosYaw(RenderManager.java:312)

at net.minecraft.client.renderer.entity.RenderManager.renderEntity(RenderManager.java:281)

at net.minecraft.client.renderer.RenderGlobal.renderEntities(RenderGlobal.java:524)

at net.minecraft.client.renderer.EntityRenderer.renderWorld(EntityRenderer.java:1160)

at net.minecraft.client.renderer.EntityRenderer.updateCameraAndRender(EntityRenderer.java:1006)

at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:934)

at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:826)

at net.minecraft.client.main.Main.main(Main.java:93)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at net.minecraft.launchwrapper.Launch.launch(Launch.java:57)

at net.minecraft.launchwrapper.Launch.main(Launch.java:18)[/embed]

 

And here is the relevant render script:

 

[embed=425,349]private static final ResourceLocation Texture = new ResourceLocation("minecraft:assets/tutorial/textures/entity/tutmob.png");

 

protected ModelTutorial model;

 

public RenderTutorial(ModelTutorial par1ModelBase, float par2)

{

super(par1ModelBase, par2);

model = ((ModelTutorial)mainModel);

 

}

 

public void renderTutMob(EntityTutMob par1Entity, double par2, double par4, double par6, float par8, float par9)

    {

        super.doRenderLiving(par1Entity, par2, par4, par6, par8, par9);

    }

 

    public void doRenderLiving(EntityLiving par1EntityLiving, double par2, double par4, double par6, float par8, float par9)

    {

        this.renderTutMob((EntityTutMob)par1EntityLiving, par2, par4, par6, par8, par9);

    }

 

    public void doRender(Entity par1Entity, double par2, double par4, double par6, float par8, float par9)

    {

        this.renderTutMob((EntityTutMob)par1Entity, par2, par4, par6, par8, par9);

    }

 

@Override

protected ResourceLocation func_110775_a(Entity entity) {

 

return Texture;

 

}[/embed]

 

Currently my tutmob.png file resides in: /forge/mcp/src/minecraft/assets/tutorial/textures/entity/tutmob.png

 

Where tutorial is the modid...

 

 

EDIT: Oops, just figured it out. For anyone else with a similar problem, go to this thread: http://www.minecraftforge.net/forum/index.php/topic,9986.msg50764.html#msg50764

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.


×
×
  • Create New...

Important Information

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