Player Ghost Spawner

About

Creates a Fabric mod for Minecraft *.21.11 that spawns a ghost entity named after a player when they log out. The ghost copies the player's inventory, armor, health, and active potion effects with their remaining durations. The ghost can be attacked, pushed, healed, and receive potion effects like a real player. When the ghost is ******, the player respawns at their spawn point and a chat message announces the death. When the player logs back in, their health and inventory are restored from the ghost's current state, and the ghost is removed without a death message.