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!
本站是资源分享站,资源均来自于互联网和用户自发分享,仅供学习和交流使用。如有版权问题,请联系管理员删除。
操作
创作者
待认领资源
成为此资源的创作者
其他链接
最近更新资源
阿卡迪亚的天启:天选之歌
热度 777 | 1 周前更新
机械动力:航空学 - All of Create - Aeronautics
热度 766 | 1 周前更新
天空开拓者:耕云纪元
热度 653 | 1 周前更新
更好的MC Better MC [FORGE] BMC4
热度 585 | 1 周前更新
剑痕纪元
热度 2142 | 1 周前更新
咒术回战(咒术战斗) - Jujutsu Kaisen (Sorcery Fight)
热度 3682 | 3 周前更新
机械动力:工业与牧歌 - Create: Industry and Pastoral
热度 5001 | 3 周前更新
虚饰作品-Fictional
热度 5017 | 3 周前更新
猎杀:历史 1949 - Hunt: History 1949
热度 2386 | 3 周前更新
更好的MC Better MC [NEOFORGE] BMC5
热度 2526 | 3 周前更新
ATM10:空岛 - All the Mods 10: To the Sky
热度 1150 | 3 周前更新
方块宝可梦x纪元(Cobblemon x Era)
热度 5898 | 3 周前更新
评论区 (0)
登录 后才能发表评论
快来发表第一条评论吧!