Interface BlacklistEvent

All Known Implementing Classes:
BlockBreakBlacklistEvent, BlockDispenseBlacklistEvent, BlockInteractBlacklistEvent, BlockPlaceBlacklistEvent, ItemAcquireBlacklistEvent, ItemDestroyWithBlacklistEvent, ItemDropBlacklistEvent, ItemEquipBlacklistEvent, ItemUseBlacklistEvent

public interface BlacklistEvent
  • Method Details

    • getPlayer

      @Nullable LocalPlayer getPlayer()
      Get the player.
      Returns:
      The player associated with this event
    • getCauseName

      String getCauseName()
      Get the cause name, which is usually the player name.
      Returns:
      the cause name
    • getPosition

      com.sk89q.worldedit.math.BlockVector3 getPosition()
      Get the position.
      Returns:
      The position of this event
    • getLoggedPosition

      com.sk89q.worldedit.math.BlockVector3 getLoggedPosition()
      Get the position that should be logged.
      Returns:
      The position that be logged.
    • getTarget

      Target getTarget()
      Get the item type.
      Returns:
      The type associated with this event
    • getDescription

      String getDescription()
      Get a short description such as "break" or "destroy with."
      Returns:
      The event description
    • getLoggerMessage

      String getLoggerMessage()
      Get a message for logger outputs.
      Returns:
      A logging message
    • getEventType

      EventType getEventType()
      Get the event type.
      Returns:
      the type