This actually needs two command blocks.
Note: Minify the command to avoid issues :)
Waste Slots in Your Inventory Easily!
Check Out TheRedEngineer
THE HAPPY NOOB IS STIFF!
The death of the enemies.
Pet ENDER DRAGON!!!!!
Wither Storm Boss in ONE COMMAND
HEROBRINE COMMAND
HEROBRINE BOSS BATTLE (See YouTube for details)