mirror of
https://github.com/TeamMidnightDust/MidnightLib.git
synced 2025-12-15 17:05:09 +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 {}
|
||||
|
||||
/**
|
||||
* 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 {}
|
||||
|
||||
/**
|
||||
* 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 Comment {
|
||||
boolean centered() default false;
|
||||
|
||||
Reference in New Issue
Block a user