What are you searching for?

LabsCases
LabsCases

LabsCases

A unique mod for cases with full customization of loot, name, description, drop chance, and full customization of case color via a json file

download 2 Downloads · favorite 0 Followers · Updated 16 hours ago
Forge Game-mechanics Utility 1.20.1

Versions

inventory_2
LabsCases 1.0.0

1.0.0 · 16 hours ago · 16.34 KB

Release download
Forge 1.20.1

Gallery

About

LabsCases

EN_US:

Labs Cases is a flexible and powerful case system designed for servers, modpacks, and single-player games. The mod allows you to add custom cases to Minecraft with customizable rewards, colors, rarities, and drop logic, all through simple JSON files.

Create collections of cases, rewards of any complexity, rarity, themed sets, and integrations with other mods. Labs Cases is perfect for various builds with quests, where it will be clearly interesting to try your luck instead of a predictable reward.

To add new cases, you need to restart the maincraft completely.

EXAMPLE OF CASE CREATION:

First, you should create a new json file in the config/labscases/cases/ folder with any name you like, for example lite.json

NOTE ON THE JSON file:

"caseName": "text", - this is the name of the case (can be named anything)

"color": 16724787, - this is the color of your case (you can insert any color)

"item": "minecraft:diamond", - this is the item ID (you can insert any item from any mod) If you have CraftTweaker installed, you can use /ct hand to find the item ID

"min": 1, - the minimum amount of the item that can be dropped (you can set any integer value) 

"max": 2, - the maximum number of items that can be dropped (similar to the minimum number), and the drop range varies from the minimum to the maximum (depending on luck)

"weight": 5, - this is the weight of the item (or the chance of dropping it). The higher the number of an item among all other items, the higher the weight of its drop, and the lower the weight, the lower the chance of dropping it among all other items. You can set any integer value (for example, from 1 to 999)

"description": "Description of the item in the case" is a string for describing the item, where you can write whatever you want.

In the example below, three items are dropped from the case.

After creation, you open this json file and paste the code below, editing the names, weights, items, and descriptions to suit your preferences:

Example of case configuration in spoilers:

{
"caseName": "Any case name",
"color": 16724787,
"loot": [
    {
      "item": "minecraft:diamond",
      "min": 1,
      "max": 2,
      "weight": 5,
      "description": "Any text"
    },
    {
      "item": "minecraft:netherite_scrap",
      "min": 1,
      "max": 1,
      "weight": 1,
      "description": "Any text"
    },
    {
      "item": "minecraft:gold_ingot",
      "min": 3,
      "max": 6,
      "weight": 20,
      "description": "Any text"
    }
  ]
}

RU_RU:

Labs Cases — это гибкая и мощная система кейсов, созданная для серверов, модпаков и одиночной игры. Мод позволяет добавлять в Minecraft собственные кейсы с настраиваемыми наградами, цветами, редкостями и логикой выпадения — всё через простые JSON‑файлы.

Создавайте коллекции кейсов, награды любой сложности, редкости, тематические наборы и интеграции с другими модами. Labs Cases идеально подходит для различных сборок с квестами, где явно будет явно интересно попытать свою удачи вместо предсказуемой награды. 

Чтобы добавились новые кейсы нужно перезапустить маинкрафт полностью.

ПРИМЕР СОЗДАНИЯ КЕЙСА:

Во первых вы должны создать в папке config/labscases/cases/ новый json файл с любым вам понравившемся названием: к примеру lite.json

ПРИМЕЧАНИЕ К JSON-файлу:

"caseName": "Название кейса", - это название кейса(может быть названо как угодно)

"color": 16724787, - это цвет вашего кейса(можно вставлять любые цвета)

"item": "minecraft:diamond", - это айди предмета(можно вставить любой предмет из любого мода) Если на сборке есть CraftTweaker, то пропишите /ct hand и узнаете айди предмета

"min": 1, - минимальное количество выпадаемого предмета(можно поставить любое целое число)  

"max": 2, - максимальное количество выпадаемого предмета(аналогично минимальному любое число), Выпадение варьируется от минимального до максимального(зависит от того как повезёт)

"weight": 5, - это вес предмета(или же шанс выпадения по простому). Чем больше число предмета среди всех остальных, тем больше вес его выпадения, а чем меньше вес, тем меньше шанс выпадения среди всех остальных предметов. Можно установить любое целое число(например от 1 до 999)

"description": "Описание предмета в кейсе" - это строка для описания предмета, тут можно написать все что хотите. Например: написать: шанс выпадения очень мал.

В примере ниже зарегестрированно выпадение трёх предметов с кейса.

После создания вы открываете этот json файл и вставляете код ниже, редактируя под свои параметры названия, вес, предмет и его описание:

Пример конфигурации кейса в спойлерах:

{
"caseName": "Название кейса",
"color": 16724787,
"loot": [
    {
      "item": "minecraft:diamond",
      "min": 1,
      "max": 2,
      "weight": 5,
      "description": "Описание кейсу"
    },
    {
      "item": "minecraft:netherite_scrap",
      "min": 1,
      "max": 1,
      "weight": 1,
      "description": "Очень редкая награда"
    },
    {
      "item": "minecraft:gold_ingot",
      "min": 3,
      "max": 6,
      "weight": 20,
      "description": "Немного золота"
    }
  ]
}
open_in_new View on Modrinth
Compatibility
Client: Unsupported Server: Required
gavel LicenseRef-All-Rights-Reserved

Conversation

What are your thoughts?

Related projects

Optimization Utility
FerriteCore
FerriteCore

by malte0811

Memory usage optimizations

download 84.3M
favorite 12,712
Utility
Mod Menu
Mod Menu

by Prospector

Adds a mod menu to view the list of mods you have installed.

download 77.7M
favorite 22,127
Library Management Utility
YetAnotherConfigLib (YACL)
YetAnotherConfigLib (YACL)

by isxander

A builder-based configuration library for Minecraft!

download 66.1M
favorite 7,607
Adventure Transportation Utility
Xaero's Minimap
Xaero's Minimap

by thexaero

Displays a map of the nearby world terrain, players, mobs, entities in the corner of your screen. Lets you create waypoints which help you find the locations you've marked.

download 60.9M
favorite 13,668
lock Cookie consent

SkinMC uses cookies to provide functionality and features.