public final class BlockBreakBlacklistEvent extends Object
| Constructor and Description |
|---|
BlockBreakBlacklistEvent(LocalPlayer player,
com.sk89q.worldedit.Vector position,
Target target)
Construct the object.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getCauseName()
Get the cause name, which is usually the player name.
|
String |
getDescription()
Get a short description such as "break" or "destroy with."
|
EventType |
getEventType()
Get the event type.
|
com.sk89q.worldedit.Vector |
getLoggedPosition()
Get the position that should be logged.
|
String |
getLoggerMessage()
Get a message for logger outputs.
|
LocalPlayer |
getPlayer()
Get the player.
|
protected String |
getPlayerName() |
com.sk89q.worldedit.Vector |
getPosition()
Get the position.
|
Target |
getTarget()
Get the item type.
|
public BlockBreakBlacklistEvent(@Nullable LocalPlayer player, com.sk89q.worldedit.Vector position, Target target)
player - The player associated with this eventposition - The position the event occurred attarget - The target of the eventpublic String getDescription()
BlacklistEventpublic EventType getEventType()
BlacklistEventpublic String getLoggerMessage()
BlacklistEventpublic com.sk89q.worldedit.Vector getLoggedPosition()
BlacklistEvent@Nullable public LocalPlayer getPlayer()
BlacklistEventgetPlayer in interface BlacklistEventpublic String getCauseName()
BlacklistEventgetCauseName in interface BlacklistEventpublic com.sk89q.worldedit.Vector getPosition()
BlacklistEventgetPosition in interface BlacklistEventpublic Target getTarget()
BlacklistEventgetTarget in interface BlacklistEventprotected String getPlayerName()
Copyright © 2015. All Rights Reserved.