public class LightSwitch extends AbstractMechanic
Modifier and Type | Class and Description |
---|---|
static class |
LightSwitch.Factory |
Modifier and Type | Method and Description |
---|---|
void |
onRightClick(org.bukkit.event.player.PlayerInteractEvent event)
Raised when a block is right clicked.
|
onBlockBreak, onBlockRedstoneChange, onLeftClick, unload, unloadWithEvent
public void onRightClick(org.bukkit.event.player.PlayerInteractEvent event)
Mechanic
onRightClick
in interface Mechanic
onRightClick
in class AbstractMechanic
Copyright © 2013. All Rights Reserved.