Package 

Class FlyLibBuilder

  • All Implemented Interfaces:

    
    public final class FlyLibBuilder<T extends Object>
    
                        

    A builder that creates Fly Lib.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
      FlyLibBuilder(JavaPlugin plugin)
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Constructor Detail

      • FlyLibBuilder

        FlyLibBuilder(JavaPlugin plugin)
    • Method Detail

      • listen

        @JvmOverloads() final <E extends Event> FlyLibBuilder<T> listen(Class<E> clazz, EventPriority priority, Boolean ignoreCancelled, ListenerAction<E> action)

        Listens to the specified event with the specified priority. The event Listen is registered when the calling plugin is enabled, not when this method is called, and is unregistered when the calling plugin is disabled.

      • listen

        @JvmOverloads() final <E extends Event> FlyLibBuilder<T> listen(Class<E> clazz, EventPriority priority, ListenerAction<E> action)

        Listens to the specified event with the specified priority. The event Listen is registered when the calling plugin is enabled, not when this method is called, and is unregistered when the calling plugin is disabled.

      • listen

        @JvmOverloads() final <E extends Event> FlyLibBuilder<T> listen(Class<E> clazz, ListenerAction<E> action)

        Listens to the specified event with the specified priority. The event Listen is registered when the calling plugin is enabled, not when this method is called, and is unregistered when the calling plugin is disabled.