▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Моды/Loot Modifier
Loot Modifier

Loot Modifier

Add new pools to existing loot tables

133
2

Loot Modifier

A mod to allow datapacks to modify existing loot tables

Loot table modifiers should be defined in data//lootmodifier/loot_table_modifier/.json

JSON Format

target: A loot table identifier, or list of loot table identifiers, to modify.

pools: A list of pools to add to the loot tables. Uses vanilla loot pool format.

Example

Gives dirt and grass blocks a 10% chance to drop a diamond when mined

{
  "target": [
    "minecraft:blocks/dirt",
    "minecraft:blocks/grass_block"
  ],
  "pools": [
    {
      "conditions": [
        {
          "condition": "minecraft:random_chance",
          "chance": 0.1
        }
      ],
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:diamond"
        }
      ],
      "rolls": 1.0
    }
  ]
}

Совместимость

Minecraft: Java Edition

1.21.x

Платформы

Поддерживаемые окружения

Сервер

Создатели

Детали

Лицензия:MIT
Опубликован:10 месяцев назад
Обновлён:6 месяцев назад
Главная