Player Heads Datapack with Corpse Mod
In my modpack, I would like to use a Player Heads datapack, however I am using Corpse which prevents player drops on death to remain in a storage unit on the ground (I believe the conflict exists in Corail Tombstone and VanillaTweaks Graves as well).
I've looked at the standard logic used in player heads datapacks, and they tend to add an extra item to the player drops when killed in pvp. Example:
"type": "minecraft:entity", "pools": [ { "rolls": 1, "entries": [ { "type": "minecraft:item", "name": "minecraft:player_head", "functions": [ { "function": "minecraft:set_name", "entity": "this" }, { "function": "minecraft:fill_player_head", "entity": "this" } ], "conditions": [ { "condition": "minecraft:killed_by_player" } ] } ] } ] }``` Would it be feasible to place the player head directly into the killer's inventory? Or would this be too convoluted. Thank you