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