Bukkit-API  1.7.9-R0.2
The inofficial Bukkit-API
org.bukkit.Warning Interface Reference


enum  WarningState

Public Member Functions

boolean value () default false
String reason () default""

Detailed Description

This designates the warning state for a specific item.

When the server settings dictate 'default' warnings, warnings are printed if the value() is true.

Definition at line 19 of file Warning.java.

Member Function Documentation

String org.bukkit.Warning.reason ( )

This can provide detailed information on why the event is deprecated.

The reason an event is deprecated
boolean org.bukkit.Warning.value ( )

This sets if the deprecation warnings when registering events gets printed when the setting is in the default state.

false normally, or true to encourage warning printout

Referenced by org.bukkit.Warning.WarningState.printFor().

The documentation for this interface was generated from the following file: