ModLoader Turned on me :(

Sometimes, we all need a little general help.

Post Permalink
by iamdachckol » 5/29/2012

Hi,
I am a beginner modder and recently I have come across a problem with one of my mods. I am using Minecraft Coder Pack and when I tried to install and test one of my mods I got this error from Modloader when I run my client with the mod installed:

Code: Select all
May 29, 2012 6:43:12 PM ModLoader init
FINE: ModLoader 1.2.5 Initializing...
May 29, 2012 6:43:12 PM ModLoader readFromClassPath
FINER: Adding mods from C:\Users\misiek\AppData\Roaming\.minecraft\bin\minecraft.jar
May 29, 2012 6:43:12 PM ModLoader readFromClassPath
FINER: Zip found.
May 29, 2012 6:43:12 PM ModLoader addOverride
FINER: addOverride(/gui/items.png,/throwables/mudball.png,38). 84 left.
May 29, 2012 6:43:12 PM ModLoader addOverride
FINER: addOverride(/gui/items.png,/throwables/rock.png,102). 83 left.
May 29, 2012 6:43:12 PM ModLoader addOverride
FINER: addOverride(/gui/items.png,/throwables/sharprock.png,118). 82 left.
May 29, 2012 6:43:12 PM ModLoader addOverride
FINER: addOverride(/gui/items.png,/throwables/hardrock.png,119). 81 left.
May 29, 2012 6:43:12 PM ModLoader addOverride
FINER: addOverride(/gui/items.png,/throwables/bomb.png,120). 80 left.
May 29, 2012 6:43:12 PM ModLoader addOverride
FINER: addOverride(/gui/items.png,/throwables/ninjastar.png,134). 79 left.
May 29, 2012 6:43:12 PM ModLoader addMod
FINE: Mod Initialized: "mod_throw 1.5.2" from mod_throw.class
May 29, 2012 6:43:12 PM ModLoader init
FINE: Mod Loaded: "mod_throw 1.5.2"
May 29, 2012 6:43:12 PM ModLoader addAllRenderers
FINE: Initialized
May 29, 2012 6:43:14 PM ModLoader RegisterAllTextureOverrides
FINER: THROW
java.lang.Exception: Image not found: /throwables/sharprock.png
   at ModLoader.loadImage(ModLoader.java:1015)
   at ModLoader.registerAllTextureOverrides(ModLoader.java:1348)
   at ModLoader.onTick(ModLoader.java:1074)
   at EntityRendererProxy.b(EntityRendererProxy.java:22)
   at net.minecraft.client.Minecraft.x(SourceFile:752)
   at net.minecraft.client.Minecraft.run(SourceFile:671)
   at java.lang.Thread.run(Thread.java:722)


The error crashes my client after the Mojang screen. From the error I have noticed the ModLoader fails to initialise the 'sharprock.png' texture override. I have tried reinstalling my Minecraft and I even reset my MCP once. The mod still happens. When I set the texture to 'rock.png' the error still appeared except with mudball instead of sharp rock.

Please help, I'm out of ideas to fix this.

Thanks,
User avatar
Level 44
Master Modder
Posts: 16
Joined: 3/27/12
mc_server: dachckolcraft.com:25591

Post Permalink
by sed11 » 5/29/2012

Make sure the texture is the same name and is in the "throwables" folder in minecraft.jar.
Image

Image

Image

Image

Image

Creepers gonna Creep!
User avatar
Forum Moderator
Level 56
Grandmaster Creeper
Posts: 6599
Joined: 7/9/11
Minecraft: cjw12

Post Permalink
by iamdachckol » 5/29/2012

It is, I am fully sure this is not an error with the wrong file being used. When I removed the sharpstone from my mod the error apeared with a different texture.
Image
User avatar
Level 44
Master Modder
Posts: 16
Joined: 3/27/12
mc_server: dachckolcraft.com:25591

Post Permalink
by ThVortex » 5/30/2012

iamdachckol wrote:It is, I am fully sure this is not an error with the wrong file being used. When I removed the sharpstone from my mod the error apeared with a different texture.


Can you post your mod sources online along with the image resources? Someone else on #mcp-modding was having exactly the same issue, so I'm curious to figure out what's going on. I assume this is MCP 6.2 for MC 1.2.5?
Level 1
New Miner
Posts: 1
Joined: 5/30/12


Return to General Help