Eelement banner
Eelement icon

Eelement

Create a FULL Minecraft mod compatible with Minecraft 1.21. Mod type: - Full Minecraft mod (NOT a plugin) - Multiplayer compatible - Persistent per-player...

00
fabricServer1.21mod

Eelement is a server-side Fabric mod for Minecraft 1.21.x that gives every player an elemental attunement and a persistent energy meter. The mod ID is eelement, the jar to drop onto a server is build/libs/eelement-1.0.0.jar, and it runs on dedicated or integrated servers (no client install required).

Key features

  • Each player is attuned to one element (fire/water/earth/air). New players default to fire with a small starting charge.
  • Elemental energy is saved per player using world persistent data. Breaking blocks adds 1 energy, killing mobs adds 6 energy, and energy caps at 100.
  • Use /eelement info to check attunement and energy. Operators can boost energy with /eelement grant <amount> (self) or /eelement gift <player> <amount>.
  • Switch attunement with /eelement attune <fire|water|earth|air>; swapping resets stored energy.
  • Spend 15 energy with /eelement surge to gain a 30-second boon based on your element:
    • Fire: Strength I + Fire Resistance
    • Water: Dolphin's Grace + Water Breathing
    • Earth: Resistance I + Absorption II
    • Air: Speed II + Jump Boost II

Notes and suggestions

  • Energy gain is intentionally simple (breaks and kills). Extend the award rules in com.eelement.EelementMod if you want more sources.
  • No cooldown beyond energy cost; adjust SURGE_COST and SURGE_DURATION_TICKS in EelementMod to tune balance.
  • Attuning clears stored energy to prevent free re-rolls. Remove the reset flag in setAttunement if you want players to retain their charge when swapping.

Server Validation

Server validation passed - The mod was tested on a real Minecraft server and loaded successfully.