Description
With this mod, you can place crates that you can configure by adding in the mod's configuration, items with a percentage chance of loot, and a refill delay!
Crates can be used like chest if no loot is defined!
Loot in crates will be override when open the container after refill delay!
Exemple for military crate:
"lootTable" allow 10% apple drop, and 10% dirt drop
"refillTime" is time for refill in milisecond (here 5 seconds)
"stackNumber", allow you to get with this example 50% chance to get additional apple, with a maximum of 5 (double value rounded to int)
{
"lootTable": {
"minecraft:apple": 10.0,
"minecraft:dirt": 10.0
},
"stackNumber": {
"minecraft:apple": [
5.0,
50.0
]
},
"blockName": "military",
"refillTime": 5000
}


