[feat] Light Helmet
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
# Light Helmet
|
||||
Light Helmet(头盔灯) 是一个 Minecraft Fabric 模组,适用于 Minecraft 1.21.1。它添加了一个特殊的头盔——当玩家佩戴时,会在头顶自动生成一个光源方块,照亮周围区域;摘下后光源自动消失。
|
||||
|
||||
合成配方 :将铁头盔放在工作台中央,周围 8 格放置煤炭即可合成。
|
||||
|
||||
主要特性:
|
||||
|
||||
- 佩戴头盔时动态生成光源,跟随玩家移动
|
||||
- 摘下头盔时光源自动清除,不留下残余方块
|
||||
- 轻量级实现,通过 Mixin 注入玩家 tick 逻辑,每 4 tick 检测一次,性能友好
|
||||
|
||||
相关链接:
|
||||
|
||||
- [Github](https://github.com/gtxykn0504/light-helmet)
|
||||
- [Modrinth](https://modrinth.com/mod/light-helmet)
|
||||
- [mcmod](https://www.mcmod.cn/class/28571.html)
|
||||
Reference in New Issue
Block a user