Adding A Custom Chest Reward - TheTurkeyDev/ChanceCubes GitHub Wiki

Before you add a chest reward, you need to have the basic reward setup. If you have not done that already, you need to head here to set up the base for the reward.

Fields:

Field Name Type Default Field Description
item String minecraft:dirt The item that has a chance to spawn in a chest. - Format: ModId:Item (Blocks are also excepted as well as items)
chance Integer 50 The percent chance that this item has to spawn in the chest. - Range: 0-100
meta Integer 0 The Meta of the item that spawns in the chest
amount Integer 1 The amount for the stack that the item will spawn in

Example:

{
	"Chest_Reward": 
	{
		"chance": 0,
		"Chest":
		[
			{"item":"minecraft:dirt", "chance":100, "amount": 1},
			{"item":"minecraft:stone", "chance":1, "amount": "%%RND(32,64)%%"},
			{"item":"minecraft:gravel", "chance":4}
		]
	}
}

Config Tutorial:

  • COMING SOON