aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/io/polyfrost/oneconfig/config/annotations/HudComponent.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/io/polyfrost/oneconfig/config/annotations/HudComponent.java')
-rw-r--r--src/main/java/io/polyfrost/oneconfig/config/annotations/HudComponent.java13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/main/java/io/polyfrost/oneconfig/config/annotations/HudComponent.java b/src/main/java/io/polyfrost/oneconfig/config/annotations/HudComponent.java
new file mode 100644
index 0000000..5e1cd62
--- /dev/null
+++ b/src/main/java/io/polyfrost/oneconfig/config/annotations/HudComponent.java
@@ -0,0 +1,13 @@
+package io.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 HudComponent {
+ String name();
+ String description() default "";
+}