Class DomainBypassChangeEvent

  • All Implemented Interfaces:
    org.bukkit.event.Cancellable

    public final class DomainBypassChangeEvent
    extends org.bukkit.event.Event
    implements org.bukkit.event.Cancellable
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.bukkit.event.Event

        org.bukkit.event.Event.Result
    • Constructor Summary

      Constructors 
      Constructor Description
      DomainBypassChangeEvent​(org.bukkit.entity.Player player)
      DomainBypassChangeEvent(Player) This event is called when a player enters or leaves Domain Bypass mode
    • Constructor Detail

      • DomainBypassChangeEvent

        public DomainBypassChangeEvent​(org.bukkit.entity.Player player)
        DomainBypassChangeEvent(Player) This event is called when a player enters or leaves Domain Bypass mode
        Parameters:
        player - The player that is changing Domain Bypass mode
    • Method Detail

      • getCancelReason

        public java.lang.String getCancelReason()
      • isCancelled

        public boolean isCancelled()
        Specified by:
        isCancelled in interface org.bukkit.event.Cancellable
      • setCancelled

        public void setCancelled​(boolean cancel)
        Specified by:
        setCancelled in interface org.bukkit.event.Cancellable
      • getHandlers

        public org.bukkit.event.HandlerList getHandlers()
        Specified by:
        getHandlers in class org.bukkit.event.Event
      • getHandlerList

        public static org.bukkit.event.HandlerList getHandlerList()