antioneshot-1.1.0.jar
Curse Maven Snippet
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