public class SelectionWand extends java.lang.Object implements DoubleActionBlockTool
Constructor and Description |
---|
SelectionWand() |
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 actor)
Checks to see if the player can still be using this tool (considering
permissions and such).
|
public boolean actSecondary(Platform server, LocalConfiguration config, Player player, LocalSession session, Location clicked)
DoubleActionBlockTool
actSecondary
in interface DoubleActionBlockTool
public boolean actPrimary(Platform server, LocalConfiguration config, Player player, LocalSession session, Location clicked)
BlockTool
actPrimary
in interface BlockTool