Guide:Moon Lord strategies

The Moon Lord is the Final Boss of Terraria, and predictably, there should not be much argument to say that he is quite the most difficult boss in the game. Cthulhu's brother is no joke. With lasers, orbs, and explosions shooting at you in every direction, each dealing around 80-150 damage, a leech attack crippling your precious healing abilities, the fact that he possesses almost triple the health of Duke Fishron, and the fact that he takes up almost the entire screen, you might have some difficulty dealing with him. However, there are ways to escape his devastating blows, and return some back to him. The strategies down below can help you dodge his attacks, take him down, and become the champion of Terraria!

Movement
An almost essential item for fighting the Moon Lord is the Blessed Apple or Cosmic Car Key. While moving diagonally away from the Moon Lord with the UFO mount, the player is slightly faster than him, allowing for you to take out one hand going one direction across the map and take out the other one vice-versa. The Unicorn Via Blessed Apple is much faster than the Moon Lord, although it is recommended you equip an item with dash such as Master Ninja Gear in order to dash-boost to the max speed of the Unicorn. This makes it extremely easy to escape/kite the Moon Lord on a long open bridge.

A way to counter this is by using a Cobalt Shield and it's upgrades and ignoring it's attacks and focus on running in case you are trapped between it's hands instead of jumping,especially when it's firing it's laser beam.
 * Using the unicorn and a skybridge on a space height will make jumps reduce speed,and it's attacks will also reduce speed.

The other (more risky) way is to fly circles around him, this is once again, much easier when performed with the Cosmic Car Key. Going around him allows for the player to dodge the head laser. The head laser can also be completely avoided by riding far in front of him and using a long ranged weapon such as any gun with Chlorophyte Bullets.


 * Note that this strategy requires much more dodging than the previous one, and that some of these items require rare drop(s) from the Martian Madness event

Another strategy is to build a very long Minecart Track and then ride back and forth whilst firing Chlorophyte Bullets at it. At One point you will take damage, but for most of the fight he will be left offscreen when using this method. The Mechanical Cart is ideal for this, and if you have already defeated him an SDMG Will make this fight fairly trivial, even without ranged armor (Beetle Armor and over can work very well with this method) A Chain Gun will do for a first fight though.

One final tactic which only works in multiplayer is to have two players widely spread apart, If both (or all) players wish to fight, Keep at most 1500 blocks (3000 feet) apart, And far enough away that the other player(s) can re-spawn before you die, With this tactic, Movement is less important

Terrain preparation
The easiest way to fight the Moon Lord is to build an enormous sky bridge, like you've probably already created to a certain extent for earlier boss fights. The skybridge needs to stretch quite far from either side of your spawn point for ideal kiting of the Moon Lord. The Moon Lord will not despawn unless all players are dead, meaning you can outrun him and heal for a while if need be without him vanishing on you. It also makes teleportation a very valuable tactic. The goal here is to be able to run away from the Moon Lord while shooting at him, and the teleporting back to your spawn once you reach the end of the bridge via a Magic Mirror. In order to do this successfully you will need a Blessed Apple ideally, although a Cosmic Car Key can work as well. The unicorn from Blessed Apple is substantially faster than the Moon Lord, where-as the Cosmic Car Key UFO mount is roughly the same speed. It is highly recommended that you have any of the dash items that can be used to immediately reach the unicorn's full speed. As of 1.3.0.4 the Moon Lord now teleports to the player when the player is sufficiently far away. Out running him is still one of the better ways to avoid many of his abilities though, so I would recommend simply creating a bed in the middile of your sky bridge, or using the mine cart you get from the mechanical bosses, in order to jump away from him and continue your running fight. It may be necessary now to stay somewhat within range to avoid causing the Moon Lord to teleport. This fight will probably remain quite easy in multiplayer as one player can sill lead him on a merry chase while the rest heal up. Minecarts work especially well now as you can zoom straight through the Moon Lord without taking much damage using them.

