Legendary Resistance (3/Day). If the Forest Guardian fails a saving throw, it can choose to succeed instead.
Magic Resistance. The Forest Guardian has advantage on saving throws against spells and other magical effects.
Druidic Master. The Forest Guardian is immune to the effects of spells that can be cast by druids.
Nature Spirit. All naturally occurring and non-controlled beasts and plants are friendly toward this creature. If they are within 40 feet of the Forest Guardian, the Forest Guardian can command them to perform any action within that entity's capabilities. Essentially passive animal friendship, beast bond, and speak with animals.
Spellcasting. The Forest Guardian is a 20th-level spellcaster. Its spellcasting ability is Wisdom (spell save DC 20, +12 to hit with spell attacks). The Forest Guardian has the following druid spells prepared:
Cantrips (at will): Druidcraft, Guidance, Gust, Thorn Whip.
1st Level (4 slots): Cure Wounds, Detect Magic, Earth Tremor, Entangle.
2nd Level (3 slots): Barkskin, Earthbind, Lesser Restoration.
3rd Level (3 slots): Conjure Animals, Mass Healing Word, Plant Growth.
4th Level (3 slots): Conjure Woodland Beings, Control Water, Locate Creature.
5th Level (3 slots): Control Winds, Greater Restoration, Tree Stride.
6th Level (2 slots): Heal, Wall of Thorns.
7th Level (2 slots): Regenerate, Resurrection.
8th Level (1 slot): Control Weather.
9th Level (1 slot): Mass Heal.
Bite. Magical Melee Weapon Attack: +14 to hit, reach 5 ft., one target. Hit: (2d8 + 6) piercing damage.
Claw. Magical Melee Weapon Attack: +14 to hit, reach 5 ft., one target. Hit: (2d6 + 6) slashing damage.
Nature's Howl. Ranged Magical Attack: +6 to hit, reach 30 ft., one target. Hit: (2d10 + 8 force damage).
Animate Trees (1/Day). The Forest Guardian magically animates one or two trees it can see within 60 feet of it. These trees have the same statistics as a treant, except they have Intelligence and Charisma scores of 1, they can't speak, and they have only the Slam action option. An animated tree acts as an ally of the Forest Guardian. The tree remains animate for 1 day or until it dies; until the Forest Guardian dies or is more than 120 feet from the tree; or until the Forest Guardian takes a bonus action to turn it back into an inanimate tree. The tree then takes root if possible.
The Forest Guardian can take 3 legendary actions, choosing from the options below. Only one legendary action option can be used at a time and only at the end of another creature’s turn. The Forest Guardian regains spent legendary actions at the start of its turn.
Attack. The Forest Guardian makes one bite or claw attack.
Move. The Forest Guardian moves up to half its speed.
Regeneration: The Forest Guardian heals itself by 2d6+4 hit points. It begins to regrow any severed limbs.