public final class CrowbarWandUseEvent extends ToolUseEvent<CrowbarTool>
tool
Constructor and Description |
---|
CrowbarWandUseEvent(org.bukkit.entity.Player player,
CrowbarTool tool,
org.bukkit.block.Block affectedBlock)
The constructor of the event.
|
Modifier and Type | Method and Description |
---|---|
org.bukkit.block.Block |
getBlock()
Get the affected block by the wand.
|
static org.bukkit.event.HandlerList |
getHandlerList() |
org.bukkit.event.HandlerList |
getHandlers() |
getTool
public CrowbarWandUseEvent(org.bukkit.entity.Player player, CrowbarTool tool, org.bukkit.block.Block affectedBlock)
player
- The player who used the wand.tool
- The wand that was used.affectedBlock
- The affected block by the wand.