Class UnixTimeMinutesValue

All Implemented Interfaces:
ExtensionContent

public final class UnixTimeMinutesValue extends NumberEventValue
  • Constructor Details

    • UnixTimeMinutesValue

      public UnixTimeMinutesValue()
  • Method Details

    • getNumber

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