promotional bannermobile promotional banner

ArcanumLib

A loot and attribute framework for mods — rework any loot table from datapacks, code or KubeJS.

Rework any loot table in Minecraft 1.21.1 — from datapacks, code or KubeJS.

ArcanumLib is a loot and attribute framework for mod and pack authors. It splits "changing drops" into three composable layers, so you can do it with a json injector, with your own code, or straight from a KubeJS script.

What you get

  • Loot injectors (datapack): pick any table, pool, entry, function or condition across five levels, then add, remove or edit them — 5 selector families (54 selectors) and 41 operators.
  • Chance modifiers: the arcanumlib:chance_modifiers condition, with nine modifiers that rewrite a base chance from difficulty, tool enchantment or entity attributes.
  • All-of entry: arcanumlib:all_of, where every child is produced.
  • Four attributes: seeking, fortune, looting and bonus_loot (extra rolls on entity drops and chests).
  • Commands: /arcanumlib export lootTable and /arcanumlib loot_simulation.
  • KubeJS API (optional): 12 script events plus 14 factory helpers, and a read-only ArcanumLib binding.
  • Mod compatibility: Advanced Loot Info and AStages support, loaded automatically when present.

Getting started

  1. Drop a json injector into data/<your namespace>/loot_injecter/, then run /reload.
  2. Or do it in code: register from Java, or with ArcanumLibEvents.registerLootInjector in KubeJS.
  3. Full documentation (中文 / English) is in the docs/ folder of the repository.

ArcanumLib Team

profile avatar
  • 6
    Followers
  • 18
    Projects
  • 4.9M
    Downloads

More from chen_1335View all

  • Immersive Mechanical project image

    Immersive Mechanical

    Several multi block machines have been added to the Immersive Engineering.

    • 8.7K
    • November 22, 2026
  • Ultimate Enchantment project image

    Ultimate Enchantment

    an enchantment mod that provide 10+ powerful and useful enchantments。 The inspiration for ultimate enchantment comes from hypixel skyblock.

    • 96.1K
    • November 1, 2026
  • RenderJS project image

    RenderJS

    An mod that supports the modpack authors using KubeJS to draw HUDs and register ItemDecorator(item extra render in inventory), as well as a mod for rendering blocks and items in the world.

    • 3.6M
    • October 27, 2026
  • Legendary Relics project image

    Legendary Relics

    This mod has added several curios that can be discovered during exploration, as well as a set of armor for the end of the game

    • 5.4K
    • October 23, 2026
  • Immersive Mechanical project image

    Immersive Mechanical

    Several multi block machines have been added to the Immersive Engineering.

    • 8.7K
    • November 22, 2026
  • Ultimate Enchantment project image

    Ultimate Enchantment

    an enchantment mod that provide 10+ powerful and useful enchantments。 The inspiration for ultimate enchantment comes from hypixel skyblock.

    • 96.1K
    • November 1, 2026
  • RenderJS project image

    RenderJS

    An mod that supports the modpack authors using KubeJS to draw HUDs and register ItemDecorator(item extra render in inventory), as well as a mod for rendering blocks and items in the world.

    • 3.6M
    • October 27, 2026
  • Legendary Relics project image

    Legendary Relics

    This mod has added several curios that can be discovered during exploration, as well as a set of armor for the end of the game

    • 5.4K
    • October 23, 2026