重生恢复指南针
这是一个简单的数据包和模组(感谢 VoxelLabs Datapack/Mods Converter),它会在玩家每次重生后给予一个恢复指南针,使其真正有用。你将永远不会再丢失你的战利品!
工作原理
- 每个刻检查玩家的生命值和死亡次数。
- 如果玩家的死亡次数****增加,我们知道他们死了,但我们不知道他们是否已经重生,或者仍然卡在重生界面。
- 因此我们还检查****生命值。
- 如果死亡次数增加了并且他们的生命值也增加了,我们就知道他们重生了。
- 然后我们可以给他们一个指南针。
- 为了只执行一次,我们还检查玩家是否已经在背包中有一个指南针。如果有,他们就不会再获得另一个。就这样。
兼容性
应与大多数模组和数据包兼容。即使更改重生或生命值行为的模组也可以。如果你发现任何错误,欢迎加入我的 Discord。不要犹豫!
整合包许可
你可以将此模组或数据包包含在任何整合包中,只要它被上传到 Modrinth 或 CurseForge。你不得将其作为独立的模组或数据包进行重新分发,或上传到任何其他网站。
免责声明
- 这不是官方的 Minecraft 产品。未经 Mojang 或 Microsoft 批准或与其关联。
- 我使用了一些 AI 来帮助我学习数据包的基础知识并构思实现中的极少部分。没有任何内容是由 AI 生成的。代码、描述和 pack.png 均由我手工制作。
鸣谢
感谢:
- VoxelLabs
- 以及以下两个 YouTube 视频:
Respawn Recovery Compass
This is a simple datapack and mod (thanks to the amazing VoxelLabs Datapack/Mods Converter), which gives the player a recovery compass after every respawn, so it's finally useful. You will never lose your loot again!
How it works
- Checks the player's health and death count every tick.
- If the player's death count goes up we know they died, but we don't know if they have respawned already or if they're still stuck on the respawn screen.
- That's why we also check the health.
- If the death count went up and their health went up as well, we know that they respawned.
- Then we can give them a compass.
- To do this only once we also check if the player already has a compass in their inventory. If they do, they don't get another one. That's it.
Compatibility
Should be compatible with most mods and datapacks. Even mods that change respawn or health behavior. Feel free to join my Discord if you find any bugs. Don't be hesitant!
Modpack Permission
You are allowed to include this mod or datapack in any modpack, as long as it's uploaded to either modrinth or curseforge. You may NOT redistribute this as a standalone mod or datapack or upload it to any other websites.
Disclaimer
- NOT AN OFFICIAL MINECRAFT PRODUCT. NOT APPROVED BY OR ASSOCIATED WITH MOJANG OR MICROSOFT
- I used a bit of AI to help me learn the basics of datapacks and brainstorm very few parts of the implementation. NOTHING WAS GENERATED BY AI. The code, description and pack.png are all entirely handmade by me.
Credits
Thanks to:
- VoxelLabs
- and these two Youtube videos:
下载 Respawn Recovery Compass
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Respawn Recovery Compass
下载 Respawn Recovery Compass
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Respawn Recovery Compass
下载 Respawn Recovery Compass
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Respawn Recovery Compass
下载 Respawn Recovery Compass
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Respawn Recovery Compass
下载 Respawn Recovery Compass
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Respawn Recovery Compass
模组版本的 1.3 发布
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
数据包
此数据包添加了属于阿瓦里海盗的独特结构,将他们的独特风格带入你的 Minecraft 世界!兼容性:1.20 至 26.3
数据包
一个 Minecraft 光线投射库,能够精确检测玩家正在查看的方块,包括像台阶和楼梯这样的特殊方块形状。
数据包
此数据包添加了新的“祝福模式”难度。
数据包
添加了基于官方概念图的蓝蛙和红眼树蛙变体。
数据包
允许服务器管理员方便地禁用 Xaero's Map 系列模组中的实体雷达、小地图等功能,使竞技游戏更加公平。
数据包
使用原版/生存友好的方法更改青蛙的变种类型。支持原版(寒冷、温带、温暖)以及可选的“More Frogs 2”变种:深红、末影、地狱、毒镖、紫珀、幽匿、灵魂、诡异和木头。
评论 0
登录后参与评分
还没有评论,来抢沙发吧