ZQ Resistance is a Forge 1.20.1 mod that automatically builds detailed damage-type resistance/weakness profiles for every entity and scales incoming damage accordingly, with on-screen grades and optional Jade / Stylized Damage integration.
Features & how it works
-
12 damage groups
Elemental (fire / cold / lightning / nature / mystic / corruption), Physical (direct / pierce / blunt), Magic, Void, Curse.
Most damage types are mapped into one (or more) of these buckets via tags and path rules. Hybrid damage (multiple buckets) multiplies the relevant multipliers together. -
Automatic entity profiles
On first run (or when you force a rebuild) the mod generates a resistance profile for every registered entity type. Profiles come from three layered rules that ship inside the mod:- letters tables of the entity’s registry path
- Entity tags
- Name-keyword overrides
The result is a set of multipliers that get turned into letter grades for the HUD.
-
Letter grades (what you see)
S < 0.50 A 0.50–0.85 B ≈ neutral C / D / E = increasing weakness.
Grades are pure display; the real damage scaling uses the underlying float multipliers. -
Damage scaling
When a living entity takes damage the mod looks up its profile, applies the matching group multiplier (with player penetration attributes if the attacker is a player), and sets the final amount.
Penetration only softens resistance (never turns resistance into extra damage beyond neutral on normal hits). Hybrid hits stack-multiply each bucket. -
Player penetration attributes
Adds a set of player-only attributes (major + minor) so gear / effects can partially ignore specific resistances. -
HUD & Jade
A compact resistance panel appears when you look at an entity that has non-neutral grades. Optional Jade plugin keeps the panel neatly beside the Jade tooltip. Layout (anchor, scale, boss-bar offset) is configurable. -
Safety switches
- Master enable/disable
- Entity-type blacklist (skips the whole pipeline)
- Damage-type blacklist (heal / kill / absorption etc. are ignored by default)
newEntitiesOnly– only mobs that finished spawning while the mod was enabled get scaled (chunk-loaded / already-saved entities stay vanilla)
-
Commands (op level 2)
/zq_resistance refresh– reload the existing cache/zq_resistance all– full rebuild of every entity profile
(also supports partial rebuild steps for debugging)
Config storage
-
Forge common config →
config/zq_resistance-common.toml
Master switch, blacklists, display keyword overrides, HUD layout numbers,newEntitiesOnly, etc. -
Generated profile cache →
config/zq_resistance/entity_profiles.json
Written once (or when you run a rebuild). Contains the packed resistance table for every entity type + a fingerprint of the bundled rule files.
If the fingerprint no longer matches (you updated the mod’s internal tables) or the file is missing/corrupt, just run/zq_resistance alland it regenerates cleanly.
Keyword overrides in the toml affect runtime grades and damage but do not rewrite this cache file.
Optional soft dependencies: Jade (tooltip side panel), Stylized Damage (style bridge).

