Moon Lord

"Impending doom approaches..."

The Moon Lord is a Hardmode, post-Lunatic Cultist boss summoned by defeating all four Celestial Towers from the Lunar Events, or by using a Celestial Sigil. The Moon Lord spawns about one minute after either of the prerequisites are met. It is Terraria's final boss, and a few comments have been made on its resemblance to Cthulhu, who was expected to serve as Terraria's final boss.

If all players die during the Moon Lord's encounter, the Moon Lord will despawn. It can be re-summoned by completing the Lunar Events again (initiated by again defeating the Cultists at the Dungeon's entrance, then defeating the Lunatic Cultist boss again), or by using a Celestial Sigil.

In Expert Mode, he also drops a light-pet summoning item, the Suspicious Looking Tentacle, as well as the Gravity Globe, an accessory which allows the player to change gravity whenever they like (though only when standing on a solid surface). It basically serves the purpose of an infinitely lasting gravitational potion, which is useful in many situations.

Moon Lord is immune to the Ichor debuff, though not Cursed Flame or Venom.

Behavior
The Moon Lord has two hands and a head that must be killed before its "core" becomes available for attack. It positions its two hands on either side of the player some distance away.

Each hand, as well as its head, contain a vulnerable eye-like target that are each periodically closed off and opened via an eyelid. These may only be damaged during their "open" states. Once these parts and then its core are killed, the boss is defeated.

The Moon Lord can teleport to players if all of them get too far out of range.

Attacks

 * The head target will periodically fire a "Phantasmal Deathray", the Moon Lord's most powerful attack.
 * The hands spawn "Phantasmal Spheres", invincible eyes that charge at players.
 * The hands also fire "Phantasmal Eye" explosive homing projectiles at players.
 * Once a hand or head target is killed, a True Eye of Cthulhu spawns, which fires lasers or ice at the player.
 * Each hand target killed becomes a thorny crevice thereafter that deals damage on contact.
 * The mouth periodically attempts to attach a tentacle to the player, which spawns multiple Moon Leech Clots, essence-like monsters that travel from the player to the Moon Lord's mouth. If not killed by the time they reach the mouth, one of the Moon Lord's parts (one that has not yet been defeated) is healed for 1000 health for each of them.
 * The Tentacle also inflicts the Moon Bite debuff, preventing any life-steal effects from weapons/armor like Vampire Knives or Spectre Armor for 14 seconds (16 seconds in Expert mode).
 * The Tentacle also inflicts the Moon Bite debuff, preventing any life-steal effects from weapons/armor like Vampire Knives or Spectre Armor for 14 seconds (16 seconds in Expert mode).

Tips

 * A large portion of the Moon Lord's attacks, including the laser he emits from his head, are incapable of passing through walls. Consider seeking cover to avoid these attacks during the fight.
 * The Moon Bite debuff, which prevents regenerative abilities, is reliant on a tentacle making contact with the player. It is possible to move outside of its maximum range, avoiding the debuff and allowing effects to once again heal the player. One such method is by using asphalt. Another one, if you have beaten all the Mechanical Bosses in expert mode, is to make a huge Minecart track with bumper ends and use the Mechanical Cart. The bumper ends makes it easier to turn when the track ends, making it even harder to be reached by his tentacle.
 * It is best to start by damaging the two hands until they are both at very low health. Next, kill the head. As soon as you kill the head, kill the two near-death hands. This will cause the eyes to come out of the hands at the second half of the fight, increasing your survivability during the first half.
 * Since the hands will begin to start dealing melee damage after they are defeated, running away on an asphalt sky bridge will become an issue if not properly prepared to dodge the hands.
 * It is not wise to use Vampire Knives or the Spectre Hood as the Moon Bite debuff occurs very often, which disables life steal from these weapons/items.
 * Unlike every other boss, the Moon Lord does not despawn if you go too far away from him. Rather, he teleports to where you are. This can make the fight actually easier than others.
 * When the Moon Lord teleports, he always teleports to the player with the shortest distance from him.

Trivia

 * Despite a mid-development comment by Cenx that this would not be the case, the Moon Lord resembles common depictions of Cthulhu, a creature first imagined by H. P. Lovecraft in his story, The Call of Cthulhu. Fans commonly speculated prior to the release of 1.3 that Cthulhu would be the final Terraria boss (which in turn arose in part due to an early concept design floated by the development team). Cenx later stated that the Moon Lord actually represents Cthulhu's brother.
 * Terraria's final boss was originally going to be the Moon itself descending on the world, but Cenx later stated that this idea had been abandoned.

History
Лунный Повелитель Seigneur de la Lune 달의 군주 Moon Lord