public abstract class ToolUseEvent<T extends Tool>
extends org.bukkit.event.player.PlayerEvent
Constructor and Description |
---|
ToolUseEvent(org.bukkit.entity.Player player,
T tool)
The constructor of the event.
|
Modifier and Type | Method and Description |
---|---|
T |
getTool()
Get the tool that was used.
|