Closed RisingInIris2017 closed 2 years ago
Caused by: java.lang.Exception: 'bountiful/rewards.json' contains one or more invalid rewards. Invalid rewards:
[PickedEntry (Stack) [Item: contenttweaker:first_killcount_token, Amount: 60, NBT: null, Weight: 300, Stages: null],
PickedEntry (Stack) [Item: contenttweaker:second_killcount_token, Amount: 1260, NBT: null, Weight: 90, Stages: null],
PickedEntry (Stack) [Item: contenttweaker:lemon_battery, Amount: 60, NBT: null, Weight: 240, Stages: null]]
Your rewards.json file contains some invalid rewards. One of more of these items may be named incorrectly or may not exist. See: Wiki Page for a list of commands used in the 1.12 version.
I usually intend for people to be adding rewards, saving the file and then using /bo reload
to reload their files while the game is running :^). That way, the game can tell you if any of the rewards are invalid. If they don't do that, then the game will throw this error on launch, or when it encounters the invalid reward.
To fix, remove these rewards. Then, try to re-add them while the game is running, save the file, and run /bo reload
to see if loading the new rewards works correctly. Repeat until the rewards load as intended.
Hope that helps! :^)
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
What happened?
Game crashes during its loading.
How can we reproduce it?
This issue happens in my modpack, you can download it here for testing.
This problem cannot be reproduced at 100% probability, but only occurs sometimes. To reproduce it, simply start the game and wait it to crash.
Mod Version
1.12.2-2.2.2
Forge Version
14.23.5.2855
Relevant log output
---- Minecraft Crash Report ---- // Don't do that.
Time: 2021-08-26 11:55:43 CST Description: Initializing game
net.minecraftforge.fml.common.LoaderExceptionModCrash: Caught exception from Bountiful (bountiful) Caused by: java.lang.Exception: 'bountiful/rewards.json' contains one or more invalid rewards. Invalid rewards: [PickedEntry (Stack) [Item: contenttweaker:first_killcount_token, Amount: 60, NBT: null, Weight: 300, Stages: null], PickedEntry (Stack) [Item: contenttweaker:second_killcount_token, Amount: 1260, NBT: null, Weight: 90, Stages: null], PickedEntry (Stack) [Item: contenttweaker:lemon_battery, Amount: 60, NBT: null, Weight: 240, Stages: null]] at ejektaflex.bountiful.proxy.CommonProxy.postInit(CommonProxy.kt:112) at ejektaflex.bountiful.Bountiful.postInit(Bountiful.kt:53) 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 net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:637) at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.google.common.eventbus.Subscriber.invokeSubscriberMethod(Subscriber.java:91) at com.google.common.eventbus.Subscriber$SynchronizedSubscriber.invokeSubscriberMethod(Subscriber.java:150) at com.google.common.eventbus.Subscriber$1.run(Subscriber.java:76) at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:399) at com.google.common.eventbus.Subscriber.dispatchEvent(Subscriber.java:71) at com.google.common.eventbus.Dispatcher$PerThreadQueuedDispatcher.dispatch(Dispatcher.java:116) at com.google.common.eventbus.EventBus.post(EventBus.java:217) at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:219) at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:197) 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.Subscriber.invokeSubscriberMethod(Subscriber.java:91) at com.google.common.eventbus.Subscriber$SynchronizedSubscriber.invokeSubscriberMethod(Subscriber.java:150) at com.google.common.eventbus.Subscriber$1.run(Subscriber.java:76) at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:399) at com.google.common.eventbus.Subscriber.dispatchEvent(Subscriber.java:71) at com.google.common.eventbus.Dispatcher$PerThreadQueuedDispatcher.dispatch(Dispatcher.java:116) at com.google.common.eventbus.EventBus.post(EventBus.java:217) at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:136) at net.minecraftforge.fml.common.Loader.initializeMods(Loader.java:754) at net.minecraftforge.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:336) at net.minecraft.client.Minecraft.init(Minecraft.java:535) at net.minecraft.client.Minecraft.run(Minecraft.java:3931) at net.minecraft.client.main.Main.main(SourceFile:123) 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 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:
-- System Details -- Minecraft Version: 1.12.2 Operating System: Windows 10 (amd64) version 10.0 Java Version: 1.8.0_271, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 3061836208 bytes (2919 MB) / 4294967296 bytes (4096 MB) up to 4294967296 bytes (4096 MB) JVM Flags: 11 total; -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=16M -XX:-UseAdaptiveSizePolicy -XX:-OmitStackTraceInFastThrow -Xmn128m -Xmx4096m -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0 FML: MCP 9.42 Powered by Forge 14.23.5.2855 66 mods loaded, 66 mods active States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored
Loaded coremods (and transformers): DupeFixProjectCoreMod (DupeFixProject-1.12.2-3.1.2.jar)
GL info: ' Vendor: 'NVIDIA Corporation' Version: '4.6.0 NVIDIA 461.40' Renderer: 'GeForce GTX 1650 SUPER/PCIe/SSE2' Patchouli open book context: n/a Suspected Mods: Bountiful (bountiful) Launched Version: HMCL 3.3.188 LWJGL: 2.9.4 OpenGL: GeForce GTX 1650 SUPER/PCIe/SSE2 GL version 4.6.0 NVIDIA 461.40, 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: 简体中文 (中国) Profiler Position: N/A (disabled) CPU: 6x AMD Ryzen 5 3500X 6-Core Processor