alexsocha / luckyblock

The Lucky Block mod for Minecraft.
53 stars 24 forks source link

Lucky Block Mod Crashing The Game In 1.12.2 #46

Closed ghost closed 2 years ago

ghost commented 2 years ago

im using other mods, but i tried removing the lucky block mod, and it worked again. but then, thinking it was a compatibility issue i removed the other mods to see if it was just a problem with the mod itself. i ran the game with just the lucky block mod. it crashed like before. the weird thing is, it was working fine before. crash log: ---- Minecraft Crash Report ---- // You're mean.

Time: 11/29/21 3:14 PM Description: Initializing game

java.lang.NullPointerException: Initializing game at mod.lucky.init.Register.registerRecipes(Register.java:54) at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_4_Register_registerRecipes_Register.invoke(.dynamic) at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90) at net.minecraftforge.fml.common.eventhandler.EventBus$1.invoke(EventBus.java:144) at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:182) at net.minecraftforge.registries.GameData.fireRegistryEvents(GameData.java:857) at net.minecraftforge.common.crafting.CraftingHelper.loadRecipes(CraftingHelper.java:636) at net.minecraftforge.fml.common.Loader.initializeMods(Loader.java:747) at net.minecraftforge.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:336) at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:535) 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 mod.lucky.init.Register.registerRecipes(Register.java:54) at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_4_Register_registerRecipes_Register.invoke(.dynamic) at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90) at net.minecraftforge.fml.common.eventhandler.EventBus$1.invoke(EventBus.java:144) at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:182) at net.minecraftforge.registries.GameData.fireRegistryEvents(GameData.java:857) at net.minecraftforge.common.crafting.CraftingHelper.loadRecipes(CraftingHelper.java:636) at net.minecraftforge.fml.common.Loader.initializeMods(Loader.java:747) at net.minecraftforge.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:336) at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:535)

-- 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: 700975752 bytes (668 MB) / 1073741824 bytes (1024 MB) up to 2147483648 bytes (2048 MB) JVM Flags: 8 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx2G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0 FML: MCP 9.42 Powered by Forge 14.23.5.2855 5 mods loaded, 5 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   | lucky     | 7.6.0        | luckyblock-1.12.2-1-forge.jar | None                                     |

Loaded coremods (and transformers): 
GL info: ' Vendor: 'Intel' Version: '4.6.0 - Build 27.20.100.9664' Renderer: 'Intel(R) UHD Graphics 600'
Launched Version: 1.12.2-forge-14.23.5.2855
LWJGL: 2.9.4
OpenGL: Intel(R) UHD Graphics 600 GL version 4.6.0 - Build 27.20.100.9664, Intel
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: 2x Intel(R) Celeron(R) N4020 CPU @ 1.10GHz
ghost commented 2 years ago

turns out im an idiotic dumbass who cant realize he doest know how to edit config files. i messed with them and that broke my game.