LootRestock

Quick rating

LootRestock

No reviews yet

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

No Theme
No Genre
Dungeons & Strongholds
Storage & Organization
Mod Loaders
Fabric
Minecraft
26.2

Community voices

Reviews

Versions
Loading versions…
Match includes

Click once to include, again to exclude, again to clear

Rating Any
Any 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0
Min
Max
Play Status
Reviews
Time Played
hrs+
Verified developers only
Has developer response
List view
Grid view
Compact view
Sort by
Date
Rating
Helpful
Unhelpful
Edited
Sort ascending
Delete this review?

This removes your review from the project. You can write a new review after.

Review submitted for moderation

Your review has been sent to moderators, who will check that it meets our guidelines before it appears publicly.

No reviews yet. Be the first to review this project!

Get it on

Available Platforms

Compatibility

Supported Environments

Where It Runs
Server Only

Runs entirely on the server. Also works in singleplayer.

Unknown

The author has not specified where this runs.

Varies by version.

About

Project Details

Type
Mod
License
GNU General Public License v3.0 or later
Latest Version
LootRestock-1.0.1+1.21.11.jar
Authors
CurseForge
Modrinth

For authors

Embed Badge

If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.

Custom banner text
ModDex rating badge preview

Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.

Identifiers

Platform IDs

CurseForge ID
Modrinth ID

Resources

External Links

Source Issues Wiki Discord

About

Description

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.

Key Features

  • Tracks every lootable chest opened by players
  • Resets chest contents based on original loot tables only when chunks are loaded
  • Performance-optimized: Chest resets are processed only when players are nearby and chunks are active
  • 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

Performance Design

LootRestock is designed with server performance in mind:

  • Chest resets only occur when the containing chunk is loaded by a player
  • Minimal memory footprint by only tracking opened chests

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 adventure maps
  • Ensure players always have a reason to explore

Installation

  1. Requires Fabric Loader
  2. Install Fabric API
  3. Place the mod JAR in your mods/ folder
  4. Start the game and a default config will be generated

Metadata

  • Mod ID: lootrestock
  • License: GPL v3
  • Game Versions: 1.21+
  • Mod Loaders: Fabric
  • Dependencies: fabric-api

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.

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.

Screenshots

Gallery

This project has no gallery images yet.

Versions

Files

Relations

Project Relations

More like this

Similar Mods

Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.

On ModDex

Community snapshot

0
Ratings
0
Followers
0
In stacks

By the numbers

Statistics

~23,000
Total Downloads
CurseForge
~13,000
Modrinth
~9,000
Last Updated
CurseForge
Modrinth
Created
CurseForge
Modrinth
Last synced
When ModDex last fetched this project from CurseForge or Modrinth. Every project is re-checked on a schedule, and any project that ships a new file is synced automatically within hours of the release.
New file updates sync automatically
How syncing works