HomeJavaDatapacksAquaila's No Mob Armor Drops
Aquaila's No Mob Armor Drops
DatapacksJava

Aquaila's No Mob Armor Drops

by UAVwaffle · on Modrinth

This Datapack stops entities from dropping their armor by setting their Hand drop and Armor Drop chances to 0.0

⬇ Download on Modrinth

This Datapack stops entities from dropping their armor when they die. The best part is that if a zombie picks up your armor or other items, it'll still drop them when it gets killed!

Special Thx to u/GalSergey for showing how to do this in a command on Reddit to some guy 4 years ago. Replace this with a description

Only tested on 1.20.1. It MIGHT work on other versions

It works by automatically setting the entities' "HandDropChances" and "ArmorDropChances" to 0.0. The entities are also given the "NoDrops" tag, so the "command" only gets run once per mob

The command:

Spoiler

You can easily edit the command by extracting the zip file and editing the following code to add exceptions or only make it work on specific mobs

execute as @e[type=!minecraft:player,tag=!NoDrops, type=!minecraft:item, type=!minecraft:experience_orb, type=!minecraft:end_crystal, type=!minecraft:ender_dragon, type=!#minecraft:boat] run data merge entity @s {HandDropChances:[0.0f,0.0f],ArmorDropChances:[0.0f,0.0f,0.0f,0.0f],Tags:["NoDrops"]}

Quick facts

Install steps are the general flow for this file type — see the MC Java Mods guides for the full walkthrough.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more