mirror of
https://github.com/TeamMidnightDust/MidnightLib.git
synced 2025-12-16 09:15:10 +01:00
added javadocs for Server and Hidden annotations.
This commit is contained in:
@@ -555,7 +555,17 @@ public abstract class MidnightConfig {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Retention(RetentionPolicy.RUNTIME) @Target(ElementType.FIELD) public @interface Client {}
|
@Retention(RetentionPolicy.RUNTIME) @Target(ElementType.FIELD) public @interface Client {}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Hides the entry on singleplayer/client-side.
|
||||||
|
* Accessible through{@code /midnightconfig MOD_ID ENTRY} and through directly editing the config file.
|
||||||
|
*/
|
||||||
@Retention(RetentionPolicy.RUNTIME) @Target(ElementType.FIELD) public @interface Server {}
|
@Retention(RetentionPolicy.RUNTIME) @Target(ElementType.FIELD) public @interface Server {}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Hides the entry entirely.
|
||||||
|
* Accessible only through directly editing the config file.
|
||||||
|
*/
|
||||||
@Retention(RetentionPolicy.RUNTIME) @Target(ElementType.FIELD) public @interface Hidden {}
|
@Retention(RetentionPolicy.RUNTIME) @Target(ElementType.FIELD) public @interface Hidden {}
|
||||||
@Retention(RetentionPolicy.RUNTIME) @Target(ElementType.FIELD) public @interface Comment {
|
@Retention(RetentionPolicy.RUNTIME) @Target(ElementType.FIELD) public @interface Comment {
|
||||||
boolean centered() default false;
|
boolean centered() default false;
|
||||||
|
|||||||
Reference in New Issue
Block a user