From 813f3193c6d017701948d32caa9c5b7ed07d083d Mon Sep 17 00:00:00 2001 From: DeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com> Date: Tue, 7 Jun 2022 17:56:57 +0200 Subject: finish config system rewrite --- .../cc/polyfrost/oneconfig/config/annotations/HUD.java | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 src/main/java/cc/polyfrost/oneconfig/config/annotations/HUD.java (limited to 'src/main/java/cc/polyfrost/oneconfig/config/annotations/HUD.java') diff --git a/src/main/java/cc/polyfrost/oneconfig/config/annotations/HUD.java b/src/main/java/cc/polyfrost/oneconfig/config/annotations/HUD.java new file mode 100644 index 0000000..7bb1903 --- /dev/null +++ b/src/main/java/cc/polyfrost/oneconfig/config/annotations/HUD.java @@ -0,0 +1,16 @@ +package cc.polyfrost.oneconfig.config.annotations; + +import java.lang.annotation.ElementType; +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; +import java.lang.annotation.Target; + +@Retention(RetentionPolicy.RUNTIME) +@Target(ElementType.FIELD) +public @interface HUD { + String name(); + + String category() default "General"; + + String subcategory() default ""; +} -- cgit