Custom Player Heads

Custom Player Heads

Mod

Drops player heads with your current skin on player death or via a command - with Bedrock support (via Geyser). Also works with FabricTailor!

Server DecorationMinigameSocial

2,716 downloads
22 followers
Created2 years ago
Updated2 days ago

Follow Save
Host your Minecraft server on BisectHosting - get 25% off your first month with code MODRINTH.

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.

External resources



Project members

onebeastchris

Owner


Technical information

License
MIT
Client side
unsupported
Server side
required
Project ID