Modscraper Modscraper Minecraft
DamageSource Is Not Null Basic logo

DamageSource Is Not Null Basic

Mod

by vomiter

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

Type

Mod

CurseForge Downloads

40,607

CurseForge ID

1507669

Last Updated

May 14, 2026

Description

🛡 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.

Similar Mods

External Resources