Added Block.getPistonMoveReaction, BlockPistonExtend and BlockPistonRetractEvent

This commit is contained in:
Erik Broes
2011-07-15 23:59:12 +02:00
parent 9789918954
commit e403b3e000
9 changed files with 205 additions and 0 deletions

View File

@@ -404,6 +404,18 @@ public abstract class Event implements Serializable {
* @see org.bukkit.event.block.BlockFadeEvent
*/
BLOCK_FADE (Category.BLOCK),
/**
* Called when a piston extends
*
* @see org.bukkit.event.block.PistonExtendEvent
*/
BLOCK_PISTON_EXTEND (Category.BLOCK),
/**
* Called when a piston retracts
*
* @see org.bukkit.event.block.PistonRetractEvent
*/
BLOCK_PISTON_RETRACT (Category.BLOCK),
/**
* INVENTORY EVENTS