HomeJavaModsReLoot
ReLoot
ModsJava

ReLoot

by Chipcord · on CurseForge

⬇ Download on CurseForge

The author built this one for Minecraft 1.20.1–1.20.6 on Forge. On other versions it may install and then do nothing.

Add loot to all your chests

Wanted to generate loot inside chests without having to fill them manually? This mod provides easy commands to do so, and also comes with some loottables by default.

This mod works with all mods as long as they provide a valid loottable. See below if you don't know what that is.

This mod only supports normal chests, not barrels, etc (This is something I'm working on).

Commands

To generate loot in a certain radius, use this command:

/reloot generateNewLoot <loottable> [radius] [mode] [refill] [time in seconds]

To generate loot in all loaded chunks, use this command:

/reloot regenerateAllLoot <loottable> [mode] [refill] [time in seconds]

Examples

This replaces all items in chests within a 100 blocks with the "simple_dungeon" loottable:

/reloot generateNewLoot minecraft:chests/simple_dungeon 100 replace

This adds items from the "desert_pyramid" loottable into every chest in all loaded chunks:

/reloot regenerateAllLoot minecraft:chests/desert_pyramid keep

This adds items from the "random_rarity_chest" loottable into every chest and refills them after 60 seconds.

/reloot regenerateAllLoot reloot:chests/random_rarity_chest replace refill 60

What is a loottable?

A (chest) loottable is a .json file which tells minecraft what items to put in the chests. Minecraft comes with some by default, but many mods also add their own. See loottables already in Minecraft below.

Example of a "woodland mansion" loottable:

minecraft:chests/woodland_mansion

ReLoot loottables

To use with the mod, just write reloot:chests/<loottable here>

Default minecraft chest loottables

To use with the mod, just write minecraft:chests/<loottable here>

Plans for the future (concepts)

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more