Cases Mod: Loot Boxes & Rewards in Minecraft
Adding an element of surprise to your Minecraft server has never been more straightforward. The Cases Mod: Loot Boxes & Rewards in Minecraft introduces a robust and highly configurable loot box system, allowing server administrators and modpack creators to design unique reward mechanics. Unlike many similar add-ons, this mod prioritizes security and deep customization, ensuring that every drop feels intentional and balanced. Whether you are running a small survival server or a large network, this tool provides the flexibility needed to create an engaging player economy.
Core Features and Configuration Overview
The mod operates on both the client and server side. After installation, the primary configuration file is located at /config/cases.cfg. Custom cases are stored in /config/cases/, while item kits reside in /config/kits/. All files are in JSON format, making them easy to edit even for those with minimal coding experience. The system automatically synchronizes configurations between the server and connected clients, so players receive the latest case definitions upon joining, eliminating the need for manual file distribution.
Creating Your First Case
Each case is defined by a separate JSON file. The file name becomes the internal identifier, so use only Latin letters, numbers, periods, and underscores. The basic structure includes three key parameters:
- displayName - The visible name of the case, which can be a simple string or an object with translations for different languages.
- color - The hexadecimal color overlay for the case icon.
- contents - An array of actions that determine the case's contents.
Understanding Content Actions
The contents system is built on six distinct action types, each adding or removing items according to specific rules. This modular approach allows for complex combinations and layered rewards.
Single and Extended Actions
The single action adds one specific item, supporting properties such as type (item ID), meta (metadata for colored wool or planks), amount (quantity or range like 1-10), nbt (additional data), enchant (chance of random enchantment from 0 to 1), and rarity (from 0 to 4). The extended action works similarly but does not require metadata and automatically adds all variants of an item, which is perfect for all colors of wool or all types of wood planks.
Ore Dictionary and Collection Actions
The oredict action searches for items by their dictionary ore name. Built-in values include ingots (all ingots), gems (all gems), ores (all ores), and ingotBlocks (blocks of ingots). You can filter by mod using the filter parameter, specifying particular mod IDs. The collect action gathers equipment, food, and enchantment books. Allowed types include hoe, pickaxe, sword, shovel, axe, boots, leggings, chestplate, helmet, food, and enchantBooks. Items are unenchanted and undamaged by default, but the condition and enchant properties can alter this.
Extract, Exclude, and Enchantment Chances
The extract action pulls contents from another case by its internal name, which is useful for creating composite cases that combine tools and armor. The exclude action removes a specified item from the list, acting as the opposite of single. For collect actions, the mod uses pre-calculated enchantment chances that can be adjusted with a multiplier:
- Common items: 0.5 (50%)
- Uncommon: 0.4 (40%)
- Rare: 0.3 (30%)
- Very Rare: 0.2 (20%)
- Ultra-Rare: 0.1 (10%)
Installation and Server Commands
To get started, you need to download Cases Mod: Loot Boxes & Rewards in Minecraft from a trusted source and place the JAR file into the mods folder of your Minecraft installation. The mod is compatible with popular loaders like Forge, and it supports multiple Minecraft versions, ensuring that your existing modpack remains stable. For server management, several commands are available:
/cases reload- Reloads the configuration without restarting the server./cases nbt- Outputs NBT data of the item in hand in JSON format, viewable in latest.log./cases new kit|case <name>- Creates a new case or kit from the inventory items you are looking at.
Advanced Customization and Compatibility
The Cases Mod: Loot Boxes & Rewards in Minecraft stands out due to its granular configuration options. You can combine actions, create multi-layered cases via extract, set up localization for various languages, and control the rarity of every element. Mod-based filtering allows you to restrict drops to vanilla items or include content from tech and magic mods like IndustrialCraft 2 and Thaumcraft. This level of control makes it an excellent choice for server admins and modpack authors looking to implement a case-based economy.
In conclusion, the mod transforms loot distribution into a manageable and engaging process. With its deep customization, secure architecture, and automatic synchronization, it is a solid addition to any server. To begin, simply download Cases Mod: Loot Boxes & Rewards in Minecraft for Minecraft and follow the straightforward installation steps. The intuitive JSON structure and clear commands ensure that setting up your first case is quick, allowing you to focus on the creative aspects of server management rather than technical hurdles.