Minecraft wiki entry for End_Crystal, associated text: The end crystal naturally shoots a beam at the ender dragon and heals it when the dragon is within range. This beam can be manually created using the command /data merge entity @e[type=end_crystal,limit=1] {BeamTarget:{X:0, Y:0, Z:0}}. The beam can be pointed in any direction, allowing it to mark locations or objects.