HomeJavaDatapacksName Tag Drops
Name Tag Drops
Name Tag Drops — screenshot 1Name Tag Drops — screenshot 2Name Tag Drops — screenshot 3

This data pack makes mobs that you have named with a name tag drop their name tags (with their name on them) when they die. Now you can properly memorialise a fallen pet without having to frame their body parts!

It is compatible with other loot table data packs, which is handy if you like using Vanilla Tweaks packs like me.

Usage:

It's recommended to add this pack before you start a world, but if you're going to add this to an existing world, be aware that this pack won't know what mobs already have an name. To fix this, run the command /function drop_name:update_mobs to update any mob within 32 blocks

Uninstalling is not recommended as named mobs will lose their loot table, but if you wish to do so you can get around this. Make sure to follow these instructions:

UninstallingBefore removing the pack, run the command:

/function drop_name:uninstall

Any mob you have named since installation will lose their loot table after uninstalling. To grant a loot table back to a mob, look at them and enter this command:

/data merge entity <TAB COMPLETE> {DeathLootTable:"minecraft:entities/cat"}

TAB complete the UUID of the entity which shows up automatically when looking at it. Change the ID of the entity at the end of the command to the correct entity. If it is a sheep you will need to specify the colour after, e.g. sheep/blue

Few things to note:


Also on Planet Minecraft

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