Skip to content

Anvil Imbuing

hungbbdzz edited this page Nov 13, 2026 · 8 revisions

Anvil Weapon Imbuing

For players who prefer close-quarters melee combat over ranged spellcasting, the Anvil Imbuing System (SwordImbueHelper.java) allows you to infuse any standard sword (including modded SwordItem weapons) with an elemental essence, empowering full-strength melee strikes with 1.0U elemental aura applications and reaction scaling.


How to Imbue Swords

Imbuing requires an Anvil, an Elemental Essence, and 3 levels of experience:

  1. Place an Anvil and open its interface.
  2. Place any sword (Wooden, Stone, Iron, Golden, Diamond, Netherite, or any modded SwordItem) in the left slot.
  3. Place 1 Elemental Essence (any of the 7 elements, or Omni Element) in the right slot.
  4. Retrieve the imbued sword from the output slot for a base cost of 3 XP levels (4 XP levels if simultaneously renaming or clearing a custom name, consuming 1 essence). All existing enchantments, durability, and Netherite properties are 100% preserved.
In-Game Anvil Imbuing UI
In-Game Anvil UI: Imbuing a Netherite Sword with an elemental essence for 3 XP levels.

Critical Imbuing Rules & Restrictions

  • Full-Strength Strike Requirement (>= 90% / 0.9F Charge): An imbued sword only applies its 1.0U elemental aura (bypassing standard ICD) and triggers EGT reactions on full-strength swings when the vanilla attack recharge indicator reaches at least 90% (0.9F). Rapid spam-clicking deals normal physical damage without discharging the elemental aura.
  • Switching Elements vs. Duplicate Element Prevention:
    • You can freely overwrite/switch an already-imbued sword to a different element (e.g. switching a Cryo sword to Pyro or Omni) in the Anvil for 3 XP levels.
    • By design, the Anvil rejects re-imbuing a sword with the exact same element it already carries (if (targetKey.equals(getImbuedKey(left))) return null;) so players never waste essences and XP levels on a redundant action.
  • Fire Aspect Enchantment Conflict & Suppression:
    • Anvil Prevention: A sword carrying the vanilla Fire Aspect enchantment cannot be imbued with non-Pyro elements (Hydro, Cryo, Electro, Dendro, Anemo, Geo, or Omni), and an already non-Pyro imbued sword cannot have a Fire Aspect book applied to it in an Anvil (isFireAspectElementConflict). Fire Aspect swords only accept Pyro Element.
    • Tooltip Strikethrough Safeguard: If a non-Pyro imbued sword acquires Fire Aspect via commands or external means, its imbued element badge is rendered in dark gray strikethrough text and its non-Pyro aura is suppressed in combat so Fire Aspect takes precedence cleanly.
  • Excluded from Elemental Resonance & 4-Staff Cap: Imbued swords are pure melee weapons ("Full-charge swings apply 1.0U (no Resonance)")—they do not activate Elemental Resonances and never count toward the 4-Staff Arcane Overload inventory limit.
  • Guaranteed Physical Damage Against Magic-Immune Mobs: When an imbued sword strikes an entity that is immune to magic/elements (such as an Omni-Mutated Mob, a same-element innate mob, or a fire-immune mob struck by a Pyro sword), the sword's full base physical melee damage is always dealt!
  • Omni-Imbued Weapon Intelligence (Imbued: Omni Adaptive): When a sword is imbued with an Omni Element, it dynamically scans the target on every full-strength swing (OmniOrbEntity.chooseBestElementForTarget) and automatically selects the optimal counter-element (e.g. choosing Pyro against Cryo/Frozen or Hydro targets for 2.0x Melt / 1.5x Vaporize, Hydro against Pyro targets for 2.0x Vaporize, or Electro against Dendro/Quickened targets).

Elemental Properties on Full Melee Strikes (>= 90% Charge)

Blade Infusion Applied Aura On-Hit Combat Behavior
Pyro Blade Pyro (1.0U) Ignites targets for 4 seconds (ensuring cooked meat drops on fatal strikes). Striking a Cryo/Frozen enemy triggers 2.0x Forward Melt, and striking a wet enemy triggers 1.5x Reverse Vaporize, directly multiplying your sword's physical hit damage!
Cryo Blade Cryo (1.0U) Applies Cryo aura (-15% move/attack speed). Striking an entity standing in water or rain freezes them solid immediately; striking a Pyro target triggers 1.5x Reverse Melt.
Electro Blade Electro (1.0U) Delivers a 1.0U Electro charge. Triggers Superconduct (-40% Physical RES shred for 12s) on Cryo targets, Aggravate bonus damage on Quickened targets, or Electro-Charged arcs on wet targets.
Dendro Blade Dendro (1.0U) Applies 1.0U Dendro aura. Striking a wet enemy immediately spawns a Dendro Core (Bloom); striking a Quickened enemy adds Spread bonus damage.
Hydro Blade Hydro (1.0U) Inflicts 1.0U Hydro. Striking a Pyro-afflicted enemy triggers a 2.0x Forward Vaporize melee crit!
Anemo Blade Anemo (1.0U) Executes an Anemo slash that triggers Swirl on existing auras, spreading them across a 5.0m AoE.
Geo Blade Geo (1.0U) Triggers Shatter against Frozen targets for heavy bonus damage, and dislodges Crystallize Shield Shards (15s elemental Absorption shield).
Omni Blade Omni (1.0U) Dynamically chooses the highest-value reaction element against the target's current state on every full-strength swing.

In-Game Demonstration

The following clip illustrates imbuing a sword with Cryo Element at an anvil for 3 XP levels, then striking a zombie wading in water to trigger an immediate freeze:

Cryo Sword Freeze Demo

Clone this wiki locally