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.
- Since:
- 1.16.5
-
Nested Class Summary
Nested classes/interfaces inherited from class Event
Event.Result -
Field Summary
Fields inherited from class BlockEvent
block -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@Nullable BeaconReturns the beacon that was deactivated.static HandlerListMethods inherited from class BlockEvent
getBlockMethods inherited from class Event
callEvent, getEventName, isAsynchronous
-
Constructor Details
-
BeaconDeactivatedEvent
-
-
Method Details
-
getBeacon
Returns the beacon that was deactivated. This will returnnullif the beacon does not exist. (which can occur after the deactivation of a now broken beacon)- Returns:
- The beacon that got deactivated, or
nullif it does not exist. - Since:
- 1.16.5
-
getHandlers
- Specified by:
getHandlersin classEvent- Since:
- 1.16.5
-
getHandlerList
- Since:
- 1.16.5
-