This mod fixes an old bug in Minecraft that causes the "Max Health" attribute to be ignored when a player joins the game. This bug will cause players with a health value greater than the default limit of 20 to be reset back down to 20 when they join the game. For example if the player is wearing a helmet that gives them +10 max health and they leave the game while having 25 health their health will be reset back to 20 when they rejoin the game.
This mod can be installed on the client and server. When installed on the client the bug will be fixed for your singleplayer worlds. When installed on the server the bug will be fixed for all players playing on the server, even those without the mod installed on their client.
You can test this bug using the following steps.
1. Create a new world with cheats enabled and creative mode turned off.
2. Use the /give command to give yourself a helmet with +10 max health. /give @p diamond_helmet{AttributeModifiers:[{AttributeName:"generic.max_health",Amount:20.0,Slot:head,Name:"generic.max_health",UUID:[I;-12158,12468,122112,-24936]}]} 1
3. Equip the helmet. Your max health should go from 20 to 30 (15 hearts).
4. Heal the player causing their health to be over 20.
5. Save the game and exit.
6. Rejoin the game.
7. Your health will be reset to 20. If the mod is installed it will not be.
Like the mod and want to support me?
- Follow me on Twitter
- Join my Discord
- Pledge on Patreon
- Check out my website
This project is sponsored by Nodecraft. Use code Darkhax for 30% off your first month of service!
本站是资源分享站,资源均来自于互联网和用户自发分享,仅供学习和交流使用。如有版权问题,请联系管理员删除。
操作
创作者
待认领资源
成为此资源的创作者
其他链接
最近更新资源
通天之路
热度 275 | 2 天前更新
匠途闲境 - Create Craft & Quiet
热度 193 | 2 天前更新
VERITY.exe
热度 335 | 5 天前更新
咒术回战(咒术战斗)
热度 68933 | 5 天前更新
暮色森林精选 - The Best of Twilight Forest
热度 25593 | 5 天前更新
无限计划 0.1 - Project Infinity 0.1
热度 9732 | 5 天前更新
黑暗RPG - DarkRPG - Forge
热度 9574 | 5 天前更新
[TLWS]末世生辉 The Last World Shines
热度 9393 | 5 天前更新
简易小屋
热度 616 | 1 周前更新
灾厄巫咒
热度 654 | 2 周前更新
阿卡迪亚的天启
热度 2872 | 2 周前更新
寄生仙途
热度 801 | 2 周前更新
评论区 (0)
登录 后才能发表评论
快来发表第一条评论吧!