If you have more time on your hands you could also set up teleporters along your bridge for convenience/fun, but a Magic Mirror should work just fine.


 * Note that the Cosmic Car Key is a fairly rare drop from the Martian Madness event, and the Blessed Apple is a rare drop from the hallowed biome, and Hallowed Mimics.

This strategy should work perfectly well for both normal and expert mode, and is especially easy with a group of players.

And, Once again, If you wish to do the multiplayer way, You can simply set up houses spread out with beds in them to set your spawn points, So you can spawn safe distances away and still get back into the fray when it comes your turn.

Asphalt can still be used to dodge the tongue if you value the ability to use vampire knives. When the moon lord teleports with his tongue already chasing you, the tongue does not go with him. The tip will still be in the same position while chasing you, only its base will be re-angled to the moon lord's mouth. This incidentally gives another opportunity to strike with the vampire knives where possible.

Gearing up
A set of Spectre Armor (either version, but he does have a tentacle attack that disables healing via this armor or vamp weapons for about 15 seconds. You can potentially outrun the attack that inflicts this debuff using the Blessed Apple as mentioned earlier) or Beetle Armor will do well on him. A good pair of wings such as Fishron Wings will help you dodge his lasers. For melee, equip a Flairon or another melee weapon with an equal or higher DPS rate. For a ranged weapon, a Phantasm Bow with Holy Arrows, or the Vortex Beater with Chlorophyte Bullets. Make sure you bring plenty of Greater Healing Potions, or Super Healing Potions if you can afford any. You may craft the Phantasm Bow and Vortex Beater by intentionally dying during the Moon Lord Boss fight to destroy the Vortex Pillar again when the event is reset.
 * A good idea would to use a 2 floor arena, with the 1st floor being platforms, the second made of thick blocks such as wood.This prevents his strongest attack, the Phantasmal Deathray, from coming into contact with your character. Run along the 1st floor constantly while spamming Vampire Knives, while wearing Beetle Armor, to heal while he attacks. A good weapon to assist would be the Solar Eruption, to blast through the thick blocks to hit his head.

General Tips

 * You have to destroy his hands and head before you can damage his core.
 * It is best to destroy the head first as it may be harder to damage later on.
 * If you see the eye on the head open, get ready for his powerful laser attack.
 * The Moon Lord's defense can be ignored through the use of Ichor weapons or Sharpening Stations. Having a friend fire Ichor-inducing items, using a Flask of Ichor, or placing Sharpening Stations can make the fight go much faster since the Ichor lowers the Moon Lord's defense and Sharpened buff negates some of the Moon Lord's defense.

Caster
Armor Weapons
 * Spectre Armor either version will work, but he does have a tentacle attack that disables healing via this armor or vamp weapons for about 15 seconds. You can potentially outrun the attack that inflicts this debuff using the Blessed Apple as mentioned earlier.
 * Razorblade Typhoon
 * Nebula Arcanum
 * Life Drain
 * Spectre Staff
 * Laser Machinegun
 * Blizzard Staff
 * Heat Ray
 * Shadowbeam Staff
 * Nebula Blaze

Accessories
 * Master Ninja Gear/Shield of Cthulhu (Master Ninja Gear is much better for boss fights, but both work)
 * Mana Flower
 * Ankh Shield
 * Celestial Shell
 * Celestial Emblem
 * Any wings

Mechanical Cart techinique
This technique is meant to help casters in normal mode who somehow obtained the Mechanical Cart in expert mode. With this technique, you can avoid most of the damage, plus avoiding his tongue, resulting in a massive save of health potions.

Armor
It is required the usage of Spectre Armor with Spectre Hood, as this relies on your "life steal" ability.

Acessories
it is recommended to have Sorcerer Emblem and Celestial Cuffs or Magic Cuffs, there is no need for Philosopher's Stone or Charm of Myths, as little damage will be suffered

