Small Fabric mod to drop player heads upon player death - or get them via a command - that's compatible with Bedrock players joined through Geyser, or other mods changing the skin while in-game; e.g. FabricTailor. Unlike a datapack, this will drop a head that will keep the skin you are currently playing with!
Requires FabricAPI! Because of https://bugs.mojang.com/browse/MC-174496, it is recommended to use a mod like https://modrinth.com/mod/headfix to keep custom head names when breaking the head.
Floodgate for Bedrock support is optional, but necessary if you're using a prefix other than ".".
Current features:
- drops a playerhead upon player death
- will display (and keep displaying) the skin used at the time of death!
- if killed by player: adds "killed by [player]" in the lore of the item - or anything else; fully customizable!
- optional "/getskull" command - you can get heads for Java and Bedrock players. For the latter, it will work as long as they have a skin uploaded to the GeyserAPI (done automatically when they join any Geyser+floodgate server)
- option to disable floodgate prefixes showing in the head names
/getskull bedrock .onebeastofchris <- gets you the Bedrock head of onebeastofchris. You don't have to add the prefix!
/getskull jeb_ <- gets you the Java player's head of jeb_
This command is optional, and is disabled by default in the config file. You can restrict access to it by changing the CommandPermissionLevel. 2 is the default - 0 is everyone, 4 is only OP's.
Config file options
- "ShowLore": whether the heads should show who killed them in the lore. True by default.
- "DropNonPlayerKillHeads": Should this mod drop heads when the player died by a non-player death? True by default.
- "CommandEnabled": Whether /getskull is usable. false by default.
- "CommandPermissionLevel": Which permission level is needed to use the command. 2 by default. Set 0 for everyone, or 4 for only OPs.
- "Debug": Whether debug mode is on. Off by default.
- "IncludeFloodgatePrefixInNames": Should bedrock player names have their prefix included? Applies to head names, heads gotten via /getskull bedrock, and the lore tag.
| Version | Minecraft | Loader | Download |
|---|---|---|---|
|
2.1.0 |
1.20.5, 1.20.6, 1.21
|
fabric
|
Download |
|
2.1.0 |
1.20.5, 1.20.6
|
fabric
|
Download |
|
2.1.0 |
1.20.5, 1.20.6
|
fabric
|
Download |
|
2.1.0 |
1.20.5, 1.20.6
|
fabric
|
Download |
|
2.1.0 |
1.20.5, 1.20.6
|
fabric
|
Download |
|
2.1.0 |
1.20.5, 1.20.6, 1.21
|
fabric
|
Download |
|
Custom Player Heads 2.0.0 2.0.0 |
1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4
|
fabric
|
Download |
|
geyserplayerheads-1.0.1 1.0.1 |
1.19.2, 1.19.3, 1.19.4
|
fabric
|
Download |
|
geyserplayerheads-1.0.0 - 1.19.3 1.0.0 |
1.19.2, 1.19.3
|
fabric
|
Download |
|
geyserplayerheads-1.0.0 1.0.0 |
1.19.2
|
fabric
|
Download |
|
geyserplayerheads-0.1.0 0.1.0 |
1.19.2
|
fabric
|
Download |
|
geyserplayerheads-0.0.5 0.0.5 |
1.19.2
|
fabric
|
Download |