Cases Mod

Cases Mod 1.12.2 is inspired by Lucky Cases mod but it has less security problems and it’s much more configurable.

Cases Mod 1.12.2 (CS:GO Cases in Minecraft) 1

Screenshots:

Cases Mod 1.12.2 (CS:GO Cases in Minecraft) 2

Configs:

Show Spoiler

General mod configuration (/config/cases.cfg)

Default configuration:

# Configuration file

drops {
# [range: 0 ~ 2147483647, default: 3]
I:"Maximum case types at once"=3

# [range: 1 ~ 2147483647, default: 5]
I:"Maximum cases at once"=5

# [range: 0.0 ~ 1.0, default: 0.1]
S:"Mob drop chance"=0.1

# [default: true]
B:"Mobs drop cases on death"=true

# [default: true]
B:"Regular case drops"=true

# [range: 0 ~ 2147483647, default: 60000]
I:"Regular cases timeout (in ticks)"=60000
}

opening {
# [default: true]
B:"Announce case opening in chat"=true

# [default: true]
B:"Item content info on tooltip"=true

# [range: 0 ~ 2147483647, default: 3]
I:"Item rarity factor"=3

# [range: 50 ~ 2147483647, default: 200]
I:"Maximum spin length"=200
}

Cases configuration (custom json files in /config/cases/)

Example configuration (/config/cases/pickaxes.json)
{
"displayName": {
"en_us": "Pickaxe Case",
"ru_ru": "Кейс с кирками"
},
"contents": [
{"action": "collect", "type": "pickaxe"},
{"action": "extended", "type": "minecraft:wool", "rarity": 1}
],
"color": "#555555"
}

Important note: Json file name (your_case.json) is an internal name of your case that’s being used for mod’s internal purposes. It should only contain latin letters, numbers, dots and underscores.

Let’s look closer at our example:

  • The “displayName” property is a display name for your case. It coud be either a string or a json object:

“Pickaxe case” <– default value for every language

OR

{

“en_us”: “Pickaxe case”, <– default value for every language except those listed below

“ru_ru”: “Кейс с кирками”

}

  • The “color” property defines item overlay color
  • The “contents” property is the most hardest part here. It consists of a multiple json objects where each one represents a so-called ‘action’ that can add/remove single/multiple items to a case. There are six different actions:
    • “single” – adds a single item. It has several extra properties such as:
      • “type” – contains item id (e.g. minecraft:apple),
      • “meta” – an item’s metadata (for items like colored wool where meta defines wool color or planks where meta defines tree type. Defaults to ‘0’),
      • “amount” [Could be either a single number or a range (for random item amount. e.g.  ‘1-10’ will drop from one to ten items] Defaults to ‘1’),
      • “nbt” – an item’s extra data (so-called ‘Named Binary Tag’ which is moustly used for items that store energy or mana, etc.)
      • “enchant” – a chance for a tool to have a random enchantment (minimal (and default) value: 0, maximal: 1)
      • “rarity”- an integer value from 0 to 4 that says how rare the item is.
    • “extended” – works the same way as “single” but has no “meta” property because it adds all the item’s variants to the case at once.
    • “oredict” – this one is similar to “extended” but it finds item by their ‘oredict name’ instead of item id. It also has several builtin values such as ‘ingos’ for every ingot, ‘gems’ for every gem, ‘ores’ for every ore and ‘ingotBlocks’ for every ingot block. (e.g. “type”: “ingot”)
    • “collect” – this one is similar to “extended” and “oredict” but can only add equipment, foodstuffs and enchantment books. Possible values: ‘hoe’, ‘pickaxe’, ‘sword’, ‘shovel’, ‘axe’, ‘boots’ (boot), ‘leggings’ (legs), ‘chestplate’ (chest), ‘helmet’ (helm), ‘food’, ‘enchantBooks’
    • “extract” – extract contents from another case. (“case”: “your_case_name_here”). This one is useful when you want to create a case that contains all the tools and armors, etc.
    • “exclude” – this one is opposite to “single” because it removes specified item from the list.