Weapons
It is recommended to have the Stardust Dragon Staff as it deals extra damage. As main weapon, it is recommended some homing projectile, the best one is probably Razorblade Typhoon, as it pierces through enemies, but it is probably doable with Nebula Arcanum. Sentry minions, such as Hydra Staff or Rainbow Crystal Staff provide little help, but if you feel more comfortable with them, such can be used.

Potions
It is recommended to have many Greater Mana Potions or higher as this method is very mana intensive, also is recommended Super Healing Potions as a back up.Also, make sure to have some food items, at least enough for 30 minutes, it is recommended to have around 5 or more Cooked Fish, as it is fairly easy to get and lasts 20 minutes or bacon, that will probably last the entire fight.

Healing
If the player has low health and is using Spectre Mask while having the Potion Sickness debuff, the player is recommended to use the Life Drain as it drains life much faster than Vampire Knives, although the player needs to worry about the Moon Bite debuff because it makes the player unable to heal. If the player doesn't want to inflicted by the Moon Bite debuff the player may need to dodge Moon Lord's tentacle, and if the player fight Moon Lord in Expert Mode the player recommended to have some food items because it will inflict the Well Fed buff to make the healing more effective.

Terrain preparation
For such method, a long railway should be made, in a straight line, in open terrain, then, use a hammer to select the bumpy end on both sides of the track, then, place a teleporter under the last few tracks, on each side. Make sure to leave 2-3 rails between the end of the teleporter and the bumpy end. Finally, change the track above the first part of the teleporter with a pressure plate track, on both sides, and then connect all with Wire. You should have a launching platform with some Booster Tracks and Minecart Tracks in a ramp formation with no end (hammer it once), so you get launched into the track already at max speed Also, make sure to set your spawn near the arena, so you can go quickly via Magic Mirror, you should have a Crystal Ball and a Bewitching Table, although it is not required and the battle will probably last longer than 10 minutes.

Combat
Just as you defeat the last tower (it is recommended that you leave vortex as last), quickly use your magic mirror to get home and use the Bewitching Table and Crystal Ball, you may also heal yourself at the nurse, although, if you still have high health, you may not need it, as you heal completely before he appears.Then, get yourself launched into the rail and use your Stardust Dragon Staff and any other sentry minion, you should eat the food. When he spawns, you should spam the Razorblade Typhoon until running out of mana, then heal yourself by pressing J and use it once-twice, making so you recharge the used mana in the 5 seconds duration of the mana sickness Debuff, when it's over, return to spamming Razorblade Typhoon, he should be out of screen, but you should be able to hit him, when you are about to end the track, you should be teleported to the beginning, avoiding having to pass under him to bounce, which would leave you vulnerable to his tongue.Keep doing this until you notice he's frequently using his lazer, meaning he probably lost one or the two hands. from now on, there are two variants for this technique.

The complete outrun variant
In this variant, you just keep outrunning him and shooting backwards, this variant is not recommended, as it takes much longer, but it also is way safer than the other technique, as you don't have to keep an eye at his tongue.

The same pace variant
In this variant, you should slow down so he is at sight, when he is about to open his eye, spam Razorblade Typhoon, until he stops the lazer attack. If you see he is trying to reach you with his tongue (which is faster than him), increase speed, in order to outrun it,. After he retreats his tongue ( or teleports foward), slow down again and return on shooting him. If his tongue somehow reaches you, shoot it until it retreats, if you run out of mana, use a mana potion and return shooting him regardless of the mana sickness Debuff, the purpose being avoiding him heal again. Using a Stardust Dragon should be really helpful.

Ranger
Armor
 * Shroomite Armor with headpiece matching your weapon type.

Weapons
 * Vortex Beater with chlorophyte bullets
 * Chaingun with chlorophyte bullets
 * Tsunami with either venom or holy arrows
 * Snowman Cannon with Rockets III
 * Phantasm with Endless Quiver, holy arrows or chlorophyte arrows

Accessories
 * Hoverboard (Not needed if player posesses Cosmic Car Key or Shrimpy Truffle)
 * Sniper Scope
 * Destroyer Emblem
 * Celestial Stone
 * Any Hermes Boots (If player is using asphalt skybridge)
 * Magic Quiver
 * Master Ninja Gear

