Just Player Heads 是一款极简风格的模组,允许通过命令或死亡事件收集玩家头颅。所有头颅均通过纹理数据生成,类似于生物头颅的生成方式,且无性能延迟。该模组通过 Mojang API 程序化获取纹理数据,并可在之后将其缓存至本地。
我还有一款 Just Mob Heads 模组可供使用!
所有可用的配置选项:
Show Spoiler
enablePlayerHeadCaching 默认值 true
启用后,将启用玩家头颅纹理的缓存功能。这可以解决 Mojang API 的限制问题,但意味着每当玩家更新皮肤时,旧的头颅仍会掉落,直到服务器重启或管理员使用 '/jph cache' 命令为止。
playerDropsHeadOnDeath 默认值 true
启用后,允许玩家在死亡时掉落自己的头颅。
playerHeadDropChance 默认值 1.0,最小值 0.0001,最大值 1.0
设置当 'playerDropsHeadOnDeath' 启用时,玩家掉落头颅的概率。
使用纹理值而非通过玩家名称生成
该模组使用纹理值来生成玩家头颅。这意味着不会产生任何延迟,而通常由玩家名称生成的头颅会导致性能问题。
纯原版资源
由于该模组不添加任何自定义方块,你可以移除该模组,并且之前在游戏中收集的头颅仍然存在。
游戏内命令
如果你想在不触发死亡事件的情况下生成玩家头颅,可以通过 jph 命令实现。其中玩家名称不区分大小写,数量是可选的(默认数量为 1)。
/jph head <playerName> (amount)
若要清空玩家头颅纹理缓存(如果在配置中启用),你可以重启服务器或使用以下命令:
/jph cache
Mojang API 请求限制
该模组使用 Mojang API 的 UUID -> Profile + Skin/Cape 功能。该功能有较为严格的速率限制:你每分钟只能请求同一个个人资料一次,但可以发送任意数量的唯一请求。这意味着如果 API 限制了其生成能力,有时模组将无法生成头颅。纹理缓存功能可以通过在本地保存头颅纹理数据来解决此问题。
只要下载源保持在 CurseForge 或 Modrinth 生态系统中,你就可以在任何整合包中自由使用此模组。
Serilum.com 提供了所有可用模组的概览及更多信息。
如有问题、想法、建议或其他任何内容,请访问 Github 仓库。谢谢!
Just Player Heads is a minimalistic mod that allows the collection of player heads via a command or death event. All heads are generated similar to a mob head via texture-data, lag free. The mod procedurally retrieves texture data via the Mojang API, and can cache them locally after.
I've also got a Just Mob Heads mod available!
All available config options:
Show Spoiler
enablePlayerHeadCaching default true
If enabled, enables the caching of player head textures. This fixes the limitations of the Mojang API, but does mean that whenever players update their skin the old head is still dropped until the server reboots or an administator uses the '/jph cache' command.
playerDropsHeadOnDeath default true
If enabled, allows players to drop their head on death.
playerHeadDropChance default 1.0, min 0.0001, max 1.0
Sets the chance of a player dropping their head if 'playerDropsHeadOnDeath' is enabled.
Texture values instead of generation via player-names
The mod uses texture values to generate the player heads. This means that there won't be any lag, which player-name generated heads usually cause.
Pure Vanilla Resources
Because the mod does not add any custom blocks, you may remove the mod and still have the heads previously gathered in-game.
In-game commands
If you want to generate a player head without any death event, you may do so via the jph command. Where the player name ignores capitalisation and the amount is optional (default amount is 1).
/jph head <playerName> (amount)
To empty the player head texture cache (if enabled in the config) you can reboot the server or use the following command:
/jph cache
Mojang API request limitations
The mod uses the UUID -> Profile + Skin/Cape function of the Mojang API. This has quite a strict rate limit: You can request the same profile once per minute, however you can send as many unique requests as you like. This means that sometimes the mod is unable to generate a head if the API limits its generation. The texture caching feature can fix this by saving the head texture data locally.
You may freely use this mod in any modpack, as long as the download remains hosted within the CurseForge or Modrinth ecosystem.
Serilum.com contains an overview and more information on all mods available.
For issues, ideas, suggestions or anything else there is the Github repo. Thanks!
下载 Just Player Heads
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Just Player Heads
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Just Player Heads
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Just Player Heads
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Just Player Heads
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Just Player Heads
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Just Player Heads
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Just Player Heads
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Just Player Heads
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Just Player Heads
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
- 将最新更改移植到 Minecraft 版本 26.1.2,该版本现已重新获得活跃支持。
包含之前版本详细信息的完整更新日志可在我的网站上查看:
>
将模组的 Java 包名更改为 com.serilum.*。
更新了 mods.toml 和 fabric.mod.json 文件中的模组信息。
无功能变更。
包含先前版本详细信息的完整更新日志可在我的网站上查看:
>
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
可定制的鞘翅模组,支持装饰纹饰、旗帜图案等更多功能!
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
适用于 MC 1.18+ 的 Effekseer 加载器
模组
新增 50+ 个独特生物群系,为你的世界增添新树木、花卉等更多元素!
模组
添加全屏世界地图,显示你在世界中已探索的区域。与 Xaero's Minimap 搭配使用效果极佳。
模组
基于 GTCEu 1.12.2 的现代 GregTech

评论 0
登录后参与评分
还没有评论,来抢沙发吧