Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Error while launching minecraft with a custom modpack.


Corstag
 Share

Recommended Posts

I have this error while launching minecraft:

The game crashed whilst initializing game Error: java.lang.NoSuchMethodError: net.minecraft.item.ItemStack.isEmpty()Z Exit code: -1

Why can't I play?

This is the full report:

---- Minecraft Crash Report ----

WARNING: coremods are present:
  WolfArmorCore (wolfarmor-1.12.2-3.7.5-universal-signed.jar)
Contact their authors BEFORE contacting forge

// Don't do that.

Time: 10/13/21 5:22 PM
Description: Initializing game

java.lang.NoSuchMethodError: net.minecraft.item.ItemStack.isEmpty()Z
    at net.darkhax.badmobs.handler.ClientEventHandler.onTooltipRendered(ClientEventHandler.java:16)
    at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_97_ClientEventHandler_onTooltipRendered_ItemTooltipEvent.invoke(.dynamic)
    at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90)
    at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:182)
    at net.minecraftforge.event.ForgeEventFactory.onItemTooltip(ForgeEventFactory.java:358)
    at net.minecraft.item.ItemStack.func_82840_a(ItemStack.java:889)
    at net.minecraft.client.Minecraft.lambda$populateSearchTreeManager$1(Minecraft.java:576)
    at net.minecraft.client.Minecraft$$Lambda$174/1942976141.apply(Unknown Source)
    at net.minecraft.client.util.SearchTree.func_194042_b(SourceFile:49)
    at net.minecraft.client.util.SearchTree.func_194043_a(SourceFile:44)
    at net.minecraft.client.Minecraft$$Lambda$176/93016417.accept(Unknown Source)
    at java.lang.Iterable.forEach(Iterable.java:75)
    at net.minecraft.client.Minecraft.func_193986_ar(Minecraft.java:590)
    at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:529)
    at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:378)
    at net.minecraft.client.main.Main.main(SourceFile:123)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:497)
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28)


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

-- Head --
Thread: Client thread
Stacktrace:
    at net.darkhax.badmobs.handler.ClientEventHandler.onTooltipRendered(ClientEventHandler.java:16)
    at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_97_ClientEventHandler_onTooltipRendered_ItemTooltipEvent.invoke(.dynamic)
    at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90)
    at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:182)
    at net.minecraftforge.event.ForgeEventFactory.onItemTooltip(ForgeEventFactory.java:358)
    at net.minecraft.item.ItemStack.func_82840_a(ItemStack.java:889)
    at net.minecraft.client.Minecraft.lambda$populateSearchTreeManager$1(Minecraft.java:576)
    at net.minecraft.client.Minecraft$$Lambda$174/1942976141.apply(Unknown Source)
    at net.minecraft.client.util.SearchTree.func_194042_b(SourceFile:49)
    at net.minecraft.client.util.SearchTree.func_194043_a(SourceFile:44)
    at net.minecraft.client.Minecraft$$Lambda$176/93016417.accept(Unknown Source)
    at java.lang.Iterable.forEach(Iterable.java:75)
    at net.minecraft.client.Minecraft.func_193986_ar(Minecraft.java:590)
    at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:529)

-- Initialization --
Details:
Stacktrace:
    at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:378)
    at net.minecraft.client.main.Main.main(SourceFile:123)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:497)
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28)