The GCD hide strategy
This strategy is based on well-constructed shelter and shooting at Moon Lord from it through walls. To realize it, you will need Tsunami with holy arrows, some Heart Statues, bucket of Honey, Campfire, Heart Lantern, skybridge and stone/other building blocks. At first, make a 1/2 screen-width wide, 6-12 tiles high shelter on the skybridge. Put the honey on floor, set statues to 1-sec timer, place campfire and heart lantern somewhere nearby. If you don't have the Rod of Discord, make an entrance on either left or right side. When all is done, prepare your Tsunami with holy arrows and summon the Moon Lord. As soon as he appears, enter your shelter, activate statues, and keep shooting the ceiling with yourTsunami, exactly beneath his vital points. The arrows won't directly damage the Moon Lord, but the falling stars will probably crush him in few minutes. Remember, however, to dodge projectiles that pass through walls. It works best when the player buffs themself with defensive potions, and uses shelter's height for effective horizontal dodging.

The Fail-Proof Shoot & Fly Strategy
*This is the most basic, effective and idiot-proof strategy to defeat the Moon Lord. No matter how bad you screw up it is really hard to fail this way. It consists of basically using the UFO Mount while shooting with the Vortex Beater(with Chlorophyte Bulletsas ammo,of course) and regularly warping either with a Magic Mirror or with Teleporters. You can basically ignore the tongue, because the Vortex Beater will stop the healing. This strategy don't need any other weapon or technique, and won't work with Melee, Caster and Summoner(this is one of those times when you can be really happy to have chosen the Ranger class). *Altough some items in this strategy may be a little problematic/hard to find or require at least a small amount of grinding/farming, this is a very effective way to win. The armor needs to be at least Shroomite armor, unless you are lucky enough to beat the boss with inferior armor. You also have to pay a lot of attention to the Deathray he shoots from time to time, because it could easily kill a ranger-class player. The accessories and buffs could variate a lot, since mobility accessories won't be that useful when the boss grabs you with his tongue, but denfense-increasing accessories are always good.

Melee
Armor
 * Beetle armor, it is recommended that you use the shell as tanking will be much more important than being able to move fast against the moon lord, as the only way to outspeed it involves mounts, such as the Cosmic Car Key

Weapons
 * Daybreak
 * Terra Blade
 * Flairon
 * Golem Fist
 * Scourge of the Corruptor
 * North Pole
 * Possessed Hatchet
 * The Horseman's Blade
 * Solar Eruption

Recommended Accessories (preferably reforged to Warding)
 * Warrior Emblem
 * Master Ninja Gear
 * Avenger Emblem
 * Celestial Shell/Celestial Stone
 * Destroyer Emblem
 * Star Veil
 * Ankh Shield
 * Charm of Myths/Philosopher's Stone

