Battle Cache

Supply caches generate across the overworld. Walk up to one, right-click its front, and the lid pops open — loot bursts out and lands flat on the ground. After a full day-night cycle the crate reseals itself and restocks, ready for the next run.
Back to Files

battlecache-1.0.0.jar

File namebattlecache-1.0.0.jar
Uploader
HE666zzHE666zz
Uploaded
Nov 15, 2026
Downloads
18
Size
329.7 KB
Mod Loaders
Forge
File ID
9621117
Type
R
Release
Supported game versions
  • 1.20.1

Curse Maven Snippet

Forge

implementation fg.deobf("curse.maven:battle-cache-1785117:9621117")

Learn more about Curse Maven

What's new

## New: modern configuration screen
- The vanilla Forge config list is replaced by a custom two-column screen: parent categories on the left (**World Gen**, **Gameplay**, **Replacement**), their options on the right.
- Bool options use clickable switches, number options use -/+ steppers, and every change is written to `config/battlecache-common.toml` immediately.
- Fully translated in English and Chinese.
- Open it from **Mods → Battle Cache → Config**.

## New: per-structure replacement
- A new **Choose structures...** button in the Replacement tab opens a searchable list of every structure that can contain loot chests — vanilla structures and structures added by other mods or data packs are listed automatically.
- Click a structure to toggle it: green = replace its chests, red = keep them vanilla. **All on / All off** and a search box are included.
- The list is stored server-side in `config/battlecache-structure-filter.dat` and applies to all worlds.
- Unchecking a structure leaves its chests untouched, even when `replaceVanillaChests` is on.

## New: spawn bonus chest toggle in the screen
- `replaceSpawnBonusChest` (default **true**) is now configurable in the Replacement tab and can be toggled in-game.

## Fixed: converted chests keep their loot
- Chests that are replaced now roll their **original loot table** (or spill their stored items) instead of being overwritten by the global loot pool. A converted village or dungeon chest drops exactly what it would have contained.
- Added `inheritConvertedLoot` (default **true**) to choose between inherited loot and the old behaviour (global pool first). Disable it if you want replaced chests to draw from your custom pool.

## Other
- The structure picker and the container picker (F7) share the same dark UI style.
- 19 in-game tests pass, including a new test that verifies a converted chest drops its inherited loot table and ignores the global pool.

This mod has no related projects