Loot table stuffs, add backups
This commit is contained in:
parent
4f22c68ed5
commit
ed4da9f630
2 changed files with 44 additions and 0 deletions
18
config/simplebackups-common.toml
Normal file
18
config/simplebackups-common.toml
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
#The max amount of backup files to keep.
|
||||
#Range: 1 ~ 32767
|
||||
backupsToKeep = 5
|
||||
#The time between two backups in minutes
|
||||
#5 = each 5 minutes
|
||||
#60 = each hour
|
||||
#1440 = each day
|
||||
#Range: 1 ~ 32767
|
||||
timer = 15
|
||||
#Should message be sent when backup is in the making?
|
||||
sendMessages = true
|
||||
#The max size of storage the backup folder. If it takes more storage, old files will be deleted.
|
||||
#Needs to be written as <number><space><storage type>
|
||||
#Valid storage types: B, KB, MB, GB, TB
|
||||
maxDiskSize = "15 GB"
|
||||
#Used to define the output path.
|
||||
outputPath = "backups"
|
||||
|
||||
26
kubejs/data/minecraft/loot_tables/blocks/chest.json
Normal file
26
kubejs/data/minecraft/loot_tables/blocks/chest.json
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
{
|
||||
"type": "minecraft:block",
|
||||
"pools": [
|
||||
{
|
||||
"rolls": 1.0,
|
||||
"bonus_rolls": 0.0,
|
||||
"entries": [
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"functions": [
|
||||
{
|
||||
"function": "minecraft:copy_name",
|
||||
"source": "block_entity"
|
||||
}
|
||||
],
|
||||
"name": "expandedstorage:wood_chest"
|
||||
}
|
||||
],
|
||||
"conditions": [
|
||||
{
|
||||
"condition": "minecraft:survives_explosion"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Loading…
Reference in a new issue