ZidMC
Would you like to react to this message? Create an account in a few clicks or log in to continue.

[UNANSWERED]Help minecraft not working!(With java shown)

5 posters

Go down

[UNANSWERED]Help minecraft not working!(With java shown) Empty [UNANSWERED]Help minecraft not working!(With java shown)

Post by ShadowNightPro Sun May 01, 2011 11:25 am

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:


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

Back to top Go down

[UNANSWERED]Help minecraft not working!(With java shown) Empty Re: [UNANSWERED]Help minecraft not working!(With java shown)

Post by madcrazydrumma Sun May 01, 2011 11:30 am


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 Razz
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
ZidMC Coder

Posts : 61
Join date : 2011-04-22
Age : 27
Location : Dubai

Back to top Go down

[UNANSWERED]Help minecraft not working!(With java shown) Empty Re: [UNANSWERED]Help minecraft not working!(With java shown)

Post by rockymc Sun May 01, 2011 11:36 am

Got this too! Look: [UNANSWERED]Help minecraft not working!(With java shown) 1xx9wi

rockymc
Gold Miner

Posts : 102
Join date : 2011-05-01
Age : 43
Location : Brazil

Back to top Go down

[UNANSWERED]Help minecraft not working!(With java shown) Empty Re: [UNANSWERED]Help minecraft not working!(With java shown)

Post by rockymc Sun May 01, 2011 11:38 am

Btw, where do I put my rockymc folder?

rockymc
Gold Miner

Posts : 102
Join date : 2011-05-01
Age : 43
Location : Brazil

Back to top Go down

[UNANSWERED]Help minecraft not working!(With java shown) Empty Re: [UNANSWERED]Help minecraft not working!(With java shown)

Post by madcrazydrumma Sun May 01, 2011 11:42 am

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 Smile

madcrazydrumma
ZidMC Coder
ZidMC Coder

Posts : 61
Join date : 2011-04-22
Age : 27
Location : Dubai

Back to top Go down

[UNANSWERED]Help minecraft not working!(With java shown) Empty Re: [UNANSWERED]Help minecraft not working!(With java shown)

Post by rockymc Sun May 01, 2011 11:45 am

I asked: where do I put my folder in MCP? Sources/minecraft/net/src?

Btw, I'll put it inside /item/ just in case.

rockymc
Gold Miner

Posts : 102
Join date : 2011-05-01
Age : 43
Location : Brazil

Back to top Go down

[UNANSWERED]Help minecraft not working!(With java shown) Empty Re: [UNANSWERED]Help minecraft not working!(With java shown)

Post by rockymc Sun May 01, 2011 11:48 am

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?

rockymc
Gold Miner

Posts : 102
Join date : 2011-05-01
Age : 43
Location : Brazil

Back to top Go down

[UNANSWERED]Help minecraft not working!(With java shown) Empty Re: [UNANSWERED]Help minecraft not working!(With java shown)

Post by madcrazydrumma Sun May 01, 2011 11:57 am

did you add every single texture like /emeraldpick.png/ and all the tools?!??!


madcrazydrumma
ZidMC Coder
ZidMC Coder

Posts : 61
Join date : 2011-04-22
Age : 27
Location : Dubai

Back to top Go down

[UNANSWERED]Help minecraft not working!(With java shown) Empty Re: [UNANSWERED]Help minecraft not working!(With java shown)

Post by ShadowNightPro Sun May 01, 2011 12:12 pm

Yes, and it doesn't work

ShadowNightPro
Crafter

Posts : 23
Join date : 2011-05-01

Back to top Go down

[UNANSWERED]Help minecraft not working!(With java shown) Empty Re: [UNANSWERED]Help minecraft not working!(With java shown)

Post by ShadowNightPro Sun May 01, 2011 12:33 pm

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

Back to top Go down

[UNANSWERED]Help minecraft not working!(With java shown) Empty Re: [UNANSWERED]Help minecraft not working!(With java shown)

Post by Meglazero Sun May 01, 2011 1:41 pm

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


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

Back to top Go down

[UNANSWERED]Help minecraft not working!(With java shown) Empty Re: [UNANSWERED]Help minecraft not working!(With java shown)

Post by ShadowNightPro Sun May 01, 2011 3:19 pm

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

Back to top Go down

[UNANSWERED]Help minecraft not working!(With java shown) Empty Re: [UNANSWERED]Help minecraft not working!(With java shown)

Post by Meglazero Sun May 01, 2011 3:27 pm

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

Back to top Go down

[UNANSWERED]Help minecraft not working!(With java shown) Empty Re: [UNANSWERED]Help minecraft not working!(With java shown)

Post by ShadowNightPro Sun May 01, 2011 3:56 pm

Yes i did everything of that.

ShadowNightPro
Crafter

Posts : 23
Join date : 2011-05-01

Back to top Go down

[UNANSWERED]Help minecraft not working!(With java shown) Empty Re: [UNANSWERED]Help minecraft not working!(With java shown)

Post by Ziddia Sun May 01, 2011 5:50 pm

Alright. Reobf it and pass me all your stuff in a DL link. I'll fix this.

Ziddia
Admin
Admin

Posts : 168
Join date : 2011-04-22

https://zidmc.forumotion.com

Back to top Go down

[UNANSWERED]Help minecraft not working!(With java shown) Empty Re: [UNANSWERED]Help minecraft not working!(With java shown)

Post by rockymc Mon May 02, 2011 4:17 pm

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

Back to top Go down

[UNANSWERED]Help minecraft not working!(With java shown) Empty Re: [UNANSWERED]Help minecraft not working!(With java shown)

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum