[UNANSWERED]Help minecraft not working!(With java shown)
5 posters
Page 1 of 1
[UNANSWERED]Help minecraft not working!(With java shown)
Hi after making tool set i recompiled it and no errors found(after some help)
But when i try to play normal minecraft to test it minecraft crashes at logo Mojang but i had all item textures and everything
and when i try to play at test_game.bat it crashes too and is saying:
I will show my javas:
mod_Emeralds.java:
And my EnumToolMaterial.java:
Why does minecraft crashes at start?
Please help!
But when i try to play normal minecraft to test it minecraft crashes at logo Mojang but i had all item textures and everything
and when i try to play at test_game.bat it crashes too and is saying:
- Code:
*** Minecraft Coder Pack Version 2.12 ***
16 achievements
146 recipes
ModLoader Beta 1.5_01v3 Initializing...
CONFLICT @ 2000
CONFLICT @ 2001
Overriding /terrain.png with /emeraldore.png @ 30. 92 left.
Overriding /gui/items.png with /emeraldItem.png @ 38. 132 left.
Overriding /gui/items.png with /emeraldpick.png @ 46. 131 left.
Overriding /gui/items.png with /emeraldshovel.png @ 60. 130 left.
Overriding /gui/items.png with /emeraldaxe.png @ 61. 129 left.
Overriding /gui/items.png with /emeraldhoe.png @ 62. 128 left.
Overriding /gui/items.png with /emeraldsword.png @ 85. 127 left.
Mod Loaded: net.minecraft.src.mod_Emeralds 1.5_01
Done.
WARNING: Found unknown Windows version: Windows 7
Attempting to use default windows plug-in.
Loading: net.java.games.input.DirectAndRawInputEnvironmentPlugin
Starting up SoundSystem...
Initializing LWJGL OpenAL
(The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.or
g)
OpenAL initialized.
java.lang.RuntimeException: java.lang.Exception: Image not found: /emeraldpick.p
ng
at net.minecraft.src.ModLoader.RegisterAllTextureOverrides(ModLoader.jav
a:1109)
at net.minecraft.src.ModLoader.OnTick(ModLoader.java:832)
at net.minecraft.src.EntityRendererProxy.updateCameraAndRender(EntityRen
dererProxy.java:20)
at net.minecraft.client.Minecraft.run(Minecraft.java:489)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.Exception: Image not found: /emeraldpick.png
at net.minecraft.src.ModLoader.loadImage(ModLoader.java:806)
at net.minecraft.src.ModLoader.RegisterAllTextureOverrides(ModLoader.jav
a:1101)
... 4 more
Stopping!
SoundSystem shutting down...
Author: Paul Lamb, www.paulscode.com
Press any key to continue . . .
I will show my javas:
mod_Emeralds.java:
- Code:
package net.minecraft.src;
import java.util.Random;
public class mod_Emeralds extends BaseMod
{
public static final Block emeraldOre = new BlockEmeraldOre(97, 0).setHardness(3.0F).setResistance(5.0F).setBlockName("emeraldOre");
public static final Item emeraldItem = new Item(2000).setItemName("emeraldItem");
public static final Item emeraldPick = new ItemPickaxe(2001, EnumToolMaterial.EMERALDTWO).setItemName("emeraldPick");
public static final Item emeraldShovel = new ItemSpade(2002, EnumToolMaterial.EMERALDTWO).setItemName("emeraldShovel");
public static final Item emeraldAxe = new ItemAxe(2003, EnumToolMaterial.EMERALDTWO).setItemName("emeraldAxe");
public static final Item emeraldHoe = new ItemHoe(2004, EnumToolMaterial.EMERALDTWO).setItemName("emeraldHoe");
public static final Item emeraldSword = new ItemSword(2005, EnumToolMaterial.EMERALDTWO).setItemName("emeraldSword");
public mod_Emeralds()
{
ModLoader.RegisterBlock(emeraldOre);
emeraldOre.blockIndexInTexture = ModLoader.addOverride("/terrain.png", "/ore/emeraldore.png");
emeraldItem.iconIndex = ModLoader.addOverride("/gui/items.png", "/ore/emeraldItem.png");
emeraldPick.iconIndex = ModLoader.addOverride("/gui/items.png", "/ore/emeraldpick.png");
emeraldShovel.iconIndex = ModLoader.addOverride("/gui/items.png", "/ore/emeraldshovel.png");
emeraldAxe.iconIndex = ModLoader.addOverride("/gui/items.png", "/ore/emeraldaxe.png");
emeraldHoe.iconIndex = ModLoader.addOverride("/gui/items.png", "/ore/emeraldhoe.png");
emeraldSword.iconIndex = ModLoader.addOverride("/gui/items.png", "/ore/emeraldsword.png");
ModLoader.AddName(emeraldOre, "Emerald Ore");
ModLoader.AddName(emeraldItem, "Emerald");
ModLoader.AddName(emeraldPick, "Emerald Pickaxe");
ModLoader.AddName(emeraldShovel, "Emerald Shovel");
ModLoader.AddName(emeraldAxe, "Emerald Axe");
ModLoader.AddName(emeraldHoe, "Emerald Hoe");
ModLoader.AddName(emeraldSword, "Emerald Sword");
}
public String Version()
{
return "1.5_01";
}
}
And my EnumToolMaterial.java:
- Code:
package net.minecraft.src;
import java.util.Random;
public enum EnumToolMaterial
{
WOOD("WOOD", 0, 0, 59, 2.0F, 0),
STONE("STONE", 1, 1, 131, 4F, 1),
IRON("IRON", 2, 2, 250, 6F, 2),
EMERALD("EMERALD", 3, 3, 1561, 8F, 3),
GOLD("GOLD", 4, 0, 32, 12F, 0),
EMERALDTWO("EMERALDTWO", 10, 10, 1000, 10F, 5);
/*
public static EnumToolMaterial[] values()
{
return (EnumToolMaterial[])field_21209_j.clone();
}
public static EnumToolMaterial valueOf(String s)
{
return (EnumToolMaterial)Enum.valueOf(EnumToolMaterial.class, s);
}
*/
private EnumToolMaterial(String s, int i, int j, int k, float f, int l)
{
//super(s, i);
harvestLevel = j;
maxUses = k;
efficiencyOnProperMaterial = f;
damageVsEntity = l;
}
public int getMaxUses()
{
return maxUses;
}
public float getEfficiencyOnProperMaterial()
{
return efficiencyOnProperMaterial;
}
public int getDamageVsEntity()
{
return damageVsEntity;
}
public int getHarvestLevel()
{
return harvestLevel;
}
/*
public static final EnumToolMaterial WOOD;
public static final EnumToolMaterial STONE;
public static final EnumToolMaterial IRON;
public static final EnumToolMaterial EMERALD;
public static final EnumToolMaterial GOLD;
public static final EnumToolMaterial EMERALDTWO;
*/
private final int harvestLevel;
private final int maxUses;
private final float efficiencyOnProperMaterial;
private final int damageVsEntity;
//private static final EnumToolMaterial field_21209_j[]; /* synthetic field */
/*
static
{
WOOD = new EnumToolMaterial("WOOD", 0, 0, 59, 2.0F, 0);
STONE = new EnumToolMaterial("STONE", 1, 1, 131, 4F, 1);
IRON = new EnumToolMaterial("IRON", 2, 2, 250, 6F, 2);
EMERALD = new EnumToolMaterial("EMERALD", 3, 3, 1561, 8F, 3);
GOLD = new EnumToolMaterial("GOLD", 4, 0, 32, 12F, 0);
2EMERALD = new EnumToolMaterial("EMERALDTWO", 10, 10, 1000, 10F, 5);
field_21209_j = (new EnumToolMaterial[] {
WOOD, STONE, IRON, EMERALD, GOLD, EMERALDTWO
});
}
*/
}
Why does minecraft crashes at start?
Please help!
Last edited by ShadowNightPro on Sun May 01, 2011 3:59 pm; edited 4 times in total
ShadowNightPro- Crafter
- Posts : 23
Join date : 2011-05-01
Re: [UNANSWERED]Help minecraft not working!(With java shown)
java.lang.RuntimeException: java.lang.Exception: Image not found: /emeraldpick.p
ng
at net.minecraft.src.ModLoader.RegisterAllTextureOverrides(ModLoader.jav
a:1109)
at net.minecraft.src.ModLoader.OnTick(ModLoader.java:832)
at net.minecraft.src.EntityRendererProxy.updateCameraAndRender(EntityRen
dererProxy.java:20)
at net.minecraft.client.Minecraft.run(Minecraft.java:489)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.Exception: Image not found: /emeraldpick.png
at net.minecraft.src.ModLoader.loadImage(ModLoader.java:806)
at net.minecraft.src.ModLoader.RegisterAllTextureOverrides(ModLoader.jav
a:1101)
... 4 more
Stopping!
ok basically here it is saying you do not have the images for things like /emeraldpick.png/ in your file...
so fix it
and im not sure but i think you should put another "/" after the .png and well if anything i just said dont work then im clueless... because the error log clearly states that you dont have the pictures
madcrazydrumma- ZidMC Coder
- Posts : 61
Join date : 2011-04-22
Age : 27
Location : Dubai
Re: [UNANSWERED]Help minecraft not working!(With java shown)
Got this too! Look:
rockymc- Gold Miner
- Posts : 102
Join date : 2011-05-01
Age : 43
Location : Brazil
Re: [UNANSWERED]Help minecraft not working!(With java shown)
Btw, where do I put my rockymc folder?
rockymc- Gold Miner
- Posts : 102
Join date : 2011-05-01
Age : 43
Location : Brazil
Re: [UNANSWERED]Help minecraft not working!(With java shown)
if it contains your item.png files then you put it in the /item/ folder...
so keep this in mind:
for items : /item/
for mobs : /mob/
and i think its all your texture overrides that are causing the problem...
idk to be honest just make sure everything is in the right place and try again mate
so keep this in mind:
for items : /item/
for mobs : /mob/
and i think its all your texture overrides that are causing the problem...
idk to be honest just make sure everything is in the right place and try again mate
madcrazydrumma- ZidMC Coder
- Posts : 61
Join date : 2011-04-22
Age : 27
Location : Dubai
Re: [UNANSWERED]Help minecraft not working!(With java shown)
I asked: where do I put my folder in MCP? Sources/minecraft/net/src?
Btw, I'll put it inside /item/ just in case.
Btw, I'll put it inside /item/ just in case.
rockymc- Gold Miner
- Posts : 102
Join date : 2011-05-01
Age : 43
Location : Brazil
Re: [UNANSWERED]Help minecraft not working!(With java shown)
The problem is: it doesn't find the folder.
I changed /rockymc/ to /gui/rockymc/. Didn't worked. It overrides well but when MC starts it says it didn't found the block. Maybe I need to put the folder where?
I changed /rockymc/ to /gui/rockymc/. Didn't worked. It overrides well but when MC starts it says it didn't found the block. Maybe I need to put the folder where?
rockymc- Gold Miner
- Posts : 102
Join date : 2011-05-01
Age : 43
Location : Brazil
Re: [UNANSWERED]Help minecraft not working!(With java shown)
did you add every single texture like /emeraldpick.png/ and all the tools?!??!
madcrazydrumma- ZidMC Coder
- Posts : 61
Join date : 2011-04-22
Age : 27
Location : Dubai
Re: [UNANSWERED]Help minecraft not working!(With java shown)
Yes, and it doesn't work
ShadowNightPro- Crafter
- Posts : 23
Join date : 2011-05-01
Re: [UNANSWERED]Help minecraft not working!(With java shown)
Can someone please write code how it should look because it doesn't work for me when i write it
ShadowNightPro- Crafter
- Posts : 23
Join date : 2011-05-01
Re: [UNANSWERED]Help minecraft not working!(With java shown)
You have to put the images just inside you minecraft.jar in whatever folder you designated... like I named mine "/itams/". So using that example you'd just drag and drop the itams folder with all the pngs in it into your .jar, and as long as all the overrides pointed to "/itams/imagename.png" it should find them.
Edit: Ohhhh... sorry, read that wrong... if you're using test_game.bat you should just have to drop the images into your /temp/minecraft/ folder
Edit: Ohhhh... sorry, read that wrong... if you're using test_game.bat you should just have to drop the images into your /temp/minecraft/ folder
Last edited by Meglazero on Sun May 01, 2011 1:43 pm; edited 2 times in total
Meglazero- Iron Miner
- Posts : 51
Join date : 2011-04-22
Re: [UNANSWERED]Help minecraft not working!(With java shown)
Meglazero wrote:You have to put the images just inside you minecraft.jar in whatever folder you designated... like I named mine "/itams/". So using that example you'd just drag and drop the itams folder with all the pngs in it into your .jar, and as long as all the overrides pointed to "/itams/imagename.png" it should find them.
Edit: Ohhhh... sorry, read that wrong... if you're using test_game.bat you should just have to drop the images into your /temp/minecraft/ folder
I've done everything what you said but it still loads and shows Mojang logo and crashes.
Please help if you have something else in mind why it doesn't work!!!
ShadowNightPro- Crafter
- Posts : 23
Join date : 2011-05-01
Re: [UNANSWERED]Help minecraft not working!(With java shown)
Have you tried recompiling, putting the new files you've made or changed into client_obfuscation and using reobf.bat to load your classes into a clean .jar with modloader? test_game is semi buggy so you might need to actually install your mod to see if it works. Also have you deleted the META-INF folder?
Meglazero- Iron Miner
- Posts : 51
Join date : 2011-04-22
Re: [UNANSWERED]Help minecraft not working!(With java shown)
Yes i did everything of that.
ShadowNightPro- Crafter
- Posts : 23
Join date : 2011-05-01
Re: [UNANSWERED]Help minecraft not working!(With java shown)
Alright. Reobf it and pass me all your stuff in a DL link. I'll fix this.
Re: [UNANSWERED]Help minecraft not working!(With java shown)
FIX: put your folder with the textures in 'temp' in your MCP root directory. Then run it.
rockymc- Gold Miner
- Posts : 102
Join date : 2011-05-01
Age : 43
Location : Brazil
Similar topics
» [*RESOLVED*] Mod not working with Minecraft?
» Minecraft Smilies
» Help minecraft not launching!!!
» Minecraft Scene Creator
» HELP ME! REOBF CRASH MY MINECRAFT!
» Minecraft Smilies
» Help minecraft not launching!!!
» Minecraft Scene Creator
» HELP ME! REOBF CRASH MY MINECRAFT!
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|