Class AddonHandler

java.lang.Object
com.ryandw11.structure.AddonHandler

public final class AddonHandler extends Object
This class is responsible for handling addons to the plugin.

Use CustomStructuresAPI.registerCustomAddon(CustomStructureAddon) to register an addon.

  • Constructor Details

  • Method Details

    • getCustomStructureAddons

      public List<CustomStructureAddon> getCustomStructureAddons()
      Get the list of addons.
      Returns:
      The list of addons.
    • registerAddon

      public void registerAddon(CustomStructureAddon addon)
      Register a custom addon.
      Parameters:
      addon - The addon to register.
    • handlePluginReload

      public void handlePluginReload()
      Handles re-registering items from addons when the plugin is reloaded.

      Internal Use Only.