-- System Details --
Details:
    Minecraft Version: 1.12.2
    Operating System: Windows 10 (amd64) version 10.0
    Java Version: 1.8.0_51, Oracle Corporation
    Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
    Memory: 670433344 bytes (639 MB) / 1701314560 bytes (1622 MB) up to 3817865216 bytes (3641 MB)
    JVM Flags: 4 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx4096m -Xms256m -XX:PermSize=256m
    IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
    FML: MCP 9.42 Powered by Forge 14.23.5.2855 29 mods loaded, 29 mods active
    States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored

    | State | ID                     | Version                 | Source                                        | Signature                                |
    |:----- |:---------------------- |:----------------------- |:--------------------------------------------- |:---------------------------------------- |
    | LCH   | minecraft              | 1.12.2                  | minecraft.jar                                 | None                                     |
    | LCH   | mcp                    | 9.42                    | minecraft.jar                                 | None                                     |
    | LCH   | FML                    | 8.0.99.99               | forge-1.12.2-14.23.5.2855.jar                 | e3c3d50c7c986df74c645c0ac54639741c90a557 |
    | LCH   | forge                  | 14.23.5.2855            | forge-1.12.2-14.23.5.2855.jar                 | e3c3d50c7c986df74c645c0ac54639741c90a557 |
    | LCH   | movillages             | 1.5.4                   | [1.12]MoVillages-1.5.4.jar                    | None                                     |
    | LCH   | jei                    | 4.16.1.302              | jei_1.12.2-4.16.1.302.jar                     | None                                     |
    | LCH   | appleskin              | 1.0.14                  | AppleSkin-mc1.12-1.0.14.jar                   | None                                     |
    | LCH   | badmobs                | 1.1.40                  | BadMobs-1.12.2-1.1.40-deobf.jar               | None                                     |
    | LCH   | biomesoplenty          | 7.0.1.2444              | BiomesOPlenty-1.12.2-7.0.1.2444-universal.jar | None                                     |
    | LCH   | chameleon              | 1.12-4.1.3              | Chameleon-1.12-4.1.3.jar                      | None                                     |
    | LCH   | umm3185118519          | release 1.5 - MC 1.12.2 | Extended+ItemsOres+[1.12.2]+(release+1.5).jar | None                                     |
    | LCH   | cfm                    | 6.3.1                   | furniture-6.3.1-1.12.2.jar                    | None                                     |
    | LCH   | guideapi               | 1.12-2.1.8-63           | Guide-API-1.12-2.1.8-63.jar                   | None                                     |
    | LCH   | howlingmoon            | 0.9                     | howlingmoon-1.12.2-0.9.jar                    | None                                     |
    | LCH   | ironchest              | 1.12.2-7.0.67.844       | ironchest-1.12.2-7.0.72.847.jar               | None                                     |
    | LCH   | journeymap             | 1.12.2-5.7.1            | journeymap-1.12.2-5.7.1.jar                   | None                                     |
    | LCH   | earthenbounty          | 2.1.6                   | just_a_few_more_ores-2.1.6.jar                | None                                     |
    | LCH   | oreexcavation          | 1.4.150                 | OreExcavation-1.4.150.jar                     | None                                     |
    | LCH   | oeintegration          | 2.3.4                   | oeintegration-2.3.4.jar                       | None                                     |
    | LCH   | harvestcraft           | 1.12.2zb                | Pam's+HarvestCraft+1.12.2zg.jar               | None                                     |
    | LCH   | resourceoverhaul       | 2.75                    | Resource+Overhaul2.9+MC1.12.jar               | None                                     |
    | LCH   | sophisticatedwolves    | 3.13.8                  | SophisticatedWolves-1.12.2-3.13.8.jar         | None                                     |
    | LCH   | storagedrawers         | 5.2.2                   | StorageDrawers-1.12.2-5.4.2.jar               | None                                     |
    | LCH   | uteamcore              | 2.2.5.147               | u_team_core-1.12.2-2.2.5.147.jar              | None                                     |
    | LCH   | usefulbackpacks        | 1.5.4.85                | useful_backpacks-1.12.2-1.5.4.85.jar          | None                                     |
    | LCH   | vampirism              | 1.6.2                   | Vampirism-1.12.2-1.6.2.jar                    | None                                     |
    | LCH   | teamlapen-lib          | 1.6.2                   | Vampirism-1.12.2-1.6.2.jar                    | None                                     |
    | LCH   | vampirism_integrations | vampirism_integrations  | VampirismIntegrations-1.12.2-1.3.0.jar        | None                                     |
    | LCH   | wolfarmor              | 3.7.5                   | wolfarmor-1.12.2-3.7.5-universal-signed.jar   | e94e38a605842477f3ec218e6fcf781f6b3f7f89 |

    Loaded coremods (and transformers): 
WolfArmorCore (wolfarmor-1.12.2-3.7.5-universal-signed.jar)
  
    GL info: ' Vendor: 'NVIDIA Corporation' Version: '4.6.0 NVIDIA 496.13' Renderer: 'NVIDIA GeForce RTX 3060 Laptop GPU/PCIe/SSE2'
    Launched Version: forge-14.23.5.2855
    LWJGL: 2.9.4
    OpenGL: NVIDIA GeForce RTX 3060 Laptop GPU/PCIe/SSE2 GL version 4.6.0 NVIDIA 496.13, NVIDIA Corporation
    GL Caps: Using GL 1.3 multitexturing.