Important note: Your cases’ configuration will be synchronized between your server and players’ clients so you only need to put it on a server side.

Commands:

The mod has a set of an useful commands that will help you with case creation.

  • /cases reload – reload case configuration on the fly (no restart needed)
  • /cases nbt – print JSON’ifyed NBT of the held item (It can be really large [hi, Forestry!] so you will need to look into your latest.log)

Requires:

Minecraft Forge

How to install:

How To Download & Install Mods with Minecraft Forge
How To Download & Install Fabric Mods

Cases Mod 1.12.2 Download Links

For Minecraft 1.12.2

Download from Server 1

Mods

1.19.4 Mods

1.19.3 Mods

1.19.2 Mods

1.18.2 Mods

1.16.5 Mods

1.15.2 Mods

1.12.2 Mods

1.8.9 Mods

1.7.10 Mods

1.18.1 Mods

1.17.1 Mods

1.14.4 Mods

1.13.2 Mods

1.11.2 Mods

1.10.2 Mods

1.9.4 Mods

Minecraft Modpacks

1.19.4 Modpacks

1.19.3 Modpacks

1.19.2 Modpacks

1.18.2 Modpacks

1.16.5 Modpacks

1.12.2 Modpacks

1.7.10 Modpacks

Forge Mods

Fabric Mods

Quilt Mods

Resource Packs

1.19.4 Resource Packs

1.19.3 Resource Packs

1.19.2 Resource Packs

1.18.2 Resource Packs

1.16.5 Resource Packs

1.15.2 Resource Packs

1.12.2 Resource Packs

1.8.9 Resource Packs

1.7.10 Resource Packs

1.18.1 Resource Packs

1.17.1 Resource Packs

1.14.4 Resource Packs

1.13.2 Resource Packs

1.11.2 Resource Packs

1.10.2 Resource Packs

1.9.4 Resource Packs

Shaders

1.19.4 Shaders

1.19.3 Shaders

1.19.2 Shaders

1.18.2 Shaders

1.17.1 Shaders

1.16.5 Shaders

Maps

1.19.4 Maps

1.19.3 Maps

1.19.2 Maps

1.18.2 Maps

1.16.5 Maps

1.15.2 Maps

1.12.2 Maps

1.8.9 Maps

1.7.10 Maps

1.18.1 Maps

1.17.1 Maps

1.14.4 Maps

1.13.2 Maps

1.11.2 Maps

1.10.2 Maps

1.9.4 Maps

Data Packs

1.19.4 Data Packs

1.19.3 Data Packs

1.19.2 Data Packs

1.18.2 Data Packs

1.16.5 Data Packs

1.15.2 Data Packs

1.18.1 Data Packs

1.17.1 Data Packs

1.14.4 Data Packs

1.13.2 Data Packs

MCPE/Bedrock

Mods & Addons

MCPE 1.19 Add-ons

MCPE 1.19 Mods

Texture Packs

MCPE 1.19 Texture Packs

MCPE 1.19 Resource Packs

Maps

MCPE 1.19 Maps

Clients

MCPE 1.19 Clients

Mod Menu Clients

Shaders

MCPE 1.19 Shaders

Render Dragon Shaders

Launchers

Skin Packs

Clients

1.19.4 Clients

1.19.3 Clients

1.19.2 Clients

1.18.2 Clients

1.16.5 Clients

1.12.2 Clients

1.8.9 Clients

Launchers

1.19.4 Launchers

1.19.3 Launchers

1.19.2 Launchers

1.18.2 Launchers

1.16.5 Launchers

1.12.2 Launchers

1.7.10 Launchers

Seeds

1.19.4 Seeds

1.19.3 Seeds

1.19.2 Seeds

1.18.2 Seeds

Skins

Plugins

Bukkit Plugins

Spigot Plugins

Paper Plugins

Tutorials

Installation Guide

Mobs Wiki Guide

Seeds Wiki Guide

Biomes Wiki Guide

Status Effects Wiki Guide

Enchantments Wiki Guide

Materials Wiki Guide

Command Blocks

Versions

Backlinks