Minecraft wiki entry for Coral_Block, associated text: In order for a coral block to stay alive, at least one of the six directly adjacent blocks must be water. If placed outside of water, it transforms into its respective dead coral block after a few seconds — a grayscale version of the coral block. A coral block still dies if the Gamerule randomTickSpeed is set to 0.