Custom Loot Datapack: Expand Entity Drops Without Conflicts
Every Minecraft world tells a story, and the items that creatures drop often shape the adventure. Vanilla loot tables work well, but they can feel limiting when you want to reward players with unique treasures without erasing what already exists. The Custom Loot datapack steps in as a lightweight solution, letting you layer new drops onto any entity while preserving default loot and respecting other datapacks. Whether you run a survival server, an adventure map, or a minigame, this tool gives you control without the usual headaches of overwriting files.
What Exactly Does the Custom Loot Datapack Do?
At its core, the datapack introduces a system that appends extra loot to entities upon death. Instead of replacing the standard loot table, it runs alongside it. This means a zombie still drops rotten flesh and iron ingots as usual, but now you can seamlessly add a custom sword, a rare gem, or a quest token. Even better, if you already use other datapacks that modify drops, they continue to function without interference. The pack achieves this by using Minecraft's function tags and a clever death detection mechanism that triggers additional loot spawning after the vanilla drop event.
Key Features That Set It Apart
- Non-destructive loot addition: Adds items to any living entity without altering or removing existing loot tables, ensuring compatibility with vanilla mechanics and other modifications.
- Function tag hooks: Version 1.2 introduced two powerful function tags. One executes as and at every living entity upon death, while another fires for the player who landed the killing blow. This opens up endless possibilities for conditional rewards, scoreboard interactions, or custom effects.
- Simple uninstallation: Running
/function custom_loot:uninstallsafely removes all traces of the datapack, making it easy to test or switch setups without corrupting your world. - Lightweight design: The pack uses minimal resources and avoids complex scoreboard loops, keeping server performance smooth even with many entities.
Installation and Getting Started
Adding the Custom Loot datapack to your world follows the standard datapack procedure. Download the pack from Planetminecraft or consult the official wiki for the latest version. Place the extracted folder inside your world's datapacks directory, then reload with /reload. Once active, you can begin configuring loot by editing the provided JSON files or by linking your own functions to the new tags. For those who prefer a streamlined modding experience, the foxygame.net launcher offers a modern interface where you can download and manage datapacks like Custom Loot directly from its built-in menu, making installation almost effortless. After setup, test with a simple mob kill to confirm that your custom items appear alongside default drops.
Commands and Function Tags Explained
The datapack revolves around two main function tags that modders and map makers will love:
#custom_loot:on_death– This tag runs as and at every living entity the moment it dies. Use it to spawn particles, play sounds, or drop loot based on the entity's NBT data, location, or even the time of day.#custom_loot:on_kill– Executes as and at the player who dealt the final blow. Perfect for rewarding players with experience, unlocking achievements, or triggering custom advancements.
To add your own behavior, simply create a function and add it to the respective tag inside the datapack's data/custom_loot/tags/functions folder. There is no need to modify the core files, which keeps updates clean and your custom logic safe.
Known Limitations and the 1023 Damage Quirk
No piece of software is perfect, and Custom Loot has one hard limitation: if you kill an entity with a weapon that deals more than 1023 damage in a single hit, the custom loot system will not trigger. This bug cannot be fixed due to how Minecraft handles damage values internally. In practice, this threshold is rarely reached in survival gameplay—even a fully enchanted netherite sword with strength effects stays far below that number—but it is something to keep in mind for overpowered custom weapons or command block setups. Apart from that, the datapack runs smoothly. If you encounter any other issues or have ideas for improvement, the creator welcomes feedback via Discord.
Changelog Highlights
Staying updated ensures you get the most out of the datapack. Here are the recent changes:
- V1.2: Added the
on_deathandon_killfunction tags, dramatically expanding scripting possibilities. This version turned the datapack from a simple loot appender into a full event-driven framework. - V1.1: Introduced a missing tag that some users needed for compatibility with certain entity types, resolving early adoption hiccups.
Always remember to run the uninstall function before removing the datapack from your world to avoid leftover data.
Conclusion: A Must-Have Tool for Custom Loot Design
The Custom Loot datapack fills a gap that many server owners and map creators have felt for years. It respects the vanilla ecosystem, plays nicely with other datapacks, and now with function tag hooks, it doubles as a lightweight event system. Whether you are designing a boss that drops a legendary artifact or simply want to sprinkle extra emeralds into creeper loot, this pack delivers without the technical debt of overwriting core files. Grab it, experiment with the tags, and watch your world's economy and challenges come alive. Just keep that 1023 damage edge case in the back of your mind, and you will have a reliable, expandable loot system that grows with your creativity.