1
alright so ive followed this tutorial (http://www.youtube.com/watch?v=eLtuwRgNXVU) exactly and i recompiled my files but when i run minecraft it crashes with this error code
Mods loaded: 2
ModLoader 1.2.5
mod_MasterTools 3.14159265
Minecraft has crashed!
----------------------
Minecraft has stopped running because it encountered a problem.
--- BEGIN ERROR REPORT b9e53ead --------
Generated 06/07/12 1:49 PM
Minecraft: Minecraft 1.2.5
OS: Windows 7 (amd64) version 6.1
Java: 1.7.0_05, Oracle Corporation
VM: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
LWJGL: 2.4.2
OpenGL: Intel(R) HD Graphics Family version 3.0.0 - Build 8.15.10.2291, Intel
java.lang.RuntimeException: java.lang.Exception: Image not found: /MasterSword.png
at net.minecraft.src.ModLoader.registerAllTextureOverrides(ModLoader.java:1451)
at net.minecraft.src.ModLoader.onTick(ModLoader.java:1104)
at net.minecraft.src.EntityRendererProxy.updateCameraAndRender(EntityRendererProxy.java:21)
at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:922)
at net.minecraft.client.Minecraft.run(Minecraft.java:801)
at java.lang.Thread.run(Thread.java:722)
Caused by: java.lang.Exception: Image not found: /MasterSword.png
at net.minecraft.src.ModLoader.loadImage(ModLoader.java:1024)
at net.minecraft.src.ModLoader.registerAllTextureOverrides(ModLoader.java:1443)
... 5 more
--- END ERROR REPORT 8fa8c52c ----------
heres my code
package
net.minecraft.src;
import
java.util.Random;
public
class mod_MasterTools extends BaseMod
{
public static final Item MasterSword = new ItemSword(2101, EnumToolMaterial.Master).setItemName("crap");
public void load()
{
//Master Sword
MasterSword.iconIndex = ModLoader.addOverride("/gui/items.png" , "/items/MasterSword.png");
ModLoader.addName(
MasterSword, "MasterSword");
ModLoader.addRecipe(
new ItemStack(MasterSword,1), new Object[]{
" & ", " * ", " X ", Character.valueOf('&'), Item.ingotGold,
Character.valueOf(
'X'), Item.stick, Character.valueOf('*'), Block.blockDiamond});
}
public String getVersion()
{
return "3.14159265";
}
}
and heres the code in EnumTool material
package
net.minecraft.src;
public
enum EnumToolMaterial
{
WOOD(0, 59, 2.0F, 0, 15),
STONE(1, 131, 4F, 1, 5),
IRON(2, 250, 6F, 2, 14),
EMERALD(3, 1561, 8F, 3, 10),
GOLD(0, 32, 12F, 0, 22) ,
Master(4, 1700, 10F, 4, 10);
/**
* The level of material this tool can harvest (3 = DIAMOND, 2 = IRON, 1 = STONE, 0 = IRON/GOLD)
*/
private final int harvestLevel;
/**
* The number of uses this material allows. (wood = 59, stone = 131, iron = 250, diamond = 1561, gold = 32)
*/
private final int maxUses;
/**
* The strength of this tool material against blocks which it is effective against.
*/
private final float efficiencyOnProperMaterial;
/** Damage versus entities. */
private final int damageVsEntity;
/** Defines the natural enchantability factor of the material. */
private final int enchantability;
private EnumToolMaterial(int par3, int par4, float par5, int par6, int par7)
{
harvestLevel = par3;
maxUses = par4;
efficiencyOnProperMaterial = par5;
damageVsEntity = par6;
enchantability = par7;
}
/**
* The number of uses this material allows. (wood = 59, stone = 131, iron = 250, diamond = 1561, gold = 32)
*/
public int getMaxUses()
{
return maxUses;
}
/**
* The strength of this tool material against blocks which it is effective against.
*/
public float getEfficiencyOnProperMaterial()
{
return efficiencyOnProperMaterial;
}
/**
* Damage versus entities.
*/
public int getDamageVsEntity()
{
return damageVsEntity;
}
/**
* The level of material this tool can harvest (3 = DIAMOND, 2 = IRON, 1 = STONE, 0 = IRON/GOLD)
*/
public int getHarvestLevel()
{
return harvestLevel;
}
/**
* Return the natural enchantability factor of the material.
*/
public int getEnchantability()
{
return enchantability;
}
}
please respond soon!
Mods loaded: 2
ModLoader 1.2.5
mod_MasterTools 3.14159265
Minecraft has crashed!
----------------------
Minecraft has stopped running because it encountered a problem.
--- BEGIN ERROR REPORT b9e53ead --------
Generated 06/07/12 1:49 PM
Minecraft: Minecraft 1.2.5
OS: Windows 7 (amd64) version 6.1
Java: 1.7.0_05, Oracle Corporation
VM: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
LWJGL: 2.4.2
OpenGL: Intel(R) HD Graphics Family version 3.0.0 - Build 8.15.10.2291, Intel
java.lang.RuntimeException: java.lang.Exception: Image not found: /MasterSword.png
at net.minecraft.src.ModLoader.registerAllTextureOverrides(ModLoader.java:1451)
at net.minecraft.src.ModLoader.onTick(ModLoader.java:1104)
at net.minecraft.src.EntityRendererProxy.updateCameraAndRender(EntityRendererProxy.java:21)
at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:922)
at net.minecraft.client.Minecraft.run(Minecraft.java:801)
at java.lang.Thread.run(Thread.java:722)
Caused by: java.lang.Exception: Image not found: /MasterSword.png
at net.minecraft.src.ModLoader.loadImage(ModLoader.java:1024)
at net.minecraft.src.ModLoader.registerAllTextureOverrides(ModLoader.java:1443)
... 5 more
--- END ERROR REPORT 8fa8c52c ----------
heres my code
package
net.minecraft.src;
import
java.util.Random;
public
class mod_MasterTools extends BaseMod
{
public static final Item MasterSword = new ItemSword(2101, EnumToolMaterial.Master).setItemName("crap");
public void load()
{
//Master Sword
MasterSword.iconIndex = ModLoader.addOverride("/gui/items.png" , "/items/MasterSword.png");
ModLoader.addName(
MasterSword, "MasterSword");
ModLoader.addRecipe(
new ItemStack(MasterSword,1), new Object[]{
" & ", " * ", " X ", Character.valueOf('&'), Item.ingotGold,
Character.valueOf(
'X'), Item.stick, Character.valueOf('*'), Block.blockDiamond});
}
public String getVersion()
{
return "3.14159265";
}
}
and heres the code in EnumTool material
package
net.minecraft.src;
public
enum EnumToolMaterial
{
WOOD(0, 59, 2.0F, 0, 15),
STONE(1, 131, 4F, 1, 5),
IRON(2, 250, 6F, 2, 14),
EMERALD(3, 1561, 8F, 3, 10),
GOLD(0, 32, 12F, 0, 22) ,
Master(4, 1700, 10F, 4, 10);
/**
* The level of material this tool can harvest (3 = DIAMOND, 2 = IRON, 1 = STONE, 0 = IRON/GOLD)
*/
private final int harvestLevel;
/**
* The number of uses this material allows. (wood = 59, stone = 131, iron = 250, diamond = 1561, gold = 32)
*/
private final int maxUses;
/**
* The strength of this tool material against blocks which it is effective against.
*/
private final float efficiencyOnProperMaterial;
/** Damage versus entities. */
private final int damageVsEntity;
/** Defines the natural enchantability factor of the material. */
private final int enchantability;
private EnumToolMaterial(int par3, int par4, float par5, int par6, int par7)
{
harvestLevel = par3;
maxUses = par4;
efficiencyOnProperMaterial = par5;
damageVsEntity = par6;
enchantability = par7;
}
/**
* The number of uses this material allows. (wood = 59, stone = 131, iron = 250, diamond = 1561, gold = 32)
*/
public int getMaxUses()
{
return maxUses;
}
/**
* The strength of this tool material against blocks which it is effective against.
*/
public float getEfficiencyOnProperMaterial()
{
return efficiencyOnProperMaterial;
}
/**
* Damage versus entities.
*/
public int getDamageVsEntity()
{
return damageVsEntity;
}
/**
* The level of material this tool can harvest (3 = DIAMOND, 2 = IRON, 1 = STONE, 0 = IRON/GOLD)
*/
public int getHarvestLevel()
{
return harvestLevel;
}
/**
* Return the natural enchantability factor of the material.
*/
public int getEnchantability()
{
return enchantability;
}
}
please respond soon!
Tags |
1076646
6
Create an account or sign in to comment.