Interface PylonAddon

  • All Implemented Interfaces:
    net.kyori.adventure.key.Keyed , org.bukkit.Keyed

    
    public interface PylonAddon
     implements Keyed
                        

    Welcome to the place where it all begins: the Pylon addon!

    • Method Summary

      Modifier and Type Method Description
      default NamespacedKey getKey()
      default void registerWithPylon() Must be called as the first thing in your plugin's onEnable
      JavaPlugin getJavaPlugin() Must return this
      Set<Locale> getLanguages() The set of Locales this addon has translations for.
      Material getMaterial() The material to represent this addon in menus.
      default TranslatableComponent getDisplayName() The name used to represent this addon in the item tooltips.
      default Boolean suppressAddonNameWarning() If you use something besides the default pylon.<your-addon-key>.addon translation key for the addon name, set this to true to suppress warnings about the "missing" key.
      • Methods inherited from class net.kyori.adventure.key.Keyed

        key
      • Methods inherited from class io.github.pylonmc.pylon.core.addon.PylonAddon

        getKey
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait