Class BeaconDeactivatedEvent

java.lang.Object
org.bukkit.event.Event
org.bukkit.event.block.BlockEvent
io.papermc.paper.event.block.BeaconDeactivatedEvent

public class BeaconDeactivatedEvent extends BlockEvent
Called when a beacon is deactivated, either because its base block(s) or itself were destroyed.
  • Constructor Details

  • Method Details

    • getBeacon

      @Nullable public @Nullable Beacon getBeacon()
      Returns the beacon that was deactivated. This will return null if the beacon does not exist. (which can occur after the deactivation of a now broken beacon)
      Returns:
      The beacon that got deactivated, or null if it does not exist.
    • getHandlers

      @NotNull public @NotNull HandlerList getHandlers()
      Specified by:
      getHandlers in class Event
    • getHandlerList

      @NotNull public static @NotNull HandlerList getHandlerList()