King Slime

The King Slime is a pre-Hardmode boss. His appearance is that of a massive Blue Slime wearing a jeweled golden crown and has what appears to be a ninja inside of it. It lacks the crown on the of the game. As King Slime takes damage, he spawns additional ordinary Blue Slimes (and in, Spiked Slimes) and will also appear to shrink in size.

King Slime spawns under one of the following conditions:
 * A player uses a Slime Crown.
 * 150 slimes are defeated during the Slime Rain event (or 75 if King Slime was already slain in the world at least once).
 * Rarely in the outer lateral sixths of the map, during daytime, and only on grass.

Fighting King Slime is completely optional and not required for game progression, but his defeat may reward the player with money and useful items.

His Bestiary entry states: "Slimes normally aren't intelligent, but occasionally they merge together to become a powerful force to swallow all things."

Manual
King Slime can be summoned manually anywhere and at any time using the Slime Crown.

Random
King Slime has a very rare chance of spawning naturally if the following conditions are met:
 * The player is located in the one of the outer lateral sixths of the map (the far left or far right).
 * The Depth at its potential spawn point is above zero.
 * It is daytime.
 * There must be standard, green grass at its potential spawn point (off-screen; see NPC spawning)

Slime Rain
If 150 slimes are killed by players, lava, traps, and/or summoned minions during the Slime Rain event, King Slime will spawn. Defeating the boss will end the event shortly after – if all players die (even on singleplayer), the boss will despawn and the event will continue for some time before ending on its own (between 9-15 in-game hours). If the King Slime has already been defeated on a world, it will only take 75 slime kills to spawn the King Slime. If King Slime is summoned manually with the Slime Gel and then subsequently killed, while the Slime Rain is active, the event will end in the same way as if the player killed the King Slime that naturally spawns at the end of the event. This can be quite helpful for powerful players who want to get the Slime Rain event over with as quickly as possible.

Expert Mode
In Expert Mode, King Slime's health is increased to, and it spawns Spiked Slimes as it takes damage.

Master Mode
In Master Mode, King Slime's health is increased to, it teleports more aggressively towards the player, and gains an additional speed boost as it takes damage.

Tips

 * Piercing weapons can not only damage King Slime, but also kill the additional slimes it spawns.
 * The Blue Slimes it spawns can drop Hearts and Stars, which respectively restore 20 health and 100 mana.
 * Spawning King Slime while in specific areas using Slime Crowns can be a quick, easy way to farm for specific drops, such as souls (pre-1.4 only), Biome Keys, Pirate Maps, Halloween and Christmas drops or Cascade, Hel-Fire, Amarok, Yelets and Kraken yoyos, due to the high number of Blue Slimes spawned during the fight.
 * By using a Starfury while King Slime is falling down after jumping, it can take over 50 damage for each time he is hit by the star.
 * Note that King Slime itself does not drop any Gel, but the Blue Slimes it spawns do. This makes King Slime to be a good way to farm Gel, for Flamethrower ammo and Asphalt Blocks.
 * Killing King Slime on Expert Mode and selling all drops gives 10 gold on average.
 * When King Slime teleports, it can become stuck inside the blocks around him, preventing its movement for a while.

Trivia

 * It seems that the source of the Ninja armor is from the ninja inside King Slime. According to Redigit, the trapped ninja is the Guide's brother.
 * In the versions, he is the only boss to drop a banner.
 * The trophy dropped by King Slime seems to be a covered in slime. The Ninjatō is a common weapon which ninjas are usually shown to carry.
 * The images for the ninja inside the King Slime and the crown are stored in separate image files. The King Slime's sprite without them looks similar to an enlarged sprite of a normal Blue Slime.
 * Despite sometimes being considered the easiest boss in the game, it does the second highest damage of any pre-hardmode boss, only beatable by the Wall of Flesh in Classic Mode or Skeletron in Expert Mode.
 * King Slime is the only boss capable of spawning randomly even after it has been defeated.
 * Although Community 505 released official lore, it is still unknown how the ninja inside of it got there.
 * When teleporting, King Slime drops his current crown and seemingly generates a new one upon completing the teleport.
 * Before 1.3.0.1 King Slime would have a different spawning status message: "The sky jiggles above you..."