promotional bannermobile promotional banner

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-0.3.0.jar

File namebattlecache-0.3.0.jar
Uploader
HE666zzHE666zz
Uploaded
Nov 6, 2026
Downloads
9
Size
291.3 KB
Mod Loaders
Forge
File ID
9473880
Type
R
Release
Supported game versions
  • 1.20.1

Curse Maven Snippet

Forge

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

Learn more about Curse Maven

What's new

## New Additions
1. F8 Container Reading

- In Creative mode, aim at any block container (chest, trapped chest, double chest, barrel, shulker box, and mod containers) and press F8.
- The server reads the container contents and appends them to the global loot pool without replacing existing entries; the data is automatically saved when the interface is closed.
- F8 on the client now sends the block the crosshair is pointing at, and the server determines whether it is a supply chest, another container, or a regular block.
- Reading limit is 54 entries (same as loot pool capacity); any excess will not be added.
2. Quantity Range (Minimum–Maximum)

- `LootEntry` adds `minCount` / `maxCount`, a random quantity within the range will be drawn when this entry is selected from a chest.
- Old saves and loot pool files are automatically compatible: read as `1..original quantity`.
- GUI Operations:
- Scroll wheel: Weight (Shift ±10)
- Left / Right click: Maximum quantity ±1
- Ctrl + Left / Right click: Minimum quantity ±1
- Middle click: Delete entry
- Bottom left of slot shows `wWeight`, bottom right shows `1-64` quantity badge; hovering shows tooltip with both weight and quantity range.
- "Read Inventory" retains the original quantity per slot as the maximum; when added from the Creative mode category bar, default is `1-1`, repeated clicks increase the maximum value.

This mod has no related projects