public class BlockDataCyler extends java.lang.Object implements DoubleActionBlockTool
Constructor and Description |
---|
BlockDataCyler() |
Modifier and Type | Method and Description |
---|---|
boolean |
actPrimary(Platform server,
LocalConfiguration config,
Player player,
LocalSession session,
Location clicked)
Perform the primary action of this tool.
|
boolean |
actSecondary(Platform server,
LocalConfiguration config,
Player player,
LocalSession session,
Location clicked)
Perform the secondary action of this block tool.
|
boolean |
canUse(Actor player)
Checks to see if the player can still be using this tool (considering
permissions and such).
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
actSecondary
actPrimary
public boolean canUse(Actor player)
Tool
public boolean actPrimary(Platform server, LocalConfiguration config, Player player, LocalSession session, Location clicked)
BlockTool
actPrimary
in interface BlockTool
public boolean actSecondary(Platform server, LocalConfiguration config, Player player, LocalSession session, Location clicked)
DoubleActionBlockTool
actSecondary
in interface DoubleActionBlockTool