Moon Lord

"Impending doom approaches..."

The Moon Lord is a Hardmode, post-Golem 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 serves 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.

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.
 * All three Eyes fire "Phantasmal Bolt" high-speed laser bullets.
 * 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 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).

Achievement
Champion of Terraria is the achievement you earn for defeating the Moon Lord for the first time.

Tips

 * 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 possible to avoid the laser beam that the first-stage Moon Lord fires at you using the Cosmic Car Key mount by staying close to where the laser beam is fired from (as opposed to farther away from where the laser is fired from), and flying over the Moon Lord's head. The Rod of Discord can alternatively be used to teleport behind the laser as it is firing, freeing up a lot of time while it is firing elsewhere to attack the head.
 * The Cosmic Car Key, depending on which direction you are traveling at the same time as Moon Lord, may not gain enough velocity to outrun his own when he starts to rise. Rely upon Solar Wings, Fishron Wings, or a Minecart instead. An accessory that allows you to dash, such as the Master Ninja Gear, may also be useful for keeping a safer distance.
 * 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.
 * Having the Nurse nearby to constantly restore your health greatly increases your chances of beating the Moon Lord or you could set your spawn to the house where the Nurse lives and teleporting using the Magic Mirror, Recall Potion etc. whenever your health gets low. The nurse is usually able to heal herself faster than the Moon Lord can damage her, however, moving the nurse out of the town can prevent any other NPC deaths.
 * 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.
 * Consider using an actuator roof with a lever attached to it, as the Phantasmal Deathray cannot travel through blocks. Turn on the roof whenever the Moon Lord is using his Phantasmal Deathray.
 * Using automatic spikey ball traps and minions, you can damage Moon Lord from under the trap machine with both traps and minions. Keep moving under the machine in a mechanical cart to avoid any of the three eyes. Spooky armor may help in the process but taking damage at all is next to fatal. The traps should block all but the eye melee attack. Xeno Staff or Stardust Dragon Staff are good choices in minions.
 * At all costs, try to avoid his lazer that he shoots at you. It can deal tons of damage, so while building your arena, put blocks above you for cover. If you don't, your chances against Moon Lord is serious and won't be easy, especially in expert mode.

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. This is partially a nod to broad fan speculation prior to the release of 1.3 that Cthulhu would be the final Terraria boss. This speculation 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.
 * The Moon Lord's design may have been inspired partially by Chandrashekara ("Moon-Crowned Lord"), one of the names of Shiva, god of Destruction, in Hindu mythology. Chandrashekara is often depicted as having three eyes, with one vertically on the forehead.
 * 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 in favor of a new, unknown concept proposed by Crowno. The new concept was presumably the Lunar Events and the Moon Lord.
 * With a combined health of 145,000 (217,500 in Expert mode), the Moon Lord has the most health of any boss in the game. It is also the largest enemy in Terraria; one of very few that deal no melee damage on contact (aside from the hands during the second phase); the only enemy that goes behind background walls; and one of the two enemies with a special animation when they die, the other one being the Flying Dutchman.
 * When the Moon Lord is present, both the foreground and the background become very dark. Despite this, the Moon Lord is still fully visible.
 * After destroying the fourth pillar, but before the Moon Lord spawns, whatever music is playing starts to fade out, stopping completely a few seconds before he spawns.

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