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 SummaryNested classes/interfaces inherited from class org.bukkit.event.EventEvent.Result
- 
Field SummaryFields inherited from class org.bukkit.event.block.BlockEventblock
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionReturns the beacon that was deactivated.static @NotNull HandlerListMethods inherited from class org.bukkit.event.block.BlockEventgetBlockMethods inherited from class org.bukkit.event.EventcallEvent, getEventName, isAsynchronous
- 
Constructor Details- 
BeaconDeactivatedEvent
 
- 
- 
Method Details- 
getBeaconReturns 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- Specified by:
- getHandlersin class- Event
 
- 
getHandlerList
 
-