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) |
boolean |
actSecondary(Platform server,
LocalConfiguration config,
Player player,
LocalSession session,
Location clicked) |
boolean |
canUse(Actor player)
Checks to see if the player can still be using this tool (considering
permissions and such).
|
public boolean canUse(Actor player)
Tool
public boolean actPrimary(Platform server, LocalConfiguration config, Player player, LocalSession session, Location clicked)
actPrimary
in interface BlockTool
public boolean actSecondary(Platform server, LocalConfiguration config, Player player, LocalSession session, Location clicked)
actSecondary
in interface DoubleActionBlockTool