Bountiful

Bountiful

35M Downloads

unable to change reward from gold to other item

vampwolf28 opened this issue ยท 13 comments

commented
commented

{
"entries": [
{
"itemString": "minecraft:emerald",
"amount": {
"min": 1,
"max": 128
},
"unitWorth": 100
},
{
"itemString": "minecraft:iron_ingot",
"amount": {
"min": 1,
"max": 128
},
"unitWorth": 900
}
]
}

commented

Which version of Bountiful is this? @vampwolf28

commented

newest one
2.1.0

commented

I'm fairly certain that you were using an older version, but didn't update it correctly. Delete your bounties.json and rewards.json and then run the game so that they can reset themselves. Then try modify the files, save them and run /bo reload.

commented

[
{
"itemString":"minecraft:emerald",
"unitWorth":2000
},
{
"itemString":"minecraft:diamond",
"unitWorth":500
}
]

did that
still getting gold bounty

commented

Did it say that the config files reloaded, or did it state that there was an error? And are you sure that you saved the file? There's no way that it would still be showing gold bounties, so you've done something wrong. If you don't provide any more information, there's no way I can help you!

commented

so i did do the "/bo reload " and it does say Json config flies reloaded and i made sure i've save the files

commented

image

commented

Wait wait. You didn't delete those files, or you copy pasted old data into your new file. Your key is still itemString and not content so I know you are still using out of data JSON data.

Proof that v2.1 uses content and not itemString:

It's a bit odd that it wouldn't be causing any errors, but try that.

Edit: Confirmed, the generated JSON data doesn't use itemString. You did not delete all of the config files, or you copy pasted something from the old config files. Quit the game, delete all of the Bountiful config files (Including json files), then restart the game.

commented

so i did that, and i'm still getting gold
maybe i'm in the wrong flie? i go to assets/bountiful/content/rewards.json and that where I've been changing my flies at
i'm have fully installed the newest version of this mod

commented

You're in the wrong file, you need to be editing config/bountiful/rewards.json inside of your main instance location (That's the location I mentioned in the original post on CurseForge). You shouldn't be looking inside of the mod's jar file at all. All of the stuff in the assets folder is hardcoded into the mod (Although it is unused and should be deleted, so this is a good reminder).

So, try looking in (your modpack folder)/config/bountiful/rewards.json.

commented

I'M A BIG DUMB IDIOT!!!! thank you sooo much, i feel so bad that you have to good through all the stuff only because i had the wrong file thank you again.

commented

You're welcome. I hope you enjoy using Bountiful :^)