Jump to content

Minecraft Test Error


AssassinHero

Recommended Posts

Hey guys, I was testing my minecraft today and I recieved this error

2013-03-24 13:21:10 [sEVERE] [ForgeModLoader] Fatal errors were detected during the transition from INITIALIZATION to POSTINITIALIZATION. Loading cannot continue
2013-03-24 13:21:10 [sEVERE] [ForgeModLoader] 
mcp [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized
FML [Forge Mod Loader] (coremods) Unloaded->Constructed->Pre-initialized->Initialized
Forge [Minecraft Forge] (coremods) Unloaded->Constructed->Pre-initialized->Initialized
Parallel Worlds [ParallelWorlds] (bin) Unloaded->Constructed->Pre-initialized->Errored
2013-03-24 13:21:10 [sEVERE] [ForgeModLoader] The following problems were captured during this phase
2013-03-24 13:21:10 [sEVERE] [ForgeModLoader] Caught exception from Parallel Worlds
java.lang.StringIndexOutOfBoundsException: String index out of range: 8
at java.lang.String.charAt(Unknown Source)
at net.minecraft.item.crafting.CraftingManager.addRecipe(CraftingManager.java:209)
at cpw.mods.fml.common.registry.GameRegistry.addShapedRecipe(GameRegistry.java:244)
at cpw.mods.fml.common.registry.GameRegistry.addRecipe(GameRegistry.java:239)
at assassinhero.parallelworlds.ParallelWorlds.craftingRecipes(ParallelWorlds.java:117)
at assassinhero.parallelworlds.ParallelWorlds.InitParallelWorlds(ParallelWorlds.java:104)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:515)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)
at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)
at com.google.common.eventbus.EventBus.post(EventBus.java:267)
at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:165)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)
at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)
at com.google.common.eventbus.EventBus.post(EventBus.java:267)
at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:98)
at cpw.mods.fml.common.Loader.initializeMods(Loader.java:681)
at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:206)
at net.minecraft.client.Minecraft.startGame(Minecraft.java:443)
at net.minecraft.client.MinecraftAppletImpl.startGame(MinecraftAppletImpl.java:44)
at net.minecraft.client.Minecraft.run(Minecraft.java:728)
at java.lang.Thread.run(Unknown Source)
2013-03-24 13:21:10 [iNFO] [sTDERR] java.lang.StringIndexOutOfBoundsException: String index out of range: 8
2013-03-24 13:21:10 [iNFO] [sTDERR] 	at java.lang.String.charAt(Unknown Source)
2013-03-24 13:21:10 [iNFO] [sTDERR] 	at net.minecraft.item.crafting.CraftingManager.addRecipe(CraftingManager.java:209)
2013-03-24 13:21:10 [iNFO] [sTDERR] 	at cpw.mods.fml.common.registry.GameRegistry.addShapedRecipe(GameRegistry.java:244)
2013-03-24 13:21:10 [iNFO] [sTDERR] 	at cpw.mods.fml.common.registry.GameRegistry.addRecipe(GameRegistry.java:239)
2013-03-24 13:21:10 [iNFO] [sTDERR] 	at assassinhero.parallelworlds.ParallelWorlds.craftingRecipes(ParallelWorlds.java:117)
2013-03-24 13:21:10 [iNFO] [sTDERR] 	at assassinhero.parallelworlds.ParallelWorlds.InitParallelWorlds(ParallelWorlds.java:104)
2013-03-24 13:21:10 [iNFO] [sTDERR] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2013-03-24 13:21:10 [iNFO] [sTDERR] 	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
2013-03-24 13:21:10 [iNFO] [sTDERR] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
2013-03-24 13:21:10 [iNFO] [sTDERR] 	at java.lang.reflect.Method.invoke(Unknown Source)
2013-03-24 13:21:10 [iNFO] [sTDERR] 	at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:515)
2013-03-24 13:21:10 [iNFO] [sTDERR] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2013-03-24 13:21:10 [iNFO] [sTDERR] 	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
2013-03-24 13:21:10 [iNFO] [sTDERR] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
2013-03-24 13:21:10 [iNFO] [sTDERR] 	at java.lang.reflect.Method.invoke(Unknown Source)
2013-03-24 13:21:10 [iNFO] [sTDERR] 	at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)
2013-03-24 13:21:10 [iNFO] [sTDERR] 	at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
2013-03-24 13:21:10 [iNFO] [sTDERR] 	at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314)
2013-03-24 13:21:10 [iNFO] [sTDERR] 	at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)
2013-03-24 13:21:10 [iNFO] [sTDERR] 	at com.google.common.eventbus.EventBus.post(EventBus.java:267)
2013-03-24 13:21:10 [iNFO] [sTDERR] 	at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:165)
2013-03-24 13:21:10 [iNFO] [sTDERR] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2013-03-24 13:21:10 [iNFO] [sTDERR] 	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
2013-03-24 13:21:10 [iNFO] [sTDERR] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
2013-03-24 13:21:10 [iNFO] [sTDERR] 	at java.lang.reflect.Method.invoke(Unknown Source)
2013-03-24 13:21:10 [iNFO] [sTDERR] 	at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)
2013-03-24 13:21:10 [iNFO] [sTDERR] 	at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
2013-03-24 13:21:10 [iNFO] [sTDERR] 	at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314)
2013-03-24 13:21:10 [iNFO] [sTDERR] 	at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)
2013-03-24 13:21:10 [iNFO] [sTDERR] 	at com.google.common.eventbus.EventBus.post(EventBus.java:267)
2013-03-24 13:21:10 [iNFO] [sTDERR] 	at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:98)
2013-03-24 13:21:10 [iNFO] [sTDERR] 	at cpw.mods.fml.common.Loader.initializeMods(Loader.java:681)
2013-03-24 13:21:10 [iNFO] [sTDERR] 	at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:206)
2013-03-24 13:21:10 [iNFO] [sTDERR] 	at net.minecraft.client.Minecraft.startGame(Minecraft.java:443)
2013-03-24 13:21:10 [iNFO] [sTDERR] 	at net.minecraft.client.MinecraftAppletImpl.startGame(MinecraftAppletImpl.java:44)
2013-03-24 13:21:10 [iNFO] [sTDERR] 	at net.minecraft.client.Minecraft.run(Minecraft.java:728)
2013-03-24 13:21:10 [iNFO] [sTDERR] 	at java.lang.Thread.run(Unknown Source)
2013-03-24 13:21:20 [iNFO] [sTDERR] Someone is closing me!

 

