Class ApiHolder

java.lang.Object
com.craftmend.openaudiomc.api.ApiHolder

public class ApiHolder extends Object
Internal class used to initialize the API once based on services from the plugin. Calling any of these methods will throw an exception if the API is already initiated.
  • Constructor Details

    • ApiHolder

      public ApiHolder()
  • Method Details

    • initiate

      public static void initiate(ClientApi clientApi)
    • initiate

      public static void initiate(WorldApi worldApi)
    • initiate

      public static void initiate(VoiceApi voiceApi)
    • initiate

      public static void initiate(MediaApi mediaApi)
    • initiate

      public static void initiate(EventApi eventApi)