Package org.bukkit

Annotation Type Warning

    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      String reason
      This can provide detailed information on why the event is deprecated.
      boolean value
      This sets if the deprecation warnings when registering events gets printed when the setting is in the default state.
    • Element Detail

      • value

        boolean value
        This sets if the deprecation warnings when registering events gets printed when the setting is in the default state.
        Returns:
        false normally, or true to encourage warning printout
        Default:
        false
      • reason

        String reason
        This can provide detailed information on why the event is deprecated.
        Returns:
        The reason an event is deprecated
        Default:
        ""