ChestPacks
A ChestPack is a way to set the content of a RegenChest. It allows you to make predetermined packs that determine what is in a chest every time it regenerates. RegenChests with ChestPacks work exactly the same as a normal RegenChest, but their content is always different. To set a RegenChest to have a ChestPack type /cr chestpack to view the available ChestPacks. Then, type /cr chestpack <chestpack> to set the ChestPack.
Default ChestPack file that comes with ChestRegen:
Packs: ExamplePack: #Do not exceed 54 Range: 10 -> 46 #Subgroup percentages should add up to 100% GroupOne|15%: #Item percentages should add up to 100% 1|1|0|0: 25% 2|1|0|0: 25% 3|1|0|0: 50% GroupTwo|45%: 3|1|2|2: 30% 4|1|0|0: 35% 5|1|0|0: 35% GroupThree|40%: 5|1|1|1: 25% 5|1|2|2: 15% 5|1|3|3: 60%
Example Row(Spaced and explained):
1 | 1 | 0 | 0 : 25% type | amount | damage | data : percent chance
You can add as many ChestPacks as you want.
Could we get an explanation of what the 1|1|0|0 thing is and how to put in our own thing? And the Range thing, I don't even remotely understand what that is for.
what is Range?
@Samueljuhasz
Range is the range of the amount of items that can spawn. In the example above, 10 to 46 items can spawn each time.
Hello, I am not really clear what the values here represent...
type = mincraft ID???? amount = amount (obviously) damage = damage value to change color of wool etc... data = ???
Please be more specific, thanks
What do they mean by #Do not exceed 54?
Has anyone figured this out?
I've tried to add an additional chestpack to deliver small amounts of seeds from Pams Harvest Craft) in the config just by starting a new section right below the example above, saying..
SeedPack:
Range: 1 -> 2
GroupOne|35%:
4885|1|0|0: 33%
4886|1|0|0: 33%
4887|1|0|0: 34%
GroupTwo|35%:
4895|1|0|0: 30%
4896|1|0|0: 35%
4897|1|0|0: 35%
GroupThree|30%:
4900|1|0|0: 34%
4901|1|0|0: 33%
4902|1|0|0: 33%
But it doesn't work. There doesn't seem to be a clear guide for this anywhere. What am I doing wrong? (Ignore the 1. list numbers on the side. I'm not sure why that is appearing.)