COWMODSКаталог модов

LootRestock

A lightweight Fabric mod that automatically restocks loot chests after a configurable amount of time has passed.

Автор: PtolemaicQueen13,6 тыс.22обновлён 17 окт. 2026 г.
СнаряжениеМеханики игрыХранение

Описание

LootRestock

Description

LootRestock is a lightweight Fabric mod that tracks when chests are looted and automatically resets them after a configurable period. This ensures that loot can replenish over time, ideal for persistent servers, custom maps, and adventure-based gameplay.

1.0.3 and up (that is 26.2 and 26.3) do not have the crashing stackoverflow issue!

I no longer support anything below 1.0.3.

Please report issues to: https://github.com/Quackster/LootRestock/

Key Features

  • Tracks every lootable chest opened by players
  • Resets chest contents based on original loot tables only when chunks are loaded
  • Configurable cooldown period using simple time units (e.g. 7 days, 12 hours, 30 minutes)
  • Persists data across server restarts
  • Optionally reset only when chests are empty (or always) after timeout expires

From 26.2 and upwards

  • Trial vault resetting of player lists
  • Elytra item frame respawning

Configuration

LootRestock generates a simple config file at ./lootrestock.properties with the following options:

reset_time_value=7
reset_time_unit=days
only_reset_when_empty=true
include_barrels=false
  • reset_time_value: Number of time units before a chest is eligible for reset
  • reset_time_unit: Units of time: seconds, minutes, hours, or days
  • only_reset_when_empty: (default value: true)
    • true: Chests will reset only if empty (after the cooldown)
    • false: Chests will reset regardless of contents (after the cooldown)
  • include_barrels: Whether barrel loot should get reset (default value: false)

Data Persistence

  • Chest interaction data is stored in the world save folder (chest_reset_data.json)
  • Safe to shut down or reload server without losing tracked state

Use Case Examples

  • Keep dungeon loot fresh in multiplayer worlds
  • Refill treasure chests in singleplayer
  • Ensure players always have a reason to explore

License

This mod is open-source and licensed under GPL v3.

Последние версии

Все версии →
release

1.0.3

1.0.3
17 окт. 2026 г.283Minecraft: 26.3fabric
Скачать
release

1.0.3

1.0.3
17 окт. 2026 г.95Minecraft: 26.2fabric
Скачать
Что нового
Fix vault spawner resetting causing crashing / stackoverflow: https://github.com/Quackster/LootRestock/issues/8
release

1.21.11 - 1.0.1 release

1.0.1
24 янв. 2026 г.1,5 тыс.Minecraft: 1.21.11fabric
Скачать
Что нового
Added cronjob support, please delete your current config to see it, and also OP only option to destroy chests or not.
release

1.21.9

1.0.1
1 окт. 2025 г.765Minecraft: 1.21.9, 1.21.10fabric
Скачать
release

1.20.1

1.0.1
30 сент. 2025 г.2,4 тыс.Minecraft: 1.20.1fabric
Скачать
release

1.21

1.0.1
31 авг. 2025 г.7,1 тыс.Minecraft: 1.21.1fabric
Скачать
release

1.21.7-1.21.8

1.0.1
27 июл. 2025 г.522Minecraft: 1.21.7, 1.21.8fabric
Скачать
Что нового
Add Minecart chest support.