Custom Events

QuarterBukkit provides some custom events which might be useful for common tasks.


This event is fired every time a block gets powered or unpowered. The event is also called on redstone dust!

public static Block getBlock(); // Returns the block which was powered or unpowered by redstone
public static boolean isPowered(); // True if the block became powered, false if it became unpowered