Anti-oneshot

Anti-OneShot provides players with a last-chance survival mechanic against lethal attacks.
Back to Files

antioneshot-1.1.0.jar

File nameantioneshot-1.1.0.jar
Uploader
lubanglubang
Uploaded
Apr 30, 2026
Downloads
107
Size
46.9 KB
Mod Loaders
Forge
File ID
8012831
Type
R
Release
Supported game versions
  • 1.12.2

Curse Maven Snippet

Forge

implementation fg.deobf("curse.maven:anti-oneshot-1524649:8012831")

Learn more about Curse Maven

What's new

- AntiOneShotConfig: new damageFilter section with filterMode (blacklist/whitelist)
and filterList (default: outOfWorld); registered in ALL_KEYS, applyKeyValue,
getValueString, and resetKeyToDefault
- DamageEventHandler: isDamageTypeAllowed() check applied after lethal-hit detection;
blocks or allows trigger based on filter mode
- CommandAntiOneShot: new /aos testdamage <damageType> subcommand that deals
lethal damage of the specified type to the executing player for testing;
also completed resetKeyToDefault for all remaining config keys

This mod has no additional files