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



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • One of my players is suddenly unable to join a locally hosted MC Eternal server. We have been playing on this server for about 2-3 weeks now. I have tried erasing his player files and his reputation file, and now it just coughs up this and kicks him out: [User Authenticator #5/INFO] [minecraft/NetHandlerLoginServer]: UUID of player EthosTheGod is 7692d8db-02c3-424f-a4ab-0e4e259b106b [20:25:36] [User Authenticator #4/INFO] [minecraft/NetHandlerLoginServer]: UUID of player EthosTheGod is 7692d8db-02c3-424f-a4ab-0e4e259b106b [20:29:35] [Server thread/WARN] [minecraft/MinecraftServer]: Can't keep up! Did the system time change, or is the server overloaded? Running 575849ms behind, skipping 11516 tick(s) [20:29:35] [Server thread/INFO] [minecraft/NetHandlerLoginServer]: com.mojang.authlib.GameProfile@4a6c63f1[id=7692d8db-02c3-424f-a4ab-0e4e259b106b,name=EthosTheGod,properties={textures=[com.mojang.authlib.properties.Property@241ea89e]},legacy=false] (/IP.ADDRESS) lost connection: Disconnected [20:29:35] [Server thread/INFO] [minecraft/NetHandlerLoginServer]: com.mojang.authlib.GameProfile@6ab6c661[id=7692d8db-02c3-424f-a4ab-0e4e259b106b,name=EthosTheGod,properties={textures=[com.mojang.authlib.properties.Property@7f19aae3]},legacy=false] (/IP.ADDRESS) lost connection: Disconnected It just says "connection timed out" on his end. Any ideas?
    • I'm trying to migrate my mod from 1.20 to 1.21. Some packages in the forge api were changed so my mod did have some classes not working. I've changed everything i needed but still is getting me the following error error: cannot access Registry DeferredRegister.create(ForgeRegistries.BLOCKS, FarmMod.MOD_ID); ^ class file for net.minecraft.core.Registry not found The piece of code that is wrong is   public static final DeferredRegister<Block> BLOCKS = DeferredRegister.create(ForgeRegistries.BLOCKS, FarmMod.MOD_ID); And here are my imports   import com.lucas.farmmod.FarmMod; import com.lucas.farmmod.block.custom.BaseIrrigatorBlock; import com.lucas.farmmod.item.ModItems; import com.lucas.farmmod.item.custom.BaseIrrigatorBlockItem; import net.minecraft.world.item.BlockItem; import net.minecraft.world.item.Item; import net.minecraft.world.level.block.Block; import net.minecraft.world.level.block.state.BlockBehaviour; import net.minecraftforge.eventbus.api.IEventBus; import net.minecraftforge.registries.DeferredRegister; import net.minecraftforge.registries.ForgeRegistries; import net.minecraftforge.registries.RegistryObject; The class DeferredRegister is throwing the error in the print below     I've tried running rebuilding my project in every way possible, tried refreshing my dependencies but nothing works. What can i do?
    • It sounds like there might be a synchronization issue with your PartEntity. Ensure that the part entity’s position is updated in your entity's tick method to continuously match the main entity’s location.
    • For keyboard and mouse inputs, Minecraft Forge utilizes the event system to manage interactions, making it easier to handle across different mods. If you’re looking to bypass this and read inputs directly, you’d typically look into the KeyboardListener and MouseListener classes in the game's code. These classes process input events directly from the user's hardware. If you're experimenting with inputs a lot, you might find a compact keypad handy for quick commands. Check out numeric keyboard . It can speed up your coding workflow! Good luck!
  • Topics

×
×
  • Create New...

Important Information

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