Modifier and Type | Method and Description |
---|---|
boolean |
actPrimary(Platform server,
LocalConfiguration config,
Player player,
LocalSession session,
Location clicked,
Direction face)
Perform the primary action of this tool.
|
boolean |
canUse(Actor actor)
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
actPrimary
public StackTool(int range, Mask mask)
public boolean actPrimary(Platform server, LocalConfiguration config, Player player, LocalSession session, Location clicked, @Nullable Direction face)
BlockTool
actPrimary
in interface BlockTool
server
- The platformconfig
- The config instanceplayer
- The playersession
- The local sessionclicked
- The location that was clickedface
- The face that was clicked