Class SpongeAntiBotModeStateEvent

    • Field Summary

      • Fields inherited from class org.spongepowered.api.event.impl.AbstractEvent

        currentOrder
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.spongepowered.api.event.cause.Cause getCause()  
      boolean isEnabling()
      Gives the enabling state of this event.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.spongepowered.api.event.Event

        getContext, getSource
    • Constructor Detail

      • SpongeAntiBotModeStateEvent

        public SpongeAntiBotModeStateEvent​(boolean enabling)
    • Method Detail

      • isEnabling

        public boolean isEnabling()
        Gives the enabling state of this event.
        Specified by:
        isEnabling in interface AntiBotModeStateEvent
        Returns:
        True: AntiBot Mode is enabling, false: AntiBot Mode is disabling.
      • getCause

        public org.spongepowered.api.event.cause.Cause getCause()
        Specified by:
        getCause in interface org.spongepowered.api.event.Event