I'm having a crashing issue and I hope you can help me.
thedeerirty opened this issue ยท 7 comments
Bug Report
Observed Behaviour
What happened: I attempted to edit the rewards and bounty requirments to include creatures and items from different mods, and now the mod fails to start, crashing the game. If this isn't like, the place to report this or ask for assistance, I am super sorry for bugging you/wasting your time.
Crash log: https://paste.dimdev.org/fipilatubu.mccrash
Expected Behaviour
What should have happened: I think, assuming I did things right, that the game simply should have started correctly.
Minimal setup needed to reproduce
- Forge version: 1.12.2
- Bountiful version: 2.2.1
- Other mods: RLcraft + https://docs.google.com/document/d/18gh2dTmBVxdS6rC7E8gvGse7hDVuagZkz_nMsOosiI0/edit
Steps to reproduce
How to recreate this:
i've added these parameters to the bounties and rewards config
simply start the game, and it seems to crash.
(Again, sorry if this is the wrong place to report this. Have a nice day.)
net.minecraftforge.fml.common.LoaderExceptionModCrash: Caught exception from Bountiful (bountiful) Caused by: java.lang.Exception: JSON Structure of 'bounties.json' is incorrect! Reverting to previous data. Details: com.google.gson.stream.MalformedJsonException: Unterminated object at line 388 column 6 path $[42].unitWorth
Looks like your JSON file (bounties.json) has incorrect syntax somewhere. Try copy-and-paste the contents of your bounties.json
into a JSON validator such as JSONLint, it will tell you if there are any problems. I hope that's your answer ๐
Now your error logs says this at the top:
Caused by: java.lang.Exception: 'bountiful/bounties.json' contains one or more invalid bounties.
Invalid bounty objectives: [Pickable [Item: minecraft:entity:spider, Amount: 1..10, Unit Worth: 130, Weight: 100, Stages: []], Pickable [Item: entity:lycanitesmobs:comba, Amount: 2..2, Unit Worth: 200, Weight: 100, Stages: []], Pickable [Item: entity:howlingmoon:werewolf, Amount: 1..1, Unit Worth: 800, Weight: 100, Stages: []]]
It looks like of those three bounties:
- the first is wrong (it should be
entity:minecraft:spider
, notminecraft:entity:spider
) - The second I think is wrong, I think it's a
conba
, not acomba
. - No idea about the werewolf, though. You can see a list of all entities in the game by typing
/bo entities
in 1.12.
As a side note, editing these files while the game is running and then typing /bo reload
in single player should not crash the game, but simply tell you what you did wrong. This makes it a little easier to edit these files, because then you don't have to worry about crashing on startup :^)
https://paste.dimdev.org/ibojoxemet.mccrash
I edited the bounties file and it was validated by JSONLint, but it still fails. Sorry to trouble you.
Oh dang, I did not know that last part, thank you. Also, thank you for taking time to assist me; I imagine this error is more on my behalf than the actual mods, and yet you helped me anyhow. Appericate it.