Annotation Interface Repeatable


@Retention(RUNTIME) @Target(METHOD) public @interface Repeatable
Represents an Attack that will be Repeated until the entity dies.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    long
    Interval of this Repeatable Attack.
    The Name of the Plugin.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    long
    The delay of this Repeatable Attack.
  • Element Details

    • delay

      long delay
      The delay of this Repeatable Attack. Default: 0
      Returns:
      Delay of Attack
      Default:
      0L
    • plugin

      String plugin
      The Name of the Plugin.
      Returns:
      Name of Plugin
    • interval

      long interval
      Interval of this Repeatable Attack.
      Returns:
      Interval of Attack