Moon Lord

Overview
The Moon Lord is the final boss encounter in Terraria, a multi-part celestial being summoned in Hardmode using Lunar Fragments at the Ancient Manipulator (or triggered by progression events). The fight revolves around destroying three separate vulnerable eyes — one in each hand and one in the forehead — before the Moon Lord’s central Core can be damaged. The Core is the only required hit-target to defeat the Moon Lord; it becomes vulnerable only after the three eye targets are destroyed. Each eye is covered by an eyelid and can only be harmed while in its open state.
On spawn the Moon Lord teleports to the nearest player in a flash of white light and then attempts to position himself directly in front of that player, with his head just above them and his two hands flanking the player at a distance. He will also teleport if the targeted player dies, moves more than 150 tiles away, or when the boss despawns. While alive, the Moon Lord suppresses normal enemy and critter spawns within 281.25 tiles of his Core. The boss appears visually behind terrain and walls (purely a visual effect), which can make him invisible if he is behind opaque blocks.
The Moon Lord uses a mix of contact attacks and powerful projectile attacks. Notably, the head True Eye of Cthulhu fires the Phantasmal Deathray, a high-damage beam that should be avoided whenever possible. All of the Moon Lord’s attacks bypass player invincibility frames, so being struck repeatedly in quick succession is common if caught; defensive and mobility measures are essential. The True Eyes found on the body parts deal contact damage even when spawned separately, and the eye sockets still cause contact damage during the boss’s unique death animation.
Effective strategies emphasize mobility, target priority, and careful use of healing. High horizontal speed and flight allow players to dodge the Phantasmal Deathray and other telegraphed attacks; useful options include Gravitation Potions, fast wings (Fishron, Betsy, Empress), Rod of Discord, dash-enabling accessories (
Target the head eye early in most runs, because it is the only source of the Phantasmal Deathray and remains closed for longer periods than the hand eyes. Debuffs such as Betsy’s Curse and other offensive debuffs are effective but must be reapplied after an eye closes (closing eyes purge debuffs). The Moon Bite debuff disables certain healing-from-damage effects (Vampire Knives, Spectre Hood) but does not reduce health regeneration boosts from equipment like Nebula armor or Life Drain. Teleporting home for 
Several mechanical interactions are notable: Moon Leech Clots travel to the boss’s mouth in a fixed amount of time and are easier to destroy when closer to the mouth, because they move less when the boss is in his default position. Projectile behavior differs against NPCs, so NPCs are unlikely to be killed by most of the Moon Lord’s projectiles; however, the True Eyes and empty sockets still deal contact damage. Some attacks (Phantasmal Spheres) can pierce NPCs while other projectiles (Phantasmal Bolts) are destroyed upon hitting NPCs. The boss’s attacks ignoring invincibility frames recommends setups that reduce contact frequency (shields, high mobility, quick-heal regeneration).
Loot and rewards reflect the boss’s final status: the Moon Lord drops the largest coin sums of any enemy, and in Expert/Master modes his Treasure Bag contains exclusive items (Expert-only drops are not repeated if the player already owns certain unique items such as the Portal Gun). For farming weapon components like 

The Moon Lord’s presence alters the visual sky for nearby players, making it dark and hazy with blur effects; in multiplayer this effect applies only to players within 130 tiles of the boss. The fight has several unique visual and mechanical touches: the Moon Lord has a distinct death animation, his Bestiary entry uses a black background as the final entry, and various bits of trivia connect his design thematically to earlier game elements and inspirations.
Other entities of this type
- Alien Hornet
- Alien Larva
- Alien Queen
- Amber Bunny
- Amber Squirrel
- Amethyst Bunny
- Amethyst Squirrel
- Ancient Doom
- Ancient Light
- Ancient Vision
- Angler
- Angler Fish
- Angry Bones
- Angry Dandelion
- Angry Nimbus
- Angry Trapper
- Angry Tumbler
- Anomura Fungus
- Antlion
- Antlion Charger
- Antlion Larva
- Antlion Swarmer
- Arapaima
- Armored Skeleton
... +497 (see sidebar for full list)