From e85b11665a92e8a6bffb11b76b45ee3c97138bd2 Mon Sep 17 00:00:00 2001 From: Wyvest <45589059+Wyvest@users.noreply.github.com> Date: Tue, 28 Jun 2022 17:29:26 +0700 Subject: revert funny diamond hud stuff add ExcludeType again fix INSTANCE field stuff --- src/main/java/cc/polyfrost/oneconfig/hud/Conditional.java | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 src/main/java/cc/polyfrost/oneconfig/hud/Conditional.java (limited to 'src/main/java/cc/polyfrost/oneconfig/hud/Conditional.java') diff --git a/src/main/java/cc/polyfrost/oneconfig/hud/Conditional.java b/src/main/java/cc/polyfrost/oneconfig/hud/Conditional.java new file mode 100644 index 0000000..d9f9ca9 --- /dev/null +++ b/src/main/java/cc/polyfrost/oneconfig/hud/Conditional.java @@ -0,0 +1,12 @@ +package cc.polyfrost.oneconfig.hud; + +import cc.polyfrost.oneconfig.config.elements.BasicOption; + +import java.util.ArrayList; + +/** + * Marks that the HUD element has options to add programmatically. + */ +public interface Conditional { + void addNewOptions(String category, String subcategory, ArrayList options); +} -- cgit