mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2025-01-25 01:21:21 +01:00
Added explicit @since annotation
This commit is contained in:
parent
3746349e22
commit
10a73e66b4
@ -32,10 +32,10 @@ public interface WorldSettings extends ConfigObject {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @return default rank settings for new islands
|
* @return default rank settings for new islands
|
||||||
* @deprecated since 1.21
|
* @deprecated Map of Flag, Integer does not allow to load other plugin/addon flags.
|
||||||
* Map of Flag, Integer does not allow to load other plugin/addon flags.
|
|
||||||
* It cannot be replaced with Map of String, Integer due to compatibility issues.
|
* It cannot be replaced with Map of String, Integer due to compatibility issues.
|
||||||
* @see WorldSettings#getDefaultIslandFlagNames()
|
* @see WorldSettings#getDefaultIslandFlagNames()
|
||||||
|
* @since 1.21.0
|
||||||
*/
|
*/
|
||||||
@Deprecated
|
@Deprecated
|
||||||
Map<Flag, Integer> getDefaultIslandFlags();
|
Map<Flag, Integer> getDefaultIslandFlags();
|
||||||
@ -57,10 +57,10 @@ public interface WorldSettings extends ConfigObject {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @return default settings for new
|
* @return default settings for new
|
||||||
* @deprecated since 1.21
|
* @deprecated Map of Flag, Integer does not allow to load other plugin/addon flags.
|
||||||
* Map of Flag, Integer does not allow to load other plugin/addon flags.
|
|
||||||
* It cannot be replaced with Map of String, Integer due to compatibility issues.
|
* It cannot be replaced with Map of String, Integer due to compatibility issues.
|
||||||
* @see WorldSettings#getDefaultIslandSettingNames()
|
* @see WorldSettings#getDefaultIslandSettingNames()
|
||||||
|
* @since 1.21.0
|
||||||
*/
|
*/
|
||||||
@Deprecated
|
@Deprecated
|
||||||
Map<Flag, Integer> getDefaultIslandSettings();
|
Map<Flag, Integer> getDefaultIslandSettings();
|
||||||
@ -70,7 +70,7 @@ public interface WorldSettings extends ConfigObject {
|
|||||||
* This is necessary so users could specify any flag names in settings file from other plugins and addons.
|
* This is necessary so users could specify any flag names in settings file from other plugins and addons.
|
||||||
* Otherwise, Flag reader would mark flag as invalid and remove it.
|
* Otherwise, Flag reader would mark flag as invalid and remove it.
|
||||||
* Default implementation is compatibility layer so GameModes that are not upgraded still works.
|
* Default implementation is compatibility layer so GameModes that are not upgraded still works.
|
||||||
* @since 1.21
|
* @since 1.21.0
|
||||||
* @return default settings for new islands.
|
* @return default settings for new islands.
|
||||||
*/
|
*/
|
||||||
default Map<String, Integer> getDefaultIslandSettingNames()
|
default Map<String, Integer> getDefaultIslandSettingNames()
|
||||||
@ -599,7 +599,7 @@ public interface WorldSettings extends ConfigObject {
|
|||||||
default boolean isMakeEndPortals() {
|
default boolean isMakeEndPortals() {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Check for blocks when searching for a new island. This is a safety net check that does a look
|
* Check for blocks when searching for a new island. This is a safety net check that does a look
|
||||||
* around the new island location (3x3x3 block check). If any non-air or non-water blocks are found
|
* around the new island location (3x3x3 block check). If any non-air or non-water blocks are found
|
||||||
|
Loading…
Reference in New Issue
Block a user