Package io.github.pylonmc.rebar.event
Class RebarBlockWailaEvent
-
- All Implemented Interfaces:
-
org.bukkit.event.Cancellable
public final class RebarBlockWailaEvent extends PlayerEvent implements Cancellable
Called when the players WAILA display is being generated for a targeted Block. This is called if and only if the player has WAILA enabled and the block already has a generated display.
-
-
Constructor Summary
Constructors Constructor Description RebarBlockWailaEvent(Player player, Block block, WailaDisplay display)
-
Method Summary
Modifier and Type Method Description final BlockgetBlock()final WailaDisplaygetDisplay()final voidsetDisplay(WailaDisplay value)BooleanisCancelled()voidsetCancelled(Boolean cancel)HandlerListgetHandlers()final static HandlerListgetHandlerList()-
Methods inherited from class org.bukkit.event.Event
callEvent, getEventName, isAsynchronous -
Methods inherited from class io.github.pylonmc.rebar.event.RebarBlockWailaEvent
getHandlers, isCancelled, setCancelled -
Methods inherited from class org.bukkit.event.player.PlayerEvent
getPlayer -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
RebarBlockWailaEvent
RebarBlockWailaEvent(Player player, Block block, WailaDisplay display)
-
-
Method Detail
-
getDisplay
final WailaDisplay getDisplay()
-
setDisplay
final void setDisplay(WailaDisplay value)
-
isCancelled
Boolean isCancelled()
-
setCancelled
void setCancelled(Boolean cancel)
-
getHandlers
HandlerList getHandlers()
-
getHandlerList
final static HandlerList getHandlerList()
-
-
-
-