ArcanumLib Mod reworks any loot table in Minecraft using datapacks, Java code, or KubeJS scripts. This library mod splits drop changes into three layers so modpacks can edit loot using JSON injectors, custom code, or script events. It brings 54 selectors across 5 selector families, 41 operators, 9 chance modifiers, and 4 new attributes for extra drops. The mod also works automatically with Advanced Loot Info and AStages whenever those mods are installed.

ArcanumLib Mod

Features:

  • Loot Injectors: Lets you pick any loot table, pool, entry, function, or condition across five levels to add, remove, or edit them using 5 selector families (54 selectors total) and 41 operators.
  • Chance Modifiers: Adds the arcanumlib:chance_modifiers condition with nine modifiers that rewrite base drop chances based on game difficulty, tool enchantments, or mob attributes.
  • Four New Attributes: Introduces seeking, fortune, looting, and bonus_loot attributes to grant extra loot rolls on mob drops and chests.
  • Includes the arcanumlib:all_of entry type where every child item inside the entry is produced at once.
  • Provides an optional KubeJS API featuring 12 script events, 14 factory helpers, and a read-only ArcanumLib binding.
  • Loads compatibility for Advanced Loot Info and AStages automatically when those mods are present in your setup.

Commands:

  • /arcanumlib export lootTable: exports loot table data.
  • /arcanumlib loot_simulation: runs a simulation of loot drops.

How to Use:

  1. Place a JSON injector file into the data/<your namespace>/loot_injecter/ folder, then run the /reload command in-game to apply the changes.
  2. Alternatively, register your loot injectors directly through Java code or use ArcanumLibEvents.registerLootInjector inside a KubeJS script.

Requirements:

ArcanumLib Mod Download Links

For Minecraft 1.21.1, 1.21

Click to rate this post!
[Total: 0 Average: 0]