IMPORTANT: Reminder I am still working on this and most of the sub bending need some work to them. The avatar state it the primary thing I've almosted finished.
Fabric 1.20.1 add-on mod for Elementals 1.48.6.
This mod depends on the Elementals mod and registers new Elementals-style bending trees with abilities and upgrades:
The upgrade trees include Elementals-style names, descriptions, use text, and GUI icons. The extra assets/elementals textures are intentional: Elementals' upgrade screen loads its icon resources from the elementals namespace.
Requires permission level 2.
/subbending grant <player> <Combustion|Lava|Sand|Plant|Spirit|Avatar>
/subbending avatar set <player>
/subbending avatar clear
/subbending avatar state <player>/subbending avatar set marks a player as the current Avatar, grants the Avatar element, and grants the four base elements. If the current Avatar dies outside the Avatar State, the cycle records that life and chooses another online player when possible. If the Avatar dies during the Avatar State, the cycle breaks and no new Avatar is chosen.
Install these in the Minecraft mods folder with this mod:
This uses Elementals' public Element, Upgrade, Ability, Bender, and player data APIs. The abilities are server-side and use vanilla effects, particles, velocity, damage, and Elementals upgrade checks.
Avatar State is managed server-side with a 10 minute cooldown, a near-death trigger at one heart, instant full healing, absorption based on previous Avatars, past-life element and upgrade restoration, electron-style element rings, and snapshot restoration when the state ends.
Every player gains one Elementals bending level every 3 minutes