On larger servers admins find it neccessary to frequently delete region files or trigger chunks to regenerate simply because they need their players to be able to obtain items. Otherwise only a select few will have the best gear. On custom maps, or in areas where players frequently build, this may not be possible at all.
They do this because the loot tables assigned to a specific chest are cleared the moment the player interacts with it. Well, what if that didn't have to be the case?
At present, if you use the command:
/setblock X Y Z chest{LootTable:"chests/jungle_temple"} replace
That will cause a chest to spawn at the assigned coordinates which will function exactly like what you would find in the jungle temple however it will only work once.
What if we could specify have it reapply itself on a designated time interval? Something like this:
/setblock X Y Z chest{LootTable:"chests/jungle_temple"} replace renew 10080
In the above our chest, upon user interaction, will trigger a silent timer. After the specified 10080 minutes - or one week - the chest will regenerate even if a player destroyed it. This change would allow server operators to stop having to delete regions all the time, especially if this became the default behavior for random chests.
Please sign in to leave a comment.
2 Comments