diff options
Diffstat (limited to 'api')
-rw-r--r-- | api/OneConfig.api | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/api/OneConfig.api b/api/OneConfig.api index f99cbdc..aafb10b 100644 --- a/api/OneConfig.api +++ b/api/OneConfig.api @@ -1081,15 +1081,18 @@ public abstract interface class cc/polyfrost/oneconfig/platform/I18nPlatform { public abstract interface class cc/polyfrost/oneconfig/platform/LoaderPlatform { public abstract fun getActiveModContainer ()Lcc/polyfrost/oneconfig/platform/LoaderPlatform$ActiveMod; + public abstract fun getLoadedMods ()Ljava/util/List; public abstract fun hasActiveModContainer ()Z public abstract fun isModLoaded (Ljava/lang/String;)Z + public abstract fun toActiveMod (Ljava/lang/Object;)Lcc/polyfrost/oneconfig/platform/LoaderPlatform$ActiveMod; } public class cc/polyfrost/oneconfig/platform/LoaderPlatform$ActiveMod { public final field id Ljava/lang/String; public final field name Ljava/lang/String; + public final field source Ljava/io/File; public final field version Ljava/lang/String; - public fun <init> (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V + public fun <init> (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/io/File;)V } public abstract interface class cc/polyfrost/oneconfig/platform/MousePlatform { @@ -1136,6 +1139,7 @@ public abstract interface class cc/polyfrost/oneconfig/platform/Platform { public static fun getNanoVGPlatform ()Lcc/polyfrost/oneconfig/platform/NanoVGPlatform; public static fun getServerPlatform ()Lcc/polyfrost/oneconfig/platform/ServerPlatform; public abstract fun isCallingFromMinecraftThread ()Z + public abstract fun isDevelopmentEnvironment ()Z } public final class cc/polyfrost/oneconfig/platform/Platform$Loader : java/lang/Enum { @@ -1351,6 +1355,13 @@ public final class cc/polyfrost/oneconfig/utils/JsonUtils { public static fun parseString (Ljava/lang/String;Z)Lcom/google/gson/JsonElement; } +public class cc/polyfrost/oneconfig/utils/LogScanner { + public fun <init> ()V + public static fun identifyCallerFromStacktrace (Ljava/lang/Throwable;)Ljava/util/Set; + public static fun identifyFromClass (Ljava/lang/String;)Ljava/util/Set; + public static fun identifyFromStacktrace (Ljava/lang/Throwable;)Ljava/util/Set; +} + public final class cc/polyfrost/oneconfig/utils/MathUtils { public fun <init> ()V public static fun clamp (F)F |