一个小型 Fabric 模组,可在玩家死亡时掉落玩家头颅——或通过命令获取——兼容通过 Geyser 加入的基岩版玩家,或其他在游戏中更改皮肤的模组(例如 FabricTailor)。
与数据包不同,此模组会掉落保留你当前使用皮肤的头颅!
需要 FabricAPI!
由于 ,建议使用如 之类的模组,以便在破坏头颅时保留自定义名称。
Floodgate 支持基岩版功能是可选的,但如果你使用的不是 "." 前缀,则必须启用。
当前功能:
- 玩家死亡时掉落玩家头颅
- 显示(并持续显示)死亡时所使用的皮肤!
- 若被玩家击杀:在物品 lore 中添加“被 [玩家] 击杀”——或任何其他内容;完全可自定义!
- 可选的
/getskull 命令——你可以获取 Java 版和基岩版玩家的头颅。对于后者,只要他们已将皮肤上传至 GeyserAPI(在加入任何 Geyser+floodgate 服务器时会自动完成),即可正常工作
- 可选择禁用基岩版前缀显示在头颅名称中
/getskull bedrock .onebeastofchris <- 获取 onebeastofchris 的基岩版头颅。无需添加前缀!
/getskull jeb_ <- 获取 jeb_ 的 Java 版玩家头颅
此命令为可选功能,默认在配置文件中禁用。你可以通过修改 CommandPermissionLevel 来限制对该命令的访问权限。2 为默认值——0 表示所有人可用,4 表示仅限 OP。
配置文件选项
- "ShowLore":头颅是否在 lore 中显示击杀者信息。默认为 true。
- "DropNonPlayerKillHeads":当玩家死于非玩家伤害时,此模组是否仍应掉落头颅?默认为 true。
- "CommandEnabled":是否允许使用 /getskull 命令。默认为 false。
- "CommandPermissionLevel":使用此命令所需的 权限等级。默认为 2。设置为 0 表示所有人可用,或 4 表示仅限 OP。
- "Debug":是否开启调试模式。默认为关闭。
- "IncludeFloodgatePrefixInNames":基岩版玩家名称是否包含其前缀?适用于头颅名称、通过 /getskull bedrock 获取的头颅以及 lore 标签。
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 , it is recommended to use a mod like 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.
评论 0
登录后参与评分
还没有评论,来抢沙发吧