Package org.bukkit
Annotation Interface Warning
This designates the warning state for a specific item.
 
 When the server settings dictate 'default' warnings, warnings are printed
 if the value() is true.
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic enumThis represents the states that server verbose for warnings may be.
- 
Optional Element SummaryOptional Elements
- 
Element Details- 
valueboolean valueThis 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
 
- 
reasonString reasonThis can provide detailed information on why the event is deprecated.- Returns:
- The reason an event is deprecated
 - Default:
- ""
 
 
-