Aquaila’s No Mob Armor Drops
This Datapack stops entities from dropping their armor by setting their Hand drop and Armor Drop chances to 0.0
介绍
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. 
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”]}
常见问题
Aquaila’s No Mob Armor Drops 支持哪些 Minecraft 版本?
Aquaila’s No Mob Armor Drops 支持 Minecraft Java 版 1.20.1。下载时注意选择和你游戏版本一致的文件。
Aquaila’s No Mob Armor Drops 怎么安装?
新建世界时在「数据包」里把下载的 .zip 拖进去;已有的存档,把文件放进存档目录下的 datapacks 文件夹,进游戏输入 /reload 即可生效。服务器同样放在世界目录的 datapacks 里。
UAVwaffle 的其他作品
查看全部 →
Creatures of Petrichor
Creatures of Petrichor 添加 9 种怪物和 2 种友好生物。
Tameable Endermen
末影人能驯服吗?这真的可能吗?当然可以!!!现在就能免费拥有!(无需购买)
UAVwaffle’s Mob Crystals (mob transportation)
让你可以合成水晶,用来储存和运输生物!
Soarin’
为 Minecraft 添加滑翔翼,让你无需烟花火箭也能持续飞行!
评论
登录后评论和评分