Class BlockDispenseBlacklistEvent
java.lang.Object
com.sk89q.worldguard.blacklist.event.BlockDispenseBlacklistEvent
- All Implemented Interfaces:
BlacklistEvent
-
Constructor Summary
ConstructorsConstructorDescriptionBlockDispenseBlacklistEvent(LocalPlayer player, com.sk89q.worldedit.math.BlockVector3 position, Target target)Construct the object. -
Method Summary
Modifier and TypeMethodDescriptionGet the cause name, which is usually the player name.Get a short description such as "break" or "destroy with."Get the event type.com.sk89q.worldedit.math.BlockVector3Get the position that should be logged.Get a message for logger outputs.Get the player.protected Stringcom.sk89q.worldedit.math.BlockVector3Get the position.Get the item type.
-
Constructor Details
-
BlockDispenseBlacklistEvent
public BlockDispenseBlacklistEvent(@Nullable LocalPlayer player, com.sk89q.worldedit.math.BlockVector3 position, Target target)Construct the object.- Parameters:
player- The player associated with this eventposition- The position the event occurred attarget- The target of the event
-
-
Method Details
-
getDescription
Description copied from interface:BlacklistEventGet a short description such as "break" or "destroy with."- Returns:
- The event description
-
getLoggerMessage
Description copied from interface:BlacklistEventGet a message for logger outputs.- Specified by:
getLoggerMessagein interfaceBlacklistEvent- Returns:
- A logging message
-
getEventType
Description copied from interface:BlacklistEventGet the event type.- Returns:
- the type
-
getLoggedPosition
public com.sk89q.worldedit.math.BlockVector3 getLoggedPosition()Description copied from interface:BlacklistEventGet the position that should be logged.- Returns:
- The position that be logged.
-
getPlayer
Description copied from interface:BlacklistEventGet the player.- Specified by:
getPlayerin interfaceBlacklistEvent- Returns:
- The player associated with this event
-
getCauseName
Description copied from interface:BlacklistEventGet the cause name, which is usually the player name.- Specified by:
getCauseNamein interfaceBlacklistEvent- Returns:
- the cause name
-
getPosition
public com.sk89q.worldedit.math.BlockVector3 getPosition()Description copied from interface:BlacklistEventGet the position.- Specified by:
getPositionin interfaceBlacklistEvent- Returns:
- The position of this event
-
getTarget
Description copied from interface:BlacklistEventGet the item type.- Specified by:
getTargetin interfaceBlacklistEvent- Returns:
- The type associated with this event
-
getPlayerName
-