promotional bannermobile promotional banner

MortisFix

Fixed many "fake death" such as animation, NaN health, ghost entity and unclosable death screen

Welcome to "MortisFix" ~ !
It's a bugfix/patch mod that addresses unexpected death, it will: 
1. Try to fix the bug where the DeathScreen cannot be closed when LocalPlayer's health > 0;
2. Try to prevent the DeathScreen from opening for a living LocalPlayer;
2.1. However, if the DeathScreen is already open and the LocalPlayer becomes alive again, this mod will NOT close it automatically. To close, or not to close --- that is the player's decision;
3. Try to prevent the DeathScreen from being opened repeatedly, which causes the respawn button to become disabled;
4. Try to invoke DeathScreen's tick() after LocalPlayer's tick();
5. Try to set the deathTime of a living LivingEntity to 0 to prevent an incomplete death animation;
6. Try to cancel LivingDeathEvent if the LivingEntity is alive;
7. Try to prevent the die method from being invoked on a living LivingEntity;
8. Try to disable invocations of hurt, actuallyHurt, heal, setHealth, and setAbsorption when passed NaN;
9. Try to clamp the INFINITY parameter passed to hurt, actuallyHurt, heal, setHealth, and setAbsorption to MAX_VALUE;
10. Try to fix "ghost Entity" (Entity that only exists in ServerLevel);
11. Try to restore the health of a LivingEntity whose getHealth() is NaN to its last recorded non-NaN health;
12. Try to set the dead of a living LivingEntity to false;
7999. All of the above is done by me, SekaiDorem. If you encounter any unexpected behavior or have suggestions, please let me know.

欢迎使用“我毋畏死亡” ~ !
这是一个用来修复不合理的死亡的补丁类模组,它将会:
1. 修复了“客户端玩家正血时无法关闭死亡界面”的错误;
2. 阻止活着的客户端玩家被打开死亡界面;
2.1 并不会在客户端玩家打开死亡界面之后突然变活了的时候自动关闭死亡界面. 关闭还是保留,这是留给玩家考虑的问题;
3. 阻止重复打开死亡界面,以防导致重生按钮无效;
4. 只要客户端玩家可以 tick,那么死亡界面就可以 tick;
5. 把活着的生物的 deathTime 设置为 0 以防出现不完整的死亡动画;
6. 取消活着的生物触发的死亡事件;
7. 阻止对活着的生物调用 die 方法;
8. 将传入了 NaN 参数的 hurt, actuallyHurt, heal, setHealth 和 setAbsorption 方法的执行无效化;
9. 钳制传入了 INFINITY 参数的 hurt, actuallyHurt, heal, setHealth 和 setAbsorption 方法的参数到 MAX_VALUE;
10. 修复“幽灵实体”(只存在于服务端的实体);
11. 将 NaN 血量的生物恢复到上一次血量记录;
12. 把活着的生物的 dead 设置为 false;
7999. 所有东西都是我(SekaiDorem)完成的,有任何意料之外的情况或建议请务必告诉我。

The MortisFix Team

profile avatar
  • 1
    Projects
  • 90
    Downloads

Independent developer. Creating as I please, no guarantee of updates. Personal pronouns: She/Her