Class PlanetPlaceholder

All Implemented Interfaces:
ExtensionContent

public final class PlanetPlaceholder extends KeyPlaceholder
  • Constructor Details

    • PlanetPlaceholder

      public PlanetPlaceholder()
  • Method Details

    • parseKey

      @Nullable public @Nullable String parseKey(String key, ActionsHandler handler, Action action)
      Description copied from class: KeyPlaceholder
      Parses placeholder key, without %.
      Specified by:
      parseKey in class KeyPlaceholder
      Parameters:
      key - key to replace.
      handler - action handler.
      action - action
      Returns:
      string - if parsed, or null - nothing parsed.
    • getExtensionId

      @NotNull public @NotNull String getExtensionId()
      Description copied from interface: ExtensionContent
      Returns lower-cased simple id of extension. Will be used to identify author of content.

      ID "default" is reserved for OpenCreative+ developers.

      Returns:
      id of extension.
    • getName

      @NotNull public @NotNull String getName()
      Description copied from interface: ExtensionContent
      Returns name of extension content. Will be displayed in list of extension content.
      Returns:
      name of content.
    • getDescription

      @NotNull public @NotNull String getDescription()
      Description copied from interface: ExtensionContent
      Returns description of extension content. Describes purpose of new additional content.
      Returns:
      description of content.