HomeJavaModsLavaDamageFixerForJEGN
LavaDamageFixerForJEGN
ModsJava

LavaDamageFixerForJEGN

by hellscythe88p · on Modrinth

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

⬇ Download on Modrinth

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

🛠️ Environment

📄 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)

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more