Mineuniverse
Log in Register
Mods

Loot Crates

Randomizable loot for servers.
by Thutmose_III
Claim this project
21,091 downloads
0 likes
Updated Jun 30, 2026
0 hypes

This mod adds in the ability to make inventories which give random sets of items, based on the name of the inventory.

 

To make a crate you must first make the crate name in the .xml which is defaulted to TestCrate1, Then use an anvil ingame to rename a crate to the exact same name TestCrate1

 

This entire server side utility requires you to make all your edits in the xml provided in the config folder labeled lootcrate.xml

This is a cutdown version for my example.

 

 Heres how to add custom number of items:

<Crates>
    <Crate name="TestCrate1">
        <Key id="minecraft:stick" color="red" name="NameHere">
            <Tag>{display:{Lore:["LoreHere"]}}</Tag>
        </Key>
        <Reward r="10">
            <Item id="minecraft:redstone" n="10"/>
            <Item id="minecraft:emerald"/>
        </Reward>

 Here is how you determine % chance of getting item:

        <Reward r="10">
            <Item id="minecraft:emerald"/>
        </Reward>
        <Reward r="10">
            <Item id="minecraft:emerald"/>
        </Reward>
        <Reward r="5">
            <Item id="minecraft:emerald"/>
        </Reward>
        <Reward r="5">
            <Item id="minecraft:emerald"/>
        </Reward>

 This is how the % works out:

r=10 = 30%
r=10 = 30%
r=5   = 15%
r=5   = 15%
Total of 100%

 Commands:
/lc reload (can edit the .xml and /lc reload ingame without restarting server!)
/lckey player TestCrate1 (For config example above)

 

 

 

 

 

 

No files available for download.

More from Thutmose_III

Spawn Defuzzer
8,450
Pokecube Server Utilities
841,291
ThutCore
6,056,037
Server Portal
5,460
Pokecube AIO
537,615
Mob Capper
5,180

You Might Also Like

VanillaDeathChest (Fabric)
Places containers when players die that contain their items.
994,762
Weathering with You
Forecast Minecraft weather with a radar or a hat!
98,579
APTweaks: Items (11.x Classic)
Item clustering (fallen blocks, experience orbs, ...) and garbage cleanup.
9,884,514
Styled Nicknames
Simple, but configurable nicknaming mod allowing your server's players (and admins) to change their nickname with full formatting support
989,499
Datapack Commands
A mod massively expanding on Minecraft's commands (including textboards!)
9,986
World Type Lock
Forces players to use a specified World Type!
9,893