Chance Cubes

Chance Cubes

46M Downloads

Cant make a custom reward to work

iledesma08 opened this issue ยท 3 comments

commented

Minecraft Version:

1.18.2

Forge Version:

40.2.0

ChanceCubes Version:

5.0.2.478

Reward(s) Affected:

cb_reward_out, cb_reward_in, test_reward_out, test_reward_in, all are custom rewards

The Issue:

When I set the specific rewards for a chance cube in creative with the Reward Selector Pendant, it says that the custom reward I chose doesnt exist for that cube.
I made the JSON following the exact instructions on the wiki and 2 of the rewards are copies of an example of a custom reward. All of the custom rewards are inside of the custom_rewards, 2 of them are outside the schematics file and the other 2 are inside (because I wanted to try if that worked). I dont know how, but I even broke the mod once (I stopped getting rewards from the cubes, to solve the problem I had to restart the game). The rewards are:

CB_reward_in.txt
test_reward_int.txt
test_reward_out.txt
CB_reward_out.txt

Origin:

Curse

Logs:

latest.log

commented

Your log contains no reference to the mod attempting to load in custom rewards. I'm not sure if that means your log is incomplete, but either way, not sure I can gain much from it

commented

The log is complete. I imagined the same, that the custom rewards didn't load. What could I be doing wrong?

commented

I finally did it! Had to inspect how you did the default rewards though. The problem was with how I was doing the commands so the wither skeleton could spawn with specific items in his hands. All I had to do was adding some \ in specific places. I will leave the results down here for everyone who wants to do a custom reward like this one:

Complex Custom Reward Example