public interface BlockTool extends Tool
Modifier and Type | Method and Description |
---|---|
default boolean |
actPrimary(Platform server,
LocalConfiguration config,
Player player,
LocalSession session,
Location clicked)
Deprecated.
|
default boolean |
actPrimary(Platform server,
LocalConfiguration config,
Player player,
LocalSession session,
Location clicked,
Direction face)
Perform the primary action of this tool.
|
@Deprecated default boolean actPrimary(Platform server, LocalConfiguration config, Player player, LocalSession session, Location clicked)
server
- config
- player
- session
- clicked
- default boolean actPrimary(Platform server, LocalConfiguration config, Player player, LocalSession session, Location clicked, @Nullable Direction face)
Note: This will not be default in WorldEdit 8
server
- The platformconfig
- The config instanceplayer
- The playersession
- The local sessionclicked
- The location that was clickedface
- The face that was clicked