Class BlockFromToEvent

All Implemented Interfaces:

public class BlockFromToEvent
extends BlockEvent
implements Cancellable
Represents events with a source block and a destination block, currently only applies to liquid (lava and water) and teleporting dragon eggs.

If a Block From To event is cancelled, the block will not move (the liquid will not flow).