Download Loot Stock — Minecraft Mods — MetaMods
Loot Stock

Loot Stock

Active

Downloads

0

Last update

9 months ago

Versions

1.18.2 — 1.20.4
Client and server
Forge
Neoforge
Game mechanics
Control
Storage
Utils

Loot Stock

This mod provides players with a system of configurable containers that automatically generate items, making loot collection more interesting and varied.

Containers

How It Works

Special containers and boxes of different types appear in your world - from modest lockers to large metal chests. Each container, when placed or generated, automatically fills with random items from a preset list. The most interesting feature is that the contents periodically refresh, constantly giving the player access to new resources.

Locker inventory

Configuration

All mod parameters are configured through the lootstock.toml file in the configuration folder. You can specify exactly which items will appear in each container type, set their possible quantities, and even configure special tags for NBT.

  • For an empty slot use: item1 = "" or item1 = "minecraft:air"
  • For items with NBT: item1 = "tacz:ammo" and item1tag = " AmmoId: 'tacz:9mm' "

Debug mode is activated with the command /gamerule lootstockDebug true - when placing a container, you'll see a message with the corresponding generator command.

Configuration Example

[locker]
    # items to restock in lockers
    item1 = "minecraft:copper_ingot"
    item2 = "minecraft:gunpowder"
    item3 = "minecraft:iron_ingot"
    item4 = "minecraft:coal"
    item5 = ""
    # locker item tag
    item1tag = ""
    item2tag = ""
    item3tag = ""
    item4tag = ""
    item5tag = ""
    # item count range: 0.0 - 64.0
    min = 0.0
    max = 4.0

[military_box]
    # items to restock in military boxes
    item1 = "minecraft:copper_ingot"
    item2 = "minecraft:gunpowder"
    item3 = "minecraft:iron_ingot"
    item4 = "minecraft:coal"
    item5 = ""
    # military box item tag
    item1tag = ""
    item2tag = ""
    item3tag = ""
    item4tag = ""
    item5tag = ""
    # item count range: 0.0 - 64.0
    min = 0.0
    max = 1.0

[ammo_box]
    # items to restock in ammo boxes
    item1 = "minecraft:copper_ingot"
    item2 = "minecraft:gunpowder"
    item3 = "minecraft:iron_ingot"
    item4 = "minecraft:arrow"
    item5 = ""
    # ammo box item tag
    item1tag = ""
    item2tag = ""
    item3tag = ""
    item4tag = ""
    item5tag = ""
    # item count range: 0.0 - 64.0
    min = 0.0
    max = 16.0

[ammo_case]
    # items to restock in ammo cases
    item1 = "minecraft:arrow"
    item2 = "minecraft:arrow"
    item3 = "minecraft:arrow"
    item4 = "minecraft:arrow"
    item5 = ""
    # ammo case item tag
    item1tag = ""
    item2tag = ""
    item3tag = ""
    item4tag = ""
    item5tag = ""
    # item count range: 0.0 - 64.0
    min = 0.0
    max = 16.0

[crate]
    # items to restock in crates
    item1 = "minecraft:copper_ingot"
    item2 = "minecraft:gunpowder"
    item3 = "minecraft:iron_ingot"
    item4 = "minecraft:coal"
    item5 = ""
    # crate item tag
    item1tag = ""
    item2tag = ""
    item3tag = ""
    item4tag = ""
    item5tag = ""
    # item count range: 0.0 - 64.0
    min = 0.0
    max = 4.0

[metal_chest]
    # items to restock in metal chests
    item1 = "minecraft:copper_ingot"
    item2 = "minecraft:gunpowder"
    item3 = "minecraft:iron_ingot"
    item4 = "minecraft:coal"
    item5 = "minecraft:arrow"
    item6 = "minecraft:gold_ingot"
    item7 = "minecraft:emerald"
    item8 = "minecraft:emerald"
    item9 = ""
    item10 = ""
    # metal chest item tag
    item1tag = ""
    item2tag = ""
    item3tag = ""
    item4tag = ""
    item5tag = ""
    item6tag = ""
    item7tag = ""
    item8tag = ""
    item9tag = ""
    item10tag = ""
    # item count range: 0.0 - 64.0
    min = 0.0
    max = 1.0
Project members
powers28

powers28

Developer

powers282

powers282

Created: 16 Jun 2024

ID: 19333