跳到正文

LavaDamageFixerForJEGN

作者:hellscythe88p

A NeoForge mod that fixes the instant-death bug caused by environmental damage when using JEGN (Just Enough Guns New).

收藏

介绍

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

LavaDamageFixerForJEGN

A lightweight NeoForge utility mod designed to fix a critical bug where players die instantly from environmental damage when JEGN (Just Enough Guns New) is installed.
(https://modrinth.com/mod/just-enough-guns-neoforge)

📌 Overview

Due to JEGN’s custom full-auto weapon mechanics, the mod continuously forces the target’s invulnerability time (i-frames) to 0 so that rapid-fire bullets can hit enemies continuously without being blocked by vanilla invulnerability frames.

However, this mechanic inadvertently affects the player as well. When a player takes any vanilla environmental damage (such as falling into lava), their i-frames are instantly wiped out, causing them to take damage every single tick (20 times per second), leading to an unfair and unavoidable instant death.

This mod fixes this issue by intercepting the damage event and restoring normal vanilla behavior exclusively for players.

✨ Features

  • Player-Specific Protection: The fix only applies to players. Zombies, Creepers, and other mobs will still have 0 i-frames, ensuring that JEGN’s weapons keep their full-auto, rapid-fire effectiveness against enemies.
  • Restored Vanilla Mechanics: When a player takes damage from Lava, Fire, Falling, or Drowning, this mod forcefully resets the player’s invulnerability time back to vanilla standards, preventing the instant-death loop.

🛠️ Environment

  • Minecraft (NeoForge): 26.1.2
  • NeoForge: 26.1.2.76
  • Language: Java 21

📄 License

This project is licensed under the MIT License. You are free to include this in your modpacks or reference the code.
(https://github.com/hellscythe88p/LavaDamageFixerforJEGN/blob/master/src/main/java/com/hellscythe/lavadamagefixer/LavaDamageFixerForJEGN.java)

常见问题

LavaDamageFixerForJEGN 支持哪些 Minecraft 版本?

LavaDamageFixerForJEGN 支持 Minecraft Java 版 26.1.2,可用的加载器:NeoForge。下载时注意选择和你游戏版本一致的文件。

LavaDamageFixerForJEGN 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端和服务端都要装。

评论

登录后评论和评分

hellscythe88p 的其他作品

查看全部 →