Using GL 1.3 texture combiners.
Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported.
Shaders are available because OpenGL 2.1 is supported.
VBOs are available because OpenGL 1.5 is supported.

    Using VBOs: Yes
    Is Modded: Definitely; Client brand changed to 'fml,forge'
    Type: Client (map_client.txt)
    Resource Packs: 
    Current Language: English (US)
    Profiler Position: N/A (disabled)
    CPU: 16x AMD Ryzen 7 5800H with Radeon Graphics 

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share



  • Recently Browsing

    No registered users viewing this page.

  • Posts

    • I don't know what you used to post the log here, but next time please upload the log to a paste site, this is horrible to look at with all the formatting removed One of your server configs is failing to load properly, if you have not modified it delete ironfurnaces-server.toml
    • Did you download the server-specific files for the pack or did you copy the mods from the client and hope?
    • 1.12 is no longer supported on this forum. Please update to a modern version of Minecraft to receive support.
    • [18:32:34] [Server thread/WARN] [ne.mi.co.ForgeConfigSpec/CORE]: Configuration file .\saves\New World (2)\serverconfig\forge-server.toml is not correct. Correcting [18:32:34] [Server thread/WARN] [ne.mi.co.ForgeConfigSpec/CORE]: Incorrect key server was corrected from null to its default, SimpleCommentedConfig:{   Using that code and before I get that. And my mob still don't work.
    • Hey, I'm new to the forge data generators and was trying to get them up and running. At the moments they aren't crashing or anything but they also don't seem to be generating any data, as far as I can tell they're set up correctly and I've tried both runClient and runData and as far as I can tell they neither loaded the models correctly into the game nor output them in any files I can see. I have no real idea what I'm doing though. so I have my main data generator class that looks a bit like this: @Mod.EventBusSubscriber(modid = GaiaTerrainMod.MODID, bus = Mod.EventBusSubscriber.Bus.MOD) public class GaiaDataManager { @SubscribeEvent public static void gatherData(final GatherDataEvent event) { GaiaTerrainMod.LOGGER.info("gathering data!"); DataGenerator generate = event.getGenerator(); ExistingFileHelper existingFileHelper = event.getExistingFileHelper(); generate.addProvider(new GaiaBlockStateGenerator(generate,existingFileHelper)); generate.addProvider(new GaiaItemModelGenerator(generate, existingFileHelper)); GaiaBlockTagGenerator blockTags = new GaiaBlockTagGenerator(generate, existingFileHelper); generate.addProvider(blockTags); generate.addProvider(new GaiaItemTagGenerator(generate, blockTags, existingFileHelper)); generate.addProvider(new GaiaLootTableGenerator(generate)); generate.addProvider(new GaiaRecipeGenerator(generate)); GaiaTerrainMod.LOGGER.info("gathered data!"); } } originally it didn't have the "@Mod.EventBusSubscriber(modid = GaiaTerrainM..." line at the top and instead was only invoked through a line in the GaiaTerrainMod constructor that looked like this: public GaiaTerrainMod() { IEventBus registry_bus = FMLJavaModLoadingContext.get().getModEventBus(); registry_bus.addListener(this::setup); MinecraftForge.EVENT_BUS.register(this); MinecraftForge.EVENT_BUS.register(GaiaDataManager.class); ModWoodTypes.init(); ModBlocks.BLOCKS.register(registry_bus); ModItems.ITEMS.register(registry_bus); GaiaBiomeSelector.initBiomeMappings(); } as you can see at the start and end of my gatherData function I have logs and when I hit "runData" they fired and I could see them as the last 2 things outputted by the console, however in GaiaBlockStateGenerator, the first data provider added to my data generator, I also put 2 logs at the start and end of the overriden registerStatesAndModels() function. These never fired, I assume they should after my gatherData logs fired. Not sure though, as far as i can tell the issue should be somewhere in these files (unless it's somewhere weird), again I'm not getting any crashes or errors just a plain old, doesn't do the thing I want it to which clearly indicates I've done something dumb somewhere.
  • Topics

  • Who's Online (See full list)

×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.