Datapack continuation of Keep Head Names for Minecraft 1.21+
While MC-174496 has been fixed in 1.21, lore
, item_name
* and custom_data
components are not kept when placing and mining player heads.
This datapack fixes just that.
It is unlikely for this datapack to break any time soon, so don't expect regular updates.
* Not to be confused with custom_name
.
custom_name
is the name given by an anvil, which is italics by default and can also be removed by an anvil.
item_name
essentially replaces the item's original name (no italics, no way to change it in survival).
This will probably be the final version of this mod as MC-174496 has been fixed!
There is little reason to still use this mod, except to:
-
ensure that placed heads keep their names when upgrading your world to 1.20.5
To upgrade your world, make a backup, then run "Optimize World". Once your world is upgraded, the mod isn't needed anymore. -
keep
item_name
,lore
andcustom_data
components
(note: this part is just a datapack you can build yourself!)
support NeoForge
update to 1.20.2
update to 1.19.3
- update to 1.19
(note: the Fabric 1.18 version seems to work just fine on 1.19)
backport to 1.16
1.5
- ported to Architectury (no Architectury API required)
- set loot table via a datapack instead of Fabric API (Fabric API not required anymore)
- don't soft-implement interfaces (was causing issues in Forge)
1.5.1
- ninja fix missing Forge mod icon
- ninja fix fabric.mod.json requiring Fabric API (now actually not required anymore)
backport to 1.17
1.5
- ported to Architectury (no Architectury API required)
- set loot table via a datapack instead of Fabric API (Fabric API not required anymore)
- don't soft-implement interfaces (was causing issues in Forge)
1.5.1
- ninja fix missing Forge mod icon
- ninja fix fabric.mod.json requiring Fabric API (now actually not required anymore)
1.5
- ported to Architectury (no Architectury API required)
- set loot table via a datapack instead of Fabric API (Fabric API not required anymore)
- don't soft-implement interfaces (was causing issues in Forge)
1.5.1
- ninja fix missing Forge mod icon
- ninja fix fabric.mod.json requiring Fabric API (now actually not required anymore)
1.5
- ported to Architectury (no Architectury API required)
- set loot table via a datapack instead of Fabric API (Fabric API not required anymore)
- don't soft-implement interfaces (was causing issues in Forge)
1.5.1
- ninja fix missing Forge mod icon
update to Minecraft 1.18
requires newest Fabric Loader version
fix an issue where display name tags were created where there were none before (fixes heads suddenly having italic styling)
Port to 1.17
keep lore tags as well