Bountiful (Fabric)

Bountiful (Fabric)

7M Downloads

I'm having a crashing issue and I hope you can help me.

thedeerirty opened this issue ยท 7 comments

commented

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

Steps to reproduce

How to recreate this:
i've added these parameters to the bounties and rewards config
error1
error2
error3
error4
error5
error6

simply start the game, and it seems to crash.

(Again, sorry if this is the wrong place to report this. Have a nice day.)

commented

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 ๐Ÿ‘

commented

thank you for responding, I shall attempt this shortly.

commented

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, not minecraft:entity:spider)
  • The second I think is wrong, I think it's a conba, not a comba.
  • 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 :^)

commented

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.

commented

I imagine I'm still going to have issues, but I'll stop bothering you pal.

commented

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.

commented

It looks like you've got it figured out, but you can always reopen this issue if you need. Good luck! :)