Loot table stuffs, add backups

This commit is contained in:
oitsjustjose 2022-06-27 20:11:06 -05:00
commit ed4da9f630
2 changed files with 44 additions and 0 deletions

View 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"

View 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"
}
]
}
]
}