I recompile my code just fine just when I click test_game.bat though i get this error
*** Minecraft Coder Pack Version 2.9 ***
Exception in thread "main" java.lang.ExceptionInInitializerError
at net.minecraft.src.TextureWaterFX.<init>(TextureWaterFX.java:12)
at net.minecraft.client.Minecraft.<init>(Minecraft.java:41)
at net.minecraft.src.MinecraftImpl.<init>(MinecraftImpl.java:15)
at net.minecraft.client.Minecraft.startMainThread(Minecraft.java:1493)
at net.minecraft.client.Minecraft.func_6269_a(Minecraft.java:1479)
at net.minecraft.client.Minecraft.main(Minecraft.java:1537)
at Start.main(Start.java:26)
Caused by: java.lang.ArrayIndexOutOfBoundsException: 855
at net.minecraft.src.Block.<init>(Block.java:17)
at net.minecraft.src.Block.<init>(Block.java:36)
at net.minecraft.src.BlockSGlass.<init>(BlockSGlass.java:9)
at net.minecraft.src.Block.<clinit>(Block.java:743)
... 7 more
How would i fix this?
It only did this when I tried adding a new block
here is the block code and all code used for it
BlockSGlass.java
package net.minecraft.src;
import java.util.Random;
public class BlockSGlass extends Block
{
public BlockSGlass(int i, int j)
{
super(i, j, Material.glass);
}
public int idDropped(int i, Random random)
{
return 0;
}
}
Block.java
public static final Block SGlass;
and
SGlass = (new BlockSGlass(855,49)).setHardness(5F).setResistance(15F).setStepSound(soundGlassFootstep);
How would i fix this?
It only did this when I tried adding a new block
here is the block code and all code used for it
BlockSGlass.java
Block.java
and
please help
Locked.