跳到正文

Respawn Recovery Compass

作者:Mc_Frodo

Never lose your loot again!

收藏

截图

介绍

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

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:

– https://www.youtube.com/watch?v=E0BLq5Ll37c

– https://www.youtube.com/watch?v=049uyka07L8

常见问题

Respawn Recovery Compass 支持哪些 Minecraft 版本?

Respawn Recovery Compass 支持 Minecraft Java 版 1.19–26.3,共 29 个版本,可用的加载器:Fabric / Forge / NeoForge / Quilt。下载时注意选择和你游戏版本一致的文件。

Respawn Recovery Compass 怎么安装?

新建世界时在「数据包」里把下载的 .zip 拖进去;已有的存档,把文件放进存档目录下的 datapacks 文件夹,进游戏输入 /reload 即可生效。服务器同样放在世界目录的 datapacks 里。

评论

登录后评论和评分

Mc_Frodo 的其他作品

查看全部 →