"The Houdini" Melee Strategy (Doesn't work as of 1.3.0.4 w/ Magic Mirror)
Obtain and equip the Beetle Armor with Beetle Shell for the Beetle Endurance buff, the Cosmic Car Key, a Magic Mirror or equivalent, the Influx Waver and Scourge of the Corruptor weapons, and the Cross Necklace (or Star Veil) and a Cobalt Shield (or any accessory of which it is a component). Set up a Teleporter from the Nurse's room to one of your Ocean biomes. Set your Spawn in the Nurse's room along with a Sharpening Station to ignore some of the Moon Lord's Defense.

Movement accessories are irrelevant when riding in the UFO, so forget them in favor of accessories that favor offense or defense.

If you have a Crimson world and are against hacking in a Scourge of the Corruptor, you can likely substitute it with a Flairon or other ranged melee weapon that is either very fast, such as the Paladin's Hammer, or with a homing effect.

Part 1
Engage the Moon Lord. Get in your UFO mount and move towards spawn, staying close to the ground. Move diagonally if you need to distance yourself from the Moon Lord. Fire your Scourge of the Corruptor at the ground and let the mini-eaters whittle away at the health of the hands. If you're feeling accurate, fire directly at the hands. They will likely destroy one hand long before they destroy the other, but do not let that stop you. Destroy them both. If you are low on health, use your Magic Mirror to return to the Nurse, heal, sharpen, and use the Teleporter to return to the fight.

Part 2
This is where the "Houdini" part comes in. Now that both of the hands have been defeated, move on to the head. Fly diagonally upward and attempt to strike the head's Eye with the blade of your Influx Waver. This will do a surprising amount of damage very quickly. Ignore all damage you take -- it's imperative that you deal as much damage as you can before the head's eye closes. If you reach the top of the map, fall straight down while firing your Influx Waver's projectile upwards at the Eye. When the eye closes, the Moon Lord is about to attempt to heal. Immediately use your Magic Mirror before he can, and heal yourself using the Nurse. Return to the fight and repeat. You will notice that his health has not recovered since your last engagement. If the Moon Lord's mouth is open and he attempts to latch onto you when you get there, don't bother -- use your Magic Mirror and try again.

Part 3
After the Head has been defeated, fly straight up and fire the projectile of your Influx Waver downward at the Moon Lord's Core. When you reach the top of the map, fly straight down and attempt to hit it with your blade. If the Moon Lord opens his mouth, he is about to attempt to heal, so stay still and swing your sword to defeat some of the Essences before they are consumed, continuing to aim your weapon's projectiles downward to damage the Core. If you run low on health... you know the drill.

After his stereotypically long and tedious fight, Moon Lord will be defeated.

The Anti-Tongue Technique
If you are capable of handling the moon lord's damage without much trouble, and are capable with the Vampire Knives, the changes done in 1.3.0.4 are actually quite beneficial to those with Teleporters. Before the patch, someone outrunning the tongue would possibly have to guess when it might go away before they go back to the other side. This may include attempting to catch up with him before he prepares another tongue leeching, usually met with less fruitful efforts. Now, it's possible to not only avoid it, you can also keep up the barrage and kill him faster than ever.

This involves the use of Vampire Knives, so make sure to at least include Master Ninja Gear and Star Veil to allow bigger build-up times for regaining health. Ankh Shield is recommended but may not be needed if you can handle hooking yourself to the teleporter's pressure plate.


 * Set up a very long line of asphalt. A good 800-2000 blocks will be idealistic to ensure the tongue is very far away when you teleport.
 * Set up two teleporters on either end of the asphalt with two pressure plates on the outermost portion of the teleporter. While the focus is going to be on teleporting just after he shoots his tongue at you, having some run space to recover will help.
 * Avoid removing the head from the fight until last. You can bring it down to almost depleted health if you wish first, but if the tongue catches you, focus fire on the siphoning life forms going to his mouth.
 * Heart statues coupled with the heart reach buff will also help keep the player alive, but if this is needed, make sure to teleport back to the other side with the heart statues after his tongue retreats. This allows you to stay more exposed than not to spawning hearts and allow less dependency on the Vampire Knives.

The Fight

 * Fight him as one normally would, using (almost) any of the strategies listed here, but bring and use the Vampire Knives, Master Ninja Gear, and Star Veil when needed. Make sure to get a little distance from the teleporter during the fight, so you have some space to run when the tongue emerges.
 * The tongue comes in a stage after the head's laser has fired. Pay attention to when he blinks. He will blink once and expose his head's eye for about two seconds which will do nothing, and then it will start to close.
 * Ground yourself to the asphalt after his first blink while still throwing the knives if you need health. Otherwise, use whatever works best to damage him the most.
 * Dash or hook your way over to the teleporter just after his eye stays shut. You'll have about 0.5 to 1 seconds span of time to get moving before the tongue comes out.
 * Teleport after the tongue emerges. If you are successful enough to not be debuffed, then he should teleport shortly after you, and the tongue will appear to be retreating towards his mouth, possibly with a broken texture, if not outright removed.
 * The tongue may wind up disappearing from time to time, which is in your favor.
 * Also in your favor is the fact that he takes until the screen turns completely white when teleporting, which masks him suddenly appearing again on top of you.
 * Keep attacking relentlessly through your favored manner. Tactics will change if the eye in his head is destroyed.

Head Eye Destroyed

 * When the head's eye has been removed from the fight, he will start to use his tongue a lot more often. Keep on the run and try to avoid running into his hands. It may take anywhere from 2-3 seconds after the tongue expires. Try to strike a middle ground to keep enough distance from his head while there's enough time to burst-speed over to the teleport and make you follow him again.
 * When the core opens, you will need air time to surface the core, otherwise it'll remain underneath the entire time. Try not to fly too high, and start using a grappling hook to dismount if mounted, to help reel yourself in away from the tongue.
 * If things become overwhelming, use a minion to do damage for you while you work on staying alive. Focus upon keeping away from the tongue, and keep nailing him with Vampire Knives to help your survival until he dies.

"No Cheese, Keep Distance" Strategy, No Arena Needed (Working as of 1.3.0.5)
Note: Quite a bit of skill is needed for this strategy. Do not rely on luck.

Equipment

 * Daybreak
 * Beetle Armor with Shell
 * Cosmic Car Key
 * Rod of Discord (not required but exceptional for dodging lasers)
 * All Warding: Master Ninja Gear, Ankh Shield, Star Veil, Fire Gauntlet/Celestial Stone, Hoverboard (for gliding and fall damage negation), On Expert, also use Charm of Myths.
 * Pumpkin Pie, Ironskin Potion, Sharpening Station's Sharpened buff

Procedure

 * Pick a direction, left or right. As soon as the Moon Lord spawns, mount on the UFO, and go that direction immediately, while throwing Daybreak spears at him.
 * Keep going in that direction. When he gets too close, dismount the UFO very quickly, dash 1-3 times, then remount.
 * When he shoots the death ray/laser, try to maneuver around and above him by changing direction (If you do not have the Rod of Discord).
 * If you have the Rod of Discord, teleport to the other side of the laser.
 * When you reach the edge of the world, maneuver around him and change direction.
 * Kill his hands as late as possible (Phase 1).
 * The key is keeping distance, especially in his second phase.

Equipment

 * Lunar Flare, but obviously you are here to find how to beat the Moon Lord the first time, so a Solar Eruption will do quite well.
 * Solar Flare Armor, Bettle Armor (Shell) works too
 * All should be warding, Paladin's Shield, Charm of Myths or Celestial Shell(better), Spore Sac, Worm Scarf, lastly, a Shiny Stone (Shiny Stone does not heal you when you use your weapon, you must be fully stopped).
 * Endurance Potion, Regeneration Potion is a must and a God send, also Lifeforce Potion, Finally a Ironskin Potion

Procedure

 * This goes against all strategies, what you need to do is build a 4x4 to 6x6 box (made of SOLID blocks, no platforms) in the air, this is your box, now put a campfire (this information is wrong, as the campfire buff does not work while fighting Moon Lord, see Moon Lord page on this wiki for evidence) out side the box(on top) and a Heart Lantern on bottom, now you fill the insides and sides with Heart Statues and One-Second Timer, and wire them all together...
 * You take your Solar Eruption and repeatedly jab at what ever is open, the potions should give you a whole lot of regen, you shouldn't be moving so the Shiny Stone should be fast regeneration, the Spore Sac is just a little extra damage, and the box should protect you against the lazers, but the phantasmal bolts are still dangerous, all your warding accessories and armor should be well over 100 defense, you will probably use around 0-7 Healing Potions. It's tedious, but it works every time.
 * To get in and out, just mine out.
 * It might help to put honey in the box, as it gives you a health-regenerating buff

The water yoyo gosu style (expert mode)
A very fast aggresive approach either if you facing him for first time or farming him. It requires some arena preparation and post♙plantera gear.

Requirements

 * 1) Shrimpy Truffle mount from Duke Fishron. From my experience the Shrimpy Truffle mount is the best way dealing with him, much more reliable than wings, ufo mount, minecart or asphalt bridges.
 * 2) A large water arena (at least 100x10, recommended 400x100 or more) large enough that you can maneuver, float and jump easily so you can avoid his attacks/ tongue and keep the mount buff up.

You can take advantage of any large open areas/biomes filled with water such as the ocean to help you speed up with the construction.

Armor

 * Beetle armor with Scale Mail chest

Weapon

 * The Eye of Cthulhu. Highest damage yoyo before Terrarian. Yoyo's offer reliable damage from a distance for fast moving targets in comparison to Terra Blade or Influx Waver.
 * Stardust Dragon Staff (not required but helps alot)

Accessories
(All reforged to Menacing +4% damage or 3 menacing and 3 Violent. Extra attack speed means more range)
 * Yoyo Bag
 * Celestial Stone
 * Celestial Shell
 * Destroyer Emblem
 * Warrior Emblem


 * Fire Gauntlet

Procedure
The idea is simple enough. The Truffle mount is the fastest mount in the game when in water and for some seconds when out of water. You take advantage of its enormous speed to have in your preferred range the boss, avoid his tongue by moving away, circle around his laser, dodge his eyeballs and his laserballs and with that gear setup you will deal constant insane damage so you are looking for phase 2 under 30 seconds and relative safe. Just be careful not be to very close to him and get stunlocked, remember this is full offense no Star Veil or Ankh Shield.

Complimentary
You can setup a nurse nearby for emergency, some heart lanterns, water/ichor torches to help you with visibility, a platform of solid blocks (in case you cant circle around his laser while going with 90mph..), buff potions and food but all of the above are not necessary.

