Package io.papermc.paper.event.block
Class BeaconDeactivatedEvent
java.lang.Object
org.bukkit.event.Event
org.bukkit.event.block.BlockEvent
io.papermc.paper.event.block.BeaconDeactivatedEvent
Called when a beacon is deactivated, either because its base block(s) or itself were destroyed.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
Event.Result
-
Field Summary
Fields inherited from class org.bukkit.event.block.BlockEvent
block
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the beacon that was deactivated.static @NotNull HandlerList
Methods inherited from class org.bukkit.event.block.BlockEvent
getBlock
Methods inherited from class org.bukkit.event.Event
callEvent, getEventName, isAsynchronous
-
Constructor Details
-
BeaconDeactivatedEvent
-
-
Method Details
-
getBeacon
Returns the beacon that was deactivated. This will returnnull
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
- Specified by:
getHandlers
in classEvent
-
getHandlerList
-