Jump to content

After adding crafting recipe, minecraft crashes before title screen.


underlyexcited
 Share

Recommended Posts

These are the crafting recipes that i've added.

 

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

 

GameRegistry.addRecipe(new ItemStack(CobaltBrickBlock,16), new Object[]{

"CCC","CSC","CCC",'C',Cobalt,"S",Block.stoneBrick,

});

GameRegistry.addRecipe(new ItemStack(NobeliumBrickBlock,16), new Object[]{

"NNN","NSN","NNN",'N',Nobelium,"S",Block.stoneBrick,

});

GameRegistry.addRecipe(new ItemStack(EuropiumBrickBlock,16), new Object[]{

"EEE","ESE","EEE",'E',Europium,"S",Block.stoneBrick,

});

GameRegistry.addRecipe(new ItemStack(TechnetiumBrickBlock,16), new Object[]{

"TTT","TST","TTT",'T',Technetium,"S",Block.stoneBrick,

});

GameRegistry.addRecipe(new ItemStack(ZincBrickBlock,16), new Object[]{

"ZZZ","ZSZ","ZZZ",'Z',Zinc,"S",Block.stoneBrick,

});

GameRegistry.addRecipe(new ItemStack(FermiumBrickBlock,16), new Object[]{

"FFF","FSF","FFF",'F',Fermium,"S",Block.stoneBrick,

 

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

 

Now every seems ok and it should run perfectly but it doesn't. I think it has to do with the Block.stoneBrick. I  couldn't find this block in net.minecraft.block. I typed Block.StoneBrick and an error appered. When i hovered over it the option to change to Block.stoneBrick appeared and so i thought it was the right one. Here is my crash report.

 

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

 

---- Minecraft Crash Report ----

// Don't be sad, have a hug! <3

 

Time: 6/12/13 9:20 AM

Description: Failed to start game

 

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

at net.minecraft.item.crafting.CraftingManager.addRecipe(CraftingManager.java:186)

at cpw.mods.fml.common.registry.GameRegistry.addShapedRecipe(GameRegistry.java:244)

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

at Silence.SteamCraft.steamCraft.load(steamCraft.java:122)

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

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.sendEventToModContainer(LoadController.java:186)

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

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

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

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

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

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

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

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

 

 

A detailed walkthrough of the error, its code path and all known details is as follows:

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

 

-- System Details --

Details:

Minecraft Version: 1.5.2

Operating System: Windows 7 (amd64) version 6.1

Java Version: 1.7.0_21, Oracle Corporation

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

Memory: 814948040 bytes (777 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.51 FML v5.2.21.729 Minecraft Forge 7.8.0.729 4 mods loaded, 4 mods active

mcp{7.44} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized

FML{5.2.21.729} [Forge Mod Loader] (coremods) Unloaded->Constructed->Pre-initialized->Initialized

Forge{7.8.0.729} [Minecraft Forge] (coremods) Unloaded->Constructed->Pre-initialized->Initialized

SteamCraftd{v1.0 Minecraft 1.5.2 @TheSilenceKey} [steam Craft] (bin) Unloaded->Constructed->Pre-initialized->Errored

LWJGL: 2.4.2

OpenGL: GeForce GTX 680/PCIe/SSE2 GL version 4.3.0, NVIDIA Corporation

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

Type: Client (map_client.txt)

Texture Pack: Default

Profiler Position: N/A (disabled)

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

Link to comment
Share on other sites

Just try changing the Block.stoneBrick to Block.stone

Then if that works, it is because you are trying to call a block that doesn't exist (I don't know what Stone Brick is as a Block.XXXX) If it still crashes when you use a Block.XXX that is definitely a correct value, then you know it isn't the block.

 

 

Because other than the stonebrick I don't see any errors

Why bother?

Link to comment
Share on other sites

      GameRegistry.addRecipe(new ItemStack(CobaltBrickBlock,16), new Object[]{

        "CCC","CSC","CCC",'C',Cobalt,"S",Block.stoneBrick,

        });

      GameRegistry.addRecipe(new ItemStack(NobeliumBrickBlock,16), new Object[]{

        "NNN","NSN","NNN",'N',Nobelium,"S",Block.stoneBrick,

        });

      GameRegistry.addRecipe(new ItemStack(EuropiumBrickBlock,16), new Object[]{

        "EEE","ESE","EEE",'E',Europium,"S",Block.stoneBrick,

        });

      GameRegistry.addRecipe(new ItemStack(TechnetiumBrickBlock,16), new Object[]{

        "TTT","TST","TTT",'T',Technetium,"S",Block.stoneBrick,

        });

      GameRegistry.addRecipe(new ItemStack(ZincBrickBlock,16), new Object[]{

        "ZZZ","ZSZ","ZZZ",'Z',Zinc,"S",Block.stoneBrick,

        });

      GameRegistry.addRecipe(new ItemStack(FermiumBrickBlock,16), new Object[]{

        "FFF","FSF","FFF",'F',Fermium,"S",Block.stoneBrick,

 

 

 

doesn't it has to be 'S' and not "S"?...

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
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.

 Share



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • The mods you are using use Mixin. You are using Java 19. Java 19 breaks Mixin somehow. You must downgrade to Java 17.
    • Can you send the crash report? Crash reports are usually very helpful and most of the time say exactly what mod caused the problem. Also, you should note that throwing 226 mods together all at once is a very bad idea because if you get a crash, it is VERY hard to find which of the 226 mods caused the problem. Also shoving mode mods into it won't fix the problem, if anything it will make it worse.
    • Tenía el mismo error y lo solucioné actualizando Java, quizá te funcione.
    • Okay, so I had this modpack that I made (I have no idea what I'm doing with it, I just thought: hey, i like these (x, y, and z mods) mods, and I haven't found one already made that I like or has current mod updates, so I shoved a bunch of mods I like, and stabilizing/QoL mods to hopefully help make it work. The current count is 226 mods in one pack, and I am getting an error code 1. I had just added some other mods to hopefully stabilize it better, when this happened and now I am immediately kicked to a crash report. I frankly have no idea what went wrong, or how to fix it, so I am posting here to ask for help.       Mod List: [1.18.2] BobLib-0.3.0.jar   3dskinlayers-forge-1.5.2-mc1.18.2.jar   AI-Improvements-1.18.2-0.5.2.jar   angelring-1.18.2-2.0.2.jar   Apotheosis-1.18.2-5.7.7.jar   archarsenal-1.18.2-1.1.jar   archers_paradox-1.18.2-3.2.0.12.jar   architectury-4.11.89-forge.jar   ars_creo-1.18.2-2.1.4.jar   ars_elemental-1.18.2-0.4.9.9.jar   ars_industria-1.18.2-0.1.jar   ars_nouveau-1.18.2-2.8.0.jar   ars_scalaes-1.18.2-1.8.1-rework.jar   artifacts-1.18.2-4.2.0.jar   AttributeFix-Forge-1.18.2-14.0.2.jar   AutoRegLib-1.7-53.jar   Avaritia-1.18.2-4.0.0.4-universal.jar   badpackets-forge-0.1.3.jar   balm-3.2.2+0.jar   BasicEndOres-1.18.2-2.1.0.jar   baubley-heart-canisters-1.18.2-1.0.0.jar   bdlib-1.19.3.7-mc1.18.2.jar   BedBenefits-Forge-1.18.2-6.0.2.jar   BetterAdvancements-1.18.2-0.2.0.146.jar   BetterCompatibilityChecker-1.1.21-build.48+mc1.18.2.jar   betterinvisibility-1.18.1-1.0.4.jar   betterstats-2.2+1.18.2.jar   BetterThirdPerson-Forge-1.18.2-1.9.0.jar   bfendcities-1.0.jar   Bookshelf-Forge-1.18.2-13.2.52.jar   BotanyPots-Forge-1.18.2-8.1.25.jar   BotanyTrees-Forge-1.18.2-4.0.6.jar   bygonenether-1.2.2-1.18.2.jar   caelus-forge-1.18.1-3.0.0.2.jar   caitsmod-0.1.0-1.18.2.jar   catalogue-1.6.2-1.18.2.jar   citadel-1.11.3-1.18.2.jar   clienttweaks-forge-1.18.1-7.1.0.jar   cloth-config-6.4.90-forge.jar   Clumps-forge-1.18.2-8.0.0+17.jar   CodeChickenLib-1.18.2-4.1.3.480-universal.jar   cofh_core-1.18.2-9.2.1.39.jar   collective-1.18.2-6.43.jar   colytra-forge-1.18.1-5.2.0.4.jar   comforts-forge-1.18.2-5.0.0.5.jar   CommonCapabilities-1.18.2-2.8.2.jar   Controlling-forge-1.18.2-9.0+22.jar   convenientcurioscontainer-1.11-1.18.2.jar   cookiecore-1.18.2-4.0.1-6677a05.jar   CosmeticArmorReworked-1.18.2-v2a.jar   craftingtweaks-forge-1.18.2-14.0.3.jar   create-1.18.2-0.5.0.i.jar   CreativeCore_FORGE_v2.6.15_mc1.18.2.jar   CTM-1.18.2-1.1.5+5.jar   Cucumber-1.18.2-5.1.3.jar   curioofundying-forge-1.18-5.3.0.0.jar   curios-forge-1.18.2-5.0.7.1.jar   curious-armor-stands-1.18.1-4.0.0.jar   curiouselytra-forge-1.18.1-5.0.1.0.jar   curiouslanterns-1.18.2-1.2.0.jar   curiouslights-forge-1.3.0+1.18.2.jar   curiousshulkerboxes-forge-1.18.1-4.2.0.0.jar   CyclopsCore-1.18.2-1.16.2.jar   DarkerDepths-1.18.2-1.0.6-patch4.jar   darkness-forge-mc118-2.0.91.jar   DarkUtilities-Forge-1.18.2-10.1.6.jar   debugify-1.10.0-forge-1.18.2.jar   defaultoptions-forge-1.18.2-14.1.1.jar   Ding-1.18.2-Forge-1.4.0.jar   druidcraftrg-0.0.12.jar   DungeonCrawl-1.18.2-2.3.10.jar   DungeonsArise-1.18.2-2.1.52-release.jar   dynamiclights-1.18.6.jar   dynview-1.18.2-2.8.jar   EasyMagic-v3.3.0-1.18.2-Forge.jar   eccentrictome-1.18.2-1.9.1.jar   elenaidodge2-1.0.2.jar   elevatorid-1.18.2-1.8.4.jar   End Mod 2.1.1.jar   EnderBags-1.18.1-8.0.0.jar   enderchests-1.18-1.9.7.jar   endercrop-1.18.2-1.7.0-beta.jar   EnderStorage-1.18.2-2.9.0.182-universal.jar   endertanks-1.18-1.11.8.jar   endportalrecipe-1.18.2-5.0.jar   End's Phantasm - BETAv1.2.9.2 - 1.18.2.jar   Enhanced_Celestials-forge-1.18.2-2.0.7.jar   EnigmaticLegacy-2.25.0.jar   enlightened-end-1.18.2-v28.jar   Entity_Collision_FPS_Fix-forge-1.18.2-1.0.0.jar   entityculling-forge-mc1.18-1.5.1.jar   EquipmentCompare-1.18.2-forge-1.3.3.jar   everycomp-1.18.2-1.5.15.jar   expandability-6.0.0.jar   ExplorersCompass-1.18.2-1.3.0-forge.jar   Fairy's End v24[UnholyCursed].jar   FallingTree-1.18.2-3.5.4.jar   fancymenu_forge_2.13.3_MC_1.18.2.jar   FarmersDelight-1.18.2-1.2.0.jar   FastFurnace-1.18.2-6.0.3.jar   FastWorkbench-1.18.2-6.1.1.jar   feathers-1.0.3.jar   feature_nbt_deadlock_be_gone_forge-2.0.0+1.18.2.jar   ferritecore-4.2.2-forge.jar   findme-3.0.6-forge.jar   flywheel-forge-1.18.2-0.6.8.a.jar   forbidden_arcanus-1.18.2-2.1.1.jar   forgivingvoid-forge-1.18.1-6.0.1.jar   FpsReducer2-forge-1.18.2-2.0.jar   ftb-chunks-forge-1802.3.13-build.234.jar   ftb-library-forge-1802.3.9-build.167.jar   ftb-teams-forge-1802.2.10-build.96.jar   geckolib-forge-1.18-3.0.57.jar   goblintraders-1.8.0-1.18.2.jar   graphutil-forge-1.0.0-mc1.18.2.jar   healingcampfire-1.18.2-5.0.jar   hexerei-0.2.2.jar   homing_ender_eye-1.18.2-1.2.3.jar   Iceberg-1.18.2-forge-1.0.49.jar   inventoryessentials-forge-1.18.2-4.0.2.jar   inventorysorter-1.18-19.0.0.jar   ironchest-1.18.2-13.2.11.jar   item-filters-forge-1802.2.8-build.47.jar   ItShallNotTick-1.0.22-build.34.jar   Jade-1.18.2-forge-5.2.6.jar   jei-1.18.2-9.7.1.255.jar   jeiintegration_1.18.2-9.0.0.37.jar   JEITweaker-1.18.2-3.0.0.9.jar   JustEnoughResources-1.18.2-0.14.1.171.jar   knightcore-1.18.2-1.1.jar   konkrete_forge_1.6.0_MC_1.18-1.18.2.jar   kotlinforforge-3.9.1-all.jar   L_Enders Cataclysm-0.51-hotfix-1.18.2.jar   letmedespawn-1.18.x-1.19.x-forge-1.0.3.jar   libIPN-forge-1.18.2-2.0.2.jar   LibX-1.18.2-3.2.18.jar   Magic Shards.jar   magicfeather-1.18.2-4.2.0.jar   mahoutsukai-1.18.2-v1.34.38.jar   Mantle-1.18.2-1.9.43.jar   MaxHealthFix-Forge-1.18.2-5.0.1.jar   mcjtylib-1.18-6.0.20.jar   mna-1.7.2.10.jar   modnametooltip-1.18.1-1.18.0.jar   moredragoneggs-3.1.jar   MoreSlotSwap-v1.0.1-mc1.18.2-forge.jar   MouseTweaks-forge-mc1.18-2.21.jar   MyServerIsCompatible-1.18-1.0.jar   Nameless Trinkets-1.18.2-1.6.10.jar   naturalist-forge-1.1.1-1.18.2.jar   NaturesCompass-1.18.2-1.9.7-forge.jar   Neat-1.8-31.jar   netherportalfix-forge-1.18-9.0.0.jar   observable-2.2.3-forge.jar   OpenLoader-Forge-1.18.2-12.0.1.jar   overloadedarmorbar-1.18.2-6.jar   Patchouli-1.18.2-71.1.jar   PigPen-Forge-1.18.2-8.0.1.jar   Placebo-1.18.2-6.6.6.jar   polylib-forge-1801.0.2-build.13.jar   polymorph-forge-1.18.2-0.46.jar   potionsmaster-0.5.9-1.18.2-40.0.2.jar   Prism-1.18.2-1.0.1.jar   PuzzlesLib-v3.3.5-1.18.2-Forge.jar   ReAuth-1.18-Forge-4.0.6.jar   refinedstorage-1.10.4.jar   REIPluginCompatibilities-forge-8.0.42.jar   relics-1.18.2-0.4.1.8.jar   reliquary-1.18.2-2.0.19.1161.jar   repurposed_structures_forge-5.1.14+1.18.2.jar   rhino-forge-1802.2.1-build.255.jar   RingOfEnderchest-Forge-1.18.2-1.4.8.jar   RingsOfAscension-1.18.2-1.0.1.jar   RoughlyEnoughItems-8.3.588.jar   ScalableCatsForce-2.13.10-build-12-with-library.jar   ScalingHealth-1.18.2-6.3.0+5.jar   selene-1.18.2-1.17.9.jar   shetiphiancore-1.18-3.10.12.jar   shutupexperimentalsettings-1.0.5.jar   silent-lib-1.18.2-6.2.0.jar   simplearchivist-0.5-1.18.2.jar   simpleheartsbeta.jar   smoothboot(reloaded)-mc1.18.2-0.0.2.jar   SmoothMenu-1.18.2-1.0.0.jar   sophisticatedbackpacks-1.18.2-3.18.40.777.jar   sophisticatedcore-1.18.2-0.5.37.202.jar   sophisticatedstorage-1.18.2-0.6.16.274.jar   spark-1.9.11-forge.jar   starterkit-1.18.2-5.0.jar   structure_gel-1.18.2-2.4.7.jar   supermartijn642configlib-1.1.6-forge-mc1.18.jar   supermartijn642corelib-1.1.1a-forge-mc1.18.jar   supplementaries-1.18.2-1.5.16.jar   TConstruct-1.18.2-3.6.2.92.jar   Tips-Forge-1.18.2-5.0.11.jar   TipTheScales-forge-1.18.2-5.0.6.jar   titanium-1.18.2-3.5.7-39.jar   ToastControl-1.18.2-6.0.3.jar   ToolStats-Forge-1.18.2-9.0.3.jar   torchmaster-18.1.0.jar   trashslot1.18.2.jar   UnusualEnd1.18_V1.3.0.jar   upgradedcore-1.18.2-3.2.0.0-release.jar   upgradednetherite-1.18.2-4.2.0.6-release.jar   valhelsia_core-forge-1.18.2-0.4.0.jar   valhelsia_structures-forge-1.18.2-0.1.0.jar   valhelsia_tweaks-forge-1.18.2-0.1.0.jar   valkyrienskies-118-2.1.0-beta.10.jar   villagertools-1.18-1.0.2.jar   VisualWorkbench-v3.3.0-1.18.2-Forge.jar   voidtotem-forge-1.18.2-1.3.1.jar   waystone_towers-1.18.2-FORGE-1.0.9.jar   waystones-forge-1.18.2-10.1.0.jar   whats-that-slot-forge-1.2.3+1.18.1.jar   WitherSkeletonTweaks-1.18.2-7.1.3.jar   wmitaf-forge-mc1.18.2-2.4.0.jar   wyml-forge-1.18.2-1.1.4.jar   Xaeros_Minimap_22.17.1_Forge_1.18.2.jar   XaerosWorldMap_1.28.8_Forge_1.18.2.jar   YungsApi-1.18.2-Forge-2.2.7.jar   YungsBetterDesertTemples-1.18.2-Forge-1.3.1.jar   YungsBetterDungeons-1.18.2-Forge-2.1.0.jar   YungsBetterMineshafts-1.18.2-Forge-2.2.jar   YungsBetterOceanMonuments-1.18.2-Forge-1.0.3.jar   YungsBetterStrongholds-1.18.2-Forge-2.1.1.jar   YungsExtras-1.18.2-Forge-2.1.0.jar
    • Hi, I'm trying to make a modded Forge server so me and my friends can play together, but when I add the mods to the mods folder, I get an error. If I have the server by itself, no mods, everything runs fine. I don't know what is happening so if someone could please help that would be great. I left the crash report below.  
  • Topics

×
×
  • Create New...

Important Information

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