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.
arcanumlib:chance_modifiers condition, with nine modifiers that rewrite a base chance from difficulty, tool enchantment or entity attributes.arcanumlib:all_of, where every child is produced.seeking, fortune, looting and bonus_loot (extra rolls on entity drops and chests)./arcanumlib export lootTable and /arcanumlib loot_simulation.ArcanumLib binding.data/<your namespace>/loot_injecter/, then run /reload.ArcanumLibEvents.registerLootInjector in KubeJS.docs/ folder of the repository.