DamageSource Is Not Null Basic

An attempt to solve DamageSource NPE (Only Covers Vanilla Mobs)

🛡 DamageSource Is Not Null: Basic

DamageSource Is Not Null: Basic is the core module of the DSNNULL project.

It provides the shared runtime guard logic used to reduce crashes caused by invalid or null DamageSource values in Minecraft's damage pipeline.

This module is the foundation of the project and is mainly intended as a dependency for DSNNULL Plus and future compatibility expansions.


What it provides

  • core runtime guard logic
  • fallback handling for invalid DamageSource
  • shared debug and diagnostic support
  • baseline protection for common vanilla damage flow

Important

This is the base module.

If you want the full version with broader third-party mod coverage, install:

DamageSource Is Not Null: Plus


Limitation

This mod is a defensive mitigation layer, not a guaranteed universal fix.

It reduces crash risk, but cannot guarantee protection in every possible modded case.


Environment

Forge

  • 1.20.1

NeoForge

  • 1.21.1

License

MIT License — free to use in any modpack.

The DamageSource Is Not Null Basic Team

profile avatar
Owner
  • 19
    Followers
  • 40
    Projects
  • 347.2K
    Downloads

Minecraft modder building compat, gameplay systems, and mob behavior — designed for modpacks. Mainly develop on 1.20.1 Forge. Can support 1.21.1 Neoforge, 1.20.1 Fabric, 1.21.1 Fabric.

More from vomiterView all