
# -> Remove temp tag
tag @s remove OverlyRealistic.Entity.PlayerCorpseTemp

# -> Edit profile data
data modify entity @s profile set from block -29999985 2 -29999985 Items[{Slot:0b}].components."minecraft:profile"

# -> Rotate
execute rotated as 00000001-0000-002a-0000-00010000002a run \
    rotate @s ~ ~

# -> Get player data
data modify entity @s data.inventory set from storage overly_realistic:player_general dead_player_data.Inventory
data modify entity @s equipment set from storage overly_realistic:player_general dead_player_data.equipment

# -> Get mainhand item
item replace entity @s weapon.mainhand from entity 00000001-0000-002b-0000-00010000002b contents
