DEEPU Rana

make a minecraft data pack where killing mobs gives op items

Kodari AI
KodariSep 20 at 9:35 am 1
MobDropOverhaul
Transforms vanilla Minecraft mob drops into an OP loot system. Every mob kill grants powerful, game-changing items including enchanted gear, rare artifacts, and unique weapons. Features configurable drop tables per mob type, guaranteed rare drops from bosses, and scaling rewards based on mob difficulty. Includes custom crafting recipes, particle effects on drops, and balanced rarity tiers from common to legendary. Implements a loot table system using datapack functions, item modifiers, and advancement triggers to track kills. Designed for single-player and multiplayer servers seeking an action-packed, high-reward experience.
  1. Download the ZIP using the export button.

  2. Extract it so the op_mob_kills folder is inside your world’s datapacks/ folder.

  3. Run /reload to activate it.

  4. Run /datapack list to verify it loaded.

  5. Kill a mob, or test with /function op_mob_kills:reward.

Kodari can make mistakes. Review important code before using.
Files
op_mob_kills
Code
3 22
op_mob_kills/data/op_mob_kills/function/reward.mcfunction
give @s minecraft:netherite_sword
give @s minecraft:netherite_pickaxe
give @s minecraft:enchanted_golden_apple 1
give @s minecraft:totem_of_undying 1
give @s minecraft:diamond_block 16
advancement revoke @s only op_mob_kills:mob_kill