LuckyBlocks banner
LuckyBlocks icon

LuckyBlocks

Мне нужен мод с лаки блоками, я хочу что бы он считывал конфиг где будет написано что и с каким шансом будет выпадать

00
neoforgeBoth1.21.1mod

LuckyBlocks mod

  • Adds a Lucky Block and a dedicated creative tab so you can grab it in creative mode.
  • Breaking the block rolls a random reward using weights defined in config/luckyblocks.json (created on first run).
  • Each entry in the config accepts:
    • item: namespaced item id (e.g., minecraft:diamond)
    • weight: relative chance; higher numbers make that entry more likely
    • min / max: stack size range for the drop
  • Example section you can copy into the config:
    {
      "drops": [
        {"item": "minecraft:diamond", "weight": 1, "min": 1, "max": 1},
        {"item": "minecraft:gold_ingot", "weight": 4, "min": 1, "max": 3},
        {"item": "minecraft:tnt", "weight": 1, "min": 1, "max": 2}
      ]
    }
    
  • The mod reloads the config when the server starts; edit and restart to apply changes.
  • Known limitation: only block breaks trigger drops (explosions or other removal methods do not roll loot).

Server Validation

Server validation passed - The mod was tested on a real Minecraft server and loaded successfully.