Jump to content

Recommended Posts

Posted

I am encountering issues when using Dyes in a crafting recipie.

 

 

 

 

      Minecraft has crashed!     

      ----------------------     

 

Minecraft has stopped running because it encountered a problem; Failed to start game

 

A full error report has been saved to C:\Users\David\Desktop\MCP Forge\jars\.\crash-reports\crash-2013-03-04_22.38.30-client.txt - Please include a copy of that file (Not this screen!) if you report this crash to anyone; without it, they will not be able to help fix the crash :(

 

 

 

--- BEGIN ERROR REPORT 6b7add57 --------

Full report at:

C:\Users\David\Desktop\MCP Forge\jars\.\crash-reports\crash-2013-03-04_22.38.30-client.txt

Please show that file to Mojang, NOT just this screen!

 

Generated 04/03/13 22:38

 

-- System Details --

Details:

Minecraft Version: 1.4.7

Operating System: Windows 7 (amd64) version 6.1

Java Version: 1.7.0_15, Oracle Corporation

Java VM Version: Java HotSpot 64-Bit Server VM (mixed mode), Oracle Corporation

Memory: 948602096 bytes (904 MB) / 1037959168 bytes (989 MB) up to 1037959168 bytes (989 MB)

JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M

AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used

Suspicious classes: FML and Forge are installed

IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0

FML: MCP v7.26 FML v4.7.4.520 Minecraft Forge 6.6.0.497 4 mods loaded, 4 mods active

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

MedievalWeaponry [MedievalWeaponry] (bin) Unloaded->Constructed->Pre-initialized->Errored

LWJGL: 2.4.2

OpenGL: ATI Radeon HD 4800 Series GL version 3.3.11653 Compatibility Profile Context, ATI Technologies Inc.

Is Modded: Definitely; Client brand changed to 'forge,fml'

Type: Client (map_client.txt)

Texture Pack: Default

Profiler Position: N/A (disabled)

Vec3 Pool Size: ~~ERROR~~ NullPointerException: null

 

java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Character

at net.minecraft.item.crafting.CraftingManager.func_92051_a(CraftingManager.java:173)

at cpw.mods.fml.common.registry.GameRegistry.addRecipe(GameRegistry.java:253)

at mod_MWeaponry.MedievalWeaponry.load(MedievalWeaponry.java:412)

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:485)

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:69)

at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)

at com.google.common.eventbus.EventBus.dispatch(EventBus.java:317)

at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:300)

at com.google.common.eventbus.EventBus.post(EventBus.java:268)

at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:140)

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:69)

at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)

at com.google.common.eventbus.EventBus.dispatch(EventBus.java:317)

at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:300)

at com.google.common.eventbus.EventBus.post(EventBus.java:268)

at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:83)

at cpw.mods.fml.common.Loader.initializeMods(Loader.java:657)

at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:207)

at net.minecraft.client.Minecraft.startGame(Minecraft.java:456)

at net.minecraft.client.MinecraftAppletImpl.startGame(MinecraftAppletImpl.java:44)

at net.minecraft.client.Minecraft.run(Minecraft.java:744)

at java.lang.Thread.run(Unknown Source)

--- END ERROR REPORT 2ec7266b ----------

 

 

 

 

Here is the area of code where the error is taking place

 

            ItemStack lapisLazuliStack = new ItemStack(Item.dyePowder, 1, 4);

            ItemStack redRoseStack = new ItemStack(Item.dyePowder, 1, 1);

 

...

 

                //Legion Chestplate R

                GameRegistry.addRecipe(new ItemStack(chestplateLegionR), "xdx", "xxx", "xxx",

                'x', plateSteel, "d", redRoseStack);

                //Legion Chestplate B

                GameRegistry.addRecipe(new ItemStack(chestplateLegionB), "xdx", "xxx", "xxx",

                'x', plateSteel, "d", lapisLazuliStack);

                //Legion Leggings R

                GameRegistry.addRecipe(new ItemStack(leggingsLegionR), "xxx", "dxd", " x ",

                'x', plateSteel, "d", redRoseStack);

                //Legion Leggings B

                GameRegistry.addRecipe(new ItemStack(leggingsLegionB), "xxx", "dxd", " x ",

                'x', plateSteel, "d", lapisLazuliStack);

 

 

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.