private static final BlockChalkstoneBlockSlab.EnumType[] META_LOOKUP = new BlockChalkstoneBlockSlab.EnumType[values().length];
Am i wrong saying that this array is full of nulls?
Try doing this in byMetadata(int meta) in the Enum Class:
public static BlockChalkstoneBlockSlab.EnumType byMetadata(int meta)
{
if (meta < 0 || meta >= META_LOOKUP.length)
{
meta = 0;
}
return values()[meta];
}
SuParticle.java -> public SuParticle()...
super(world, zSpeed, zSpeed, zSpeed, zSpeed, zSpeed, zSpeed);
I think this is the mistake youre looking for... The particle is getting spawned but not at the correct coordinates.
Try this instead:
super(xCoord, yCoord, zCoord, xSpeed, ySpeed, zSpeed);