跳到正文

Custom Player Heads

作者:onebeastchris

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

收藏

截图

介绍

中文介绍正在准备中,下面暂时显示原文。

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

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.

常见问题

Custom Player Heads 支持哪些 Minecraft 版本?

Custom Player Heads 支持 Minecraft Java 版 1.19.2–1.21,共 11 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

Custom Player Heads 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅服务端。

评论

登录后评论和评分

onebeastchris 的其他作品

查看全部 →