LavaDamageFixerForJEGN
No reviews yet
A NeoForge mod that fixes the instant-death bug caused by environmental damage when using JEGN (Just Enough Guns New).
Neoforge is a fork of the Minecraft Forge available for versions 1.20.1+ of Minecraft. Many Forge mods are compatible with Neoforge and vice versa.
Community voices
Reviews
Click once to include, again to exclude, again to clear
No reviews yet. Be the first to review this project!
Get it on
Available Platforms
Compatibility
Supported Environments
About
Project Details
For authors
Embed Badge
If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.
Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.
Identifiers
Platform IDs
Resources
External Links
About
Description
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
0i-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)
Screenshots
Gallery
Versions
Files
Relations
Project Relations
More like this
Similar Mods
Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.
On ModDex
Community snapshot
By the numbers
Statistics
Want to reach Minecraft players?
We're looking for a server hosting partner to feature here and other parts of the site. Interested? Send us a message!
Get in touchGet it on
Available Platforms
On ModDex
Community snapshot
By the numbers
Statistics
Resources