Home›Java›Mods›Crates and Cases
Crates and Cases
ModsJava

Crates and Cases

Minecraft Java mod. Downloads from the MC Java Mods app on Android.

by Xen0Xys · on CurseForge

⬇ Download on CurseForge

With this mod, you can place crates that you can configure by adding in the mod's configuration, items with a percentage chance of loot, and a refill delay!

 

Crates can be used like chest if no loot is defined!

Loot in crates will be override when open the container after refill delay!

 

Exemple for military crate:

"lootTable" allow 10% apple drop, and 10% dirt drop

"refillTime" is time for refill in milisecond (here 5 seconds)

"stackNumber", allow you to get with this example 50% chance to get additional apple, with a maximum of 5 (double value rounded to int)

{
  "lootTable": {
    "minecraft:apple": 10.0,
    "minecraft:dirt": 10.0
  },
  "stackNumber": {
    "minecraft:apple": [
      5.0,
      50.0
    ]
  },
  "blockName": "military",
  "refillTime": 5000
}
 
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.

File checked by MCModsHub

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

Explore more