promotional bannermobile promotional banner

Elemental Weakness System

A fork of WRS. Adds a system of elemental weaknesses and resistances for entities and items.
Back to Files

ews-2.1.0.jar

File nameews-2.1.0.jar
Uploader
joruughenjoruughen
Uploaded
Nov 10, 2026
Downloads
8
Size
86.2 KB
Mod Loaders
Forge
File ID
9536292
Type
R
Release
Supported game versions
  • 1.20.1

Curse Maven Snippet

Forge

implementation fg.deobf("curse.maven:elemental-weakness-system-1623011:9536292")

Learn more about Curse Maven

What's new

2.1.0

New: per-damage-type rules

  • Entities and items can now have different elemental profiles depending on the damage type of the hit, using the new damage_types list in the datapack. For example, a witch can deal Aqua by default but Fire with its potions (indirect_magic).
  • Rules accept exact ids (minecraft:arrow) or damage type tags (#minecraft:is_projectile). An exact id takes priority over a tag.
  • mode: replace (default) replaces the default profile for that damage type; add stacks on top of it.
  • keep_bonuses (default true): whether equipment, enchantments and effects still apply on top of the rule.
  • Rules also work for resistances: a mob or armor piece can resist one damage type differently, e.g. extra fire resistance against #minecraft:is_fire.
  • Everything is optional. Datapacks without damage_types work exactly as before.

New: weapon_mode

Controls how a mob's own profile combines with the weapon in its main hand:

  • add (default): the mob's profile plus the weapon's, as before.
  • share: both are combined and scaled down proportionally if the total goes over 100. For example, a Blood 100 mob holding a Slash 100 sword deals 50% Blood / 50% Slash.
  • weapon: only the weapon's elements count. Items without EWS data don't count as a weapon.

Tooltips & Jade

  • Item tooltips now show EWS attributes with their short name (no "E." prefix) and in the element's color, including lines generated by vanilla or Apothic Attributes.
  • Jade and item tooltips show the per-damage-type rules and the weapon mode. They can be hidden with the new config option mostrar_reglas_damage_type.
  • In Apothic's attribute menu, EWS attributes are prefixed with "E." so they're grouped together.

Debug

  • ⚠️ The debug config option was split in two:
    • debug_damage: initial damage, damage per element (only non-zero values) and final damage.
    • debug_info: damage type, attacker/target and which profile/rule was used. If you had debug = true, enable the new options.

Other changes

  • New element order everywhere (Jade, debug, etc.): Slash, Strike, Pierce, Fire, Ice, Lightning, Nature, Aqua, Evocation, Holy, Blood, Ender, Eldritch.
  • Attack attributes are now capped at 0–1000 and resistances at -100–80.
  • The log now warns about common datapack mistakes in rules, such as empty types, non-EWS attributes or weapon_mode on items.
  • Wiki (EN/ES) fully rewritten with examples for every feature, plus a test datapack with vanilla mobs in the GitHub repo (datapack-prueba/).

This mod has no additional files