Annotation Interface Behavior


@Target(TYPE) @Retention(RUNTIME) public @interface Behavior
An interface to define a Honeypot Behavior
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    org.bukkit.Material
    The icon of the provider to display within the GUI.
    The name of the provider.
    The type of the BehaviorProvider.
  • Element Details

    • type

      The type of the BehaviorProvider. This is currently a formality and does not have any bearing on the provider functionality. Please define it correctly however, as this may receive added functionality in the future
      Returns:
      The type of the BehaviorProvider
    • name

      String name
      The name of the provider. Each provider must have a unique name
      Returns:
      The name of the BehaviorProvider
    • icon

      org.bukkit.Material icon
      The icon of the provider to display within the GUI. Any Material will do
      Returns:
      The Material to display