Class WorldDescriptionValue

All Implemented Interfaces:
ExtensionContent

public final class WorldDescriptionValue extends TextEventValue
  • Constructor Details

    • WorldDescriptionValue

      public WorldDescriptionValue()
  • Method Details

    • getText

      @Nullable public @Nullable String getText(@NotNull @NotNull ActionsHandler handler, @NotNull @NotNull Action action, @Nullable @Nullable org.bukkit.entity.Entity entity)
      Description copied from class: TextEventValue
      Returns a string that can be got from player, event, action, or null.
      Specified by:
      getText in class TextEventValue
      Returns:
      string, or null.
    • 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.
    • 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.