I have no clue what is causing this at all. I have googled it and checked multiple things but none of them apply to my situation

 

Here is my main class

 

@NetworkMod(clientSideRequired=true, serverSideRequired= true,
clientPacketHandlerSpec = @cpw.mods.fml.common.network.NetworkMod.SidedPacketHandler(channels = {"ParallelWorlds"} , packetHandler = ParallelWorldsClientPacketHandler.class),
serverPacketHandlerSpec = @cpw.mods.fml.common.network.NetworkMod.SidedPacketHandler(channels = {"ParallelWorlds"} , packetHandler = ParallelWorldsServerPacketHandler.class))

@Mod(modid="Parallel Worlds", name = "ParallelWorlds",version = "1.0.0")


public class ParallelWorlds {

@cpw.mods.fml.common.Mod.Instance("ParallelWorlds")
public static ParallelWorlds Instance = new ParallelWorlds();

@SidedProxy(clientSide = "assassinhero.parallelworlds.client.ParallelWorldsClientProxy", serverSide = "assassinhero.parallelworlds.common.ParallelWorldsCommonProxy")
public static ParallelWorldsCommonProxy proxy;

public static Item HeavenlyPickaxe;
public static Item SapphirePickaxe;
public static Item Sapphire;
public static Item TimePickaxe;
public static Item TimeShovel;
public static Item TimeAxe;
public static Item TimeSword;
public static Block TimeOre;
public static Item AscariteHelmet;
public static Item AscariteChestplate;
public static Item AscariteLeggings;
public static Item AscariteBoots;
public static Block HeavenlyOre;
public static Item HeavenlyIngot;
public static Block Ascarite;
public static Block Hellite;
public static Block Arcticite;
public static Block NightOre;
public static Item TimeGem;
public static Block TimeStone;
public static Block NightStone;
public static Item NightGem;
@cpw.mods.fml.common.Mod.PreInit
public void PreInit(FMLPreInitializationEvent event){
	NightOre = new BlockNightOre(3657).setUnlocalizedName("Night Ore");
	NightStone = new BlockNightStoneBlock(3658).setUnlocalizedName("Night Stone");
	TimeStone = new BlockTimeStoneBlock(3659).setUnlocalizedName("Time Stone");
	Arcticite = new BlockArcticiteBlock(3660).setUnlocalizedName("Arcticite");
	Hellite = new BlockHelliteBlock(3661).setUnlocalizedName("Hellite");
	Ascarite = new BlockAscariteBlock(3662).setUnlocalizedName("Ascarite");
	HeavenlyOre = new BlockHeavenlyOre(3663).setUnlocalizedName("Heavenly Ore");
	TimeOre = new BlockTimeOre(3664).setUnlocalizedName("Time Ore");
	TimeSword = new ItemTimeSword(8000, EnumToolMaterial.TIME).setUnlocalizedName("Time Sword");
	TimePickaxe = new ItemTimePickaxe(8001, EnumToolMaterial.TIME).setUnlocalizedName("Time Pickaxe");
	TimeAxe = new ItemTimeAxe(8002, EnumToolMaterial.TIME).setUnlocalizedName("Time Axe");
	SapphirePickaxe = new ItemSapphirePickaxe(8005, EnumToolMaterial.SAPPHIRE).setUnlocalizedName("Sapphire Pickaxe");
	HeavenlyPickaxe = new ItemHeavenlyPickaxe(8009, EnumToolMaterial.HEAVENLY).setUnlocalizedName("Heavenly Pickaxe");
	NightGem = new ItemNightGemItem(5000).setUnlocalizedName("Night Gem");
	TimeGem = new ItemTimeGemItem(5001).setUnlocalizedName("Time Gem");
	HeavenlyIngot = new ItemHeavenlyIngotItem(5002).setUnlocalizedName("Heavenly Ingot");
	Sapphire = new ItemSapphireItem(5003).setUnlocalizedName("Sapphire");




}

@Init
public void InitParallelWorlds(FMLInitializationEvent event){
	NetworkRegistry.instance().registerGuiHandler(this, proxy);
	proxy.registerBlocks();
	proxy.registerItems();
	craftingRecipes();
	smeltingRecipes();
	EnumToolMaterial();
}

public void craftingRecipes(){
	GameRegistry.addRecipe(new ItemStack(ParallelWorlds.NightStone, 1), "XX", "XX", Character.valueOf('X'), ParallelWorlds.NightGem);
	GameRegistry.addRecipe(new ItemStack(ParallelWorlds.TimeStone, 1 ), "XX", "XX", Character.valueOf('X'), ParallelWorlds.TimeGem); 
	GameRegistry.addRecipe(new ItemStack(ParallelWorlds.Arcticite, 1), "XX", "XX", Character.valueOf('X'), Block.blockSnow);
	GameRegistry.addRecipe(new ItemStack(ParallelWorlds.Ascarite, 1), "XX", "XX", Character.valueOf('X'), ParallelWorlds.HeavenlyIngot);
	GameRegistry.addRecipe(new ItemStack(ParallelWorlds.TimePickaxe, 1), "XXX", " A ", " A ", Character.valueOf('X'), ParallelWorlds.TimeGem, Character.valueOf('A'), Item.stick);
	GameRegistry.addRecipe(new ItemStack(ParallelWorlds.TimeSword, 1), " X ", " X ", " A ", Character.valueOf('X'), ParallelWorlds.TimeGem, Character.valueOf('A'), Item.stick);
	GameRegistry.addRecipe(new ItemStack(ParallelWorlds.SapphirePickaxe, 1), "XXX", " A ", " A ", Character.valueOf('X'), ParallelWorlds.Sapphire, Character.valueOf('A'), Item.stick);
	GameRegistry.addRecipe(new ItemStack(ParallelWorlds.TimeAxe, 1), "XX", "XA ", " A ", Character.valueOf('X'), ParallelWorlds.TimeGem, Character.valueOf('A'), Item.stick);


}

public void smeltingRecipes(){
}

public static void EnumToolMaterial(){
	EnumToolMaterial toolTime = EnumHelper.addToolMaterial("Time", 3, 2000, 10.F, 5, 20);
	EnumToolMaterial toolSapphire = EnumHelper.addToolMaterial("Sapphire", 3, 1500, 9.0F, 10, 10);


}

}

 

Common Proxy

 

public class ParallelWorldsCommonProxy implements IGuiHandler{

public void registerRenderInformation(){

}

@Override
public Object getServerGuiElement(int ID, EntityPlayer player, World world, int x, int y, int z){
	return null;
}

@Override
public Object getClientGuiElement(int ID, EntityPlayer player, World world, int x, int y, int z){
	return null;
}

public void registerTiles(){

}

public void BlockHarvestLevel(){
}

public void registerBlocks(){

	GameRegistry.registerBlock(ParallelWorlds.NightStone, "Night Stone");
	LanguageRegistry.addName(ParallelWorlds.NightStone, "Night Stone");
	GameRegistry.registerBlock(ParallelWorlds.TimeStone, "Time Stone");
	LanguageRegistry.addName(ParallelWorlds.TimeStone, "Time Stone");
	GameRegistry.registerBlock(ParallelWorlds.NightOre, "Night Ore");
	LanguageRegistry.addName(ParallelWorlds.NightOre, "Night Ore");
	GameRegistry.registerBlock(ParallelWorlds.Arcticite, "Arcticite");
	LanguageRegistry.addName(ParallelWorlds.Arcticite, "Arcticite");
	GameRegistry.registerBlock(ParallelWorlds.Hellite, "Hellite");
	LanguageRegistry.addName(ParallelWorlds.Hellite, "Hellite");
	GameRegistry.registerBlock(ParallelWorlds.Ascarite, "Ascarite");
	LanguageRegistry.addName(ParallelWorlds.Ascarite, "Ascarite");
	GameRegistry.registerBlock(ParallelWorlds.HeavenlyOre, "Heavenly Ore");
	LanguageRegistry.addName(ParallelWorlds.HeavenlyOre, "Heavenly Ore");
	GameRegistry.registerBlock(ParallelWorlds.TimeOre, "Time Ore");
	LanguageRegistry.addName(ParallelWorlds.TimeOre, "Time Ore");



}

public void registerItems(){
	GameRegistry.registerItem(ParallelWorlds.NightGem, "Night Gem");
	LanguageRegistry.addName(ParallelWorlds.NightGem, "Night Gem");
	GameRegistry.registerItem(ParallelWorlds.TimeGem, "Time Gem");
	LanguageRegistry.addName(ParallelWorlds.TimeGem, "Time Gem");
	GameRegistry.registerItem(ParallelWorlds.HeavenlyIngot, "Heavenly Ingot");
	LanguageRegistry.addName(ParallelWorlds.HeavenlyIngot, "Heavenly Ingot");
	GameRegistry.registerItem(ParallelWorlds.TimeSword, "Time Sword");
	LanguageRegistry.addName(ParallelWorlds.TimeSword, "Time Sword");
	GameRegistry.registerItem(ParallelWorlds.TimePickaxe, "Time Pickaxe");
	LanguageRegistry.addName(ParallelWorlds.TimePickaxe, "Time Pickaxe");
	GameRegistry.registerItem(ParallelWorlds.TimeAxe, "Time Axe");
	LanguageRegistry.addName(ParallelWorlds.TimeAxe, "Time Axe");
	GameRegistry.registerItem(ParallelWorlds.Sapphire, "Sapphire");
	LanguageRegistry.addName(ParallelWorlds.Sapphire, "Sapphire");
	GameRegistry.registerItem(ParallelWorlds.SapphirePickaxe, "Sapphire Pickaxe");
	LanguageRegistry.addName(ParallelWorlds.SapphirePickaxe, "Sapphire Pickaxe");
	GameRegistry.registerItem(ParallelWorlds.HeavenlyPickaxe, "Heavenly Pickaxe");
	LanguageRegistry.addName(ParallelWorlds.HeavenlyPickaxe, "Heavenly Pickaxe");


}

}

 

If you need any other code just ask, I will be happy to provide it

 

Thanks in advance! :D

 

STOP CRUCIFYING NEW MODDERS!!!!

Link to comment
Share on other sites

for next time the code tells you where the error is;

2013-03-24 13:21:10 [iNFO] [sTDERR]  at net.minecraft.item.crafting.CraftingManager.addRecipe(CraftingManager.java:209)

this tells you the line of code that is incorrect then you can look at this line and try and ascertain he error more often than not it is a typo like that :)

Use examples, i have aspergers.

Examples make sense to me.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.