aboutsummaryrefslogtreecommitdiff
path: root/versions/1.8.9-forge/api/1.8.9-forge.api
diff options
context:
space:
mode:
authorWyvest <45589059+Wyvest@users.noreply.github.com>2022-07-16 22:06:35 +0900
committerGitHub <noreply@github.com>2022-07-16 22:06:35 +0900
commit153558c19436c6945a5ac534b035b4e3ced1bcaa (patch)
tree7645b2e1dcae0fd76177c1f811bb91ad5afc5ccb /versions/1.8.9-forge/api/1.8.9-forge.api
parentdd540a76db067e7f6fe06e882f49fcf5c2b97fe2 (diff)
downloadOneConfig-153558c19436c6945a5ac534b035b4e3ced1bcaa.tar.gz
OneConfig-153558c19436c6945a5ac534b035b4e3ced1bcaa.tar.bz2
OneConfig-153558c19436c6945a5ac534b035b4e3ced1bcaa.zip
Kotlin Language Adapter (1.12-) (#56)
"An adapter for FML to allow for the use of Kotlin objects as a mod class. This is not required if you use a Kotlin class, only if you use a Kotlin object."
Diffstat (limited to 'versions/1.8.9-forge/api/1.8.9-forge.api')
-rw-r--r--versions/1.8.9-forge/api/1.8.9-forge.api8
1 files changed, 8 insertions, 0 deletions
diff --git a/versions/1.8.9-forge/api/1.8.9-forge.api b/versions/1.8.9-forge/api/1.8.9-forge.api
index eb43749..da98be5 100644
--- a/versions/1.8.9-forge/api/1.8.9-forge.api
+++ b/versions/1.8.9-forge/api/1.8.9-forge.api
@@ -76,6 +76,14 @@ public class cc/polyfrost/oneconfig/platform/impl/ServerPlatformImpl : cc/polyfr
public fun inMultiplayer ()Z
}
+public final class cc/polyfrost/oneconfig/utils/KotlinLanguageAdapter : net/minecraftforge/fml/common/ILanguageAdapter {
+ public fun <init> ()V
+ public fun getNewInstance (Lnet/minecraftforge/fml/common/FMLModContainer;Ljava/lang/Class;Ljava/lang/ClassLoader;Ljava/lang/reflect/Method;)Ljava/lang/Object;
+ public fun setInternalProxies (Lnet/minecraftforge/fml/common/ModContainer;Lnet/minecraftforge/fml/relauncher/Side;Ljava/lang/ClassLoader;)V
+ public fun setProxy (Ljava/lang/reflect/Field;Ljava/lang/Class;Ljava/lang/Object;)V
+ public fun supportsStatics ()Z
+}
+
public class cc/polyfrost/oneconfig/utils/commands/PlatformCommandManagerImpl : cc/polyfrost/oneconfig/utils/commands/PlatformCommandManager {
public fun <init> ()V
public fun createCommand (Lcc/polyfrost/oneconfig/utils/commands/CommandManager$InternalCommand;Lcc/polyfrost/oneconfig/utils/commands/annotations/Command;)V