When you kill him you can do the same strategy using Solar Flare armor and of course Terrarian.

The (Ordinary) Minecart Strategy
In this strategy, you don't need the fancy Mechanical Cart. The time it takes to defeat Moon Lord is not short, but it is a sure-win strategy, and if done correctly with the proper gears, your health will never go below 75%.

Equipment
What you need are all pre-Moon Lord gears:
 * A long minecart track (preferably the length of the map) with both end hammered to "bumper";
 * Vortex Beater;
 * Endless Musket Pouch;
 * Stardust Dragon Staff or Stardust Cell Staff;
 * Beetle Armor with Beetle Shell;
 * Charm of Myths;
 * Ankh Shield for its 4 extra defense;
 * Any other accessories you want, all Warding;
 * All battling buff available, most important is Ironskin Potion;
 * Optional: Daybreak, Chlorophyte Bullet, Phantasm and Endless Quiver;

Battle
Mount your minecart and move at max speed when Moon Lord is spawning. As the player max speed while on the minecart is 66mph, much faster than the Moon Lord, you are safe from any melee attack. With all the equipment as above, your defense should be well over 100, making Moon Lord's projectiles trivial because they do at most ~5 damage. The only problem now is the beam shooting from his main eye, which can deal around 50 damage. But as you are moving at high speed, more than half of the time the beam will miss you (its range is limited), the other half you will be healed by the Charm of Myths.

To damage Moon Lord, simply shoot your Vortex Beater backward. If you use Chlorophyte Bullet, it will track the eye for you and cause more damage, but the amount of bullets used are high, so Endless Musket Pouch is better. Every few seconds the gun will shoot a homing explosive, combining with your minions and the random hit from the strayed bullet, Moon Lord will be killed for sure. Shooting straight backward while on the cart also destroys the all souls dragged out from Moon Lord's tongue, and therefore eliminates all his opportunities to recover.

The boss will be defeated in about 10 minutes at most, and 5 minute on average. Over the course of the battle, you will never have to use a single potion, as the damage is minor and no mana used.

Summoner
This strategy has been tested with expert mode.

