Bukkit-API
1.7.9-R0.2
The inofficial Bukkit-API
|
Public Member Functions | |
BlockRedstoneEvent (final Block block, final int oldCurrent, final int newCurrent) | |
int | getOldCurrent () |
int | getNewCurrent () |
void | setNewCurrent (int newCurrent) |
HandlerList | getHandlers () |
![]() | |
BlockEvent (final Block theBlock) | |
final Block | getBlock () |
![]() | |
Event () | |
Event (boolean isAsync) | |
String | getEventName () |
abstract HandlerList | getHandlers () |
final boolean | isAsynchronous () |
Static Public Member Functions | |
static HandlerList | getHandlerList () |
Additional Inherited Members | |
![]() | |
Block | block |
Called when a redstone current changes
Definition at line 9 of file BlockRedstoneEvent.java.
int org.bukkit.event.block.BlockRedstoneEvent.getNewCurrent | ( | ) |
Gets the new current of this block
Definition at line 34 of file BlockRedstoneEvent.java.
int org.bukkit.event.block.BlockRedstoneEvent.getOldCurrent | ( | ) |
Gets the old current of this block
Definition at line 25 of file BlockRedstoneEvent.java.
void org.bukkit.event.block.BlockRedstoneEvent.setNewCurrent | ( | int | newCurrent | ) |
Sets the new current of this block
newCurrent | The new current to set |
Definition at line 43 of file BlockRedstoneEvent.java.