Class BlockFadeEvent

java.lang.Object
org.bukkit.event.Event
org.bukkit.event.block.BlockEvent
org.bukkit.event.block.BlockFadeEvent
All Implemented Interfaces:
Cancellable

public class BlockFadeEvent extends BlockEvent implements Cancellable
Called when a block fades, melts or disappears based on world conditions

Examples:

  • Snow melting due to being near a light source.
  • Ice melting due to being near a light source.
  • Fire burning out after time, without destroying fuel block.
  • Coral fading to dead coral due to lack of water
  • Turtle Egg bursting when a turtle hatches

If a Block Fade event is cancelled, the block will not fade, melt or disappear.