Arena

 * A long minecart track with both ends hammered to "bumper".;
 * A long line of solid blocks 7 tiles directly above the minecart track. There should be 6 tiles between the solid blocks and the track. The solid blocks will block most of the Moon Lord's attacks and the space is there so the explosions from the blocked attacks do not hit you.

This strategy has been tested with an arena of 999 tile length. The longer the arena the easier the fight will be.

Equipment
It is not mandatory to have all of these items but skip too many and you might lose.

Offense: Optional:
 * Spooky Armor;
 * Stardust Dragon Staff;
 * Menacing Summoner Emblem;
 * Menacing Hercules Beetle;
 * Menacing Avenger Emblem;
 * Menacing Destroyer Emblem;
 * Warding Papyrus Scarab;
 * Warding Necromantic Scroll;
 * Bewitching Table;
 * Summoning Potion;
 * Menacing versions of the Papyrus Scarab and Necromantic Scroll;
 * Vortex Beater preferably with Endless Musket Pouch or Chlorophyte Bullet;

Defense: Optional:
 * Beetle Armor with Beetle Shell;
 * Warding Pygmy Necklace;
 * Warding Celestial Shell;
 * Warding Celestial Stone;
 * Warding Sun Stone/Moon Stone
 * Minecart or Mechanical Cart;
 * Stopwatch;
 * Regeneration Potion;
 * Lifeforce Potion;
 * Endurance Potion;
 * Ironskin Potion;
 * Buckets filled with Honey;
 * Charm of Myths;
 * Super Healing Potion;

Preparations

 * Equip everything listed in the offense section;
 * Activate the Bewitching Table's buff;
 * Drink a summoning potion if you have one;
 * Summon the Stardust Dragon 6 times;
 * Swap out the Avenger Emblem with the Pygmy Necklace;
 * Swap out your Spooky Armor with your Beetle Armor;
 * Swap out the Summoner Emblem, Destroyer Emblem, and Hercules Beetle with the Celestial Shell, Celestial Stone, and a Sun/Moon Stone;

Battle

 * Move on the mincart track at 55mph. This speed will allow you to dodge most of the Moon Lord's attacks while giving your stardust dragon a few seconds to attack the Moon Lord before he is out of range;
 * If you have a Vortex Beater you can hit the Moon Lord's hands and core with it but his head can only be hit by your dragon;

That's it. The solid line of blocks will block the Moon Lord's death ray, your minecart will dodge all of the Moon Lord's Eye attacks, the Beetle Shell's Endurance Buff coupled with the 6hp regeneration per second from the Celestial accessories will shrug off the rest of the Moon Lord's attacks. The dragon will be doing about 1500~2200 DPS when he is attacking;

If you are feeling confident (you are full hp and your beetle endurance buff is at maximum) you can reduce your speed to 40mph in which case your stardust dragon should be attacking the Moon Lord consistently dealing massive amount of damage.

Regeneration Potions and pouring a bucket of honey on yourself will boost your regeneration to 10hp per second. Coupled with endurance potion, lifeforce potion, and Super Healing Potions, you may forgo the solid line of blocks above your minecart track since you will tanky enough to survive multiple consecutive death rays;

Summary
Moon Lord is a pretty hard boss to beat as a solo caster as he will rip you apart at close range, and few spells have the range needed to actually hit him. It is still doable as a caster; but in general a Ranger setup is highly recommended, especially for Expert Mode. If you are playing in expert mode it is important to keep in mind that defense is worth more, and enemies deal massively more damage, so all of your accessories should be reforged to warding. In normal you can probably get away with reforging some items as damage though. If needed, the Nebula Arcanum can be crafted prior to fighting the Moon Lord as its materials drop from the precursor events. The Ankh Shield can be replaced with a Destroyer Emblem, but you lose 4 defense and dealing with the knockback effects can be rough.

Though on multiplayer he can be a bit of a joke, if the players keep their distance from each other, though still capable of killing each player multiple times during the fight, he will fall.