Player Drops Head
<picture> <source media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.com/Mqxx/GitHub-Markdown/main/blockquotes/badge/light-theme/tip.svg"> </picture>Questions or issues? -> discord server | or create an issue on github
Features
1. Players can drop their head on death or only when killed by another player --> change with the config
2. You can give yourself your own head
3. You can give yourself any head that exists
The heads are stackable up to 64
Give own head
To give yourself your own head:
/trigger give_own_head
Give any head (doesn't work for 1.20.1)
To give yourself any head:
Get a book and quill and write only the name in it
While holding the book and quill run:
/trigger give_head
Config
To change if players are able to give themself their own head:
/scoreboard players set &give_own_head config.player_drops_head value
value = 0 = disabled value = 1 = enabled --> default
To change if players are able to give themself any head: (doesn't work for 1.20.1)
/scoreboard players set &give_head config.player_drops_head value
value = 0 = disabled --> default value = 1 = enabled
Change the head drop conditions:
/scoreboard players set &head_drops config.player_drops_head value
value = 0 = only when killed by player --> default value = 1 = head drops always
<picture> <source media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.com/Mqxx/GitHub-Markdown/main/blockquotes/badge/light-theme/info.svg"> </picture>To fix the bug where the name of a head changes after being placed and picked up again:
You can istall -> Keep Head Names Mod
This bug will be fixed in 1.20.5