Skip to content

Custom Loot Handler

Dynamically modify entity loot drops in-game using a simple command. Perfect for map makers!

<1,000 downloads Updated

No ratings yet

Be the first to rate it.

Rate it

Community listing page

Community listing page, reviews may not be monitored by the author.

About

Description

Custom Loot Handler

A lightweight and powerful utility mod designed for map makers and server admins. It allows you to dynamically change what mobs drop when killed, all without writing a single line of JSON or restarting the game.

✨ Features

  • Dynamic Replacement: Change any item dropped by any entity into another item.
  • Custom Quantities: Specify exactly how many of the new item should drop.
  • Persistent Rules: Your replacement rules are saved to a config file and persist across game restarts.
  • In-Game Command: Use /loothandler with full tab-completion to set up your rules instantly.

🎮 How to Use

  1. Spawn or find a mob (e.g., a Zombie).
  2. Use the command: /loothandler <entity> <from_item> <to_item> <count>
  3. Example: /loothandler @e[type=zombie,limit=1] rotten_flesh diamond 3
  4. Kill the zombie. Instead of rotten flesh, it will drop 3 diamonds!

⚠️ Important Note

Due to current command parser limitations in some versions, please DO NOT use the minecraft: namespace prefix in the parameters. Use the simple IDs instead.

  • ✅ Correct: /loothandler @e[type=zombie,limit=1] rotten_flesh diamond 3
  • ❌ Incorrect: /loothandler @e[type=zombie,limit=1] minecraft:rotten_flesh minecraft:diamond 3

📦 Compatibility

  • Minecraft 1.21.10
  • NeoForge 21.10.64