Added Block.getPistonMoveReaction, BlockPistonExtend and BlockPistonRetractEvent

By: Erik Broes <erikbroes@grum.nl>
This commit is contained in:
Bukkit/Spigot
2011-07-15 23:59:12 +02:00
parent 402794beff
commit 86ab32254f
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