aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWyvest <45589059+Wyvest@users.noreply.github.com>2022-07-05 23:46:14 +0900
committerWyvest <45589059+Wyvest@users.noreply.github.com>2022-07-05 23:46:14 +0900
commit52b87cb59eebff7826d8891a6fb52911be386f46 (patch)
treea887faa95e1e9d7a8a95c1d565898cdbf61c7ec1
parent6e8564a7b20397eb6ee2931fd831ded23ffeba69 (diff)
downloadOneConfig-52b87cb59eebff7826d8891a6fb52911be386f46.tar.gz
OneConfig-52b87cb59eebff7826d8891a6fb52911be386f46.tar.bz2
OneConfig-52b87cb59eebff7826d8891a6fb52911be386f46.zip
apiDump moment
-rw-r--r--api/OneConfig.api22
-rw-r--r--versions/1.12.2-forge/api/1.12.2-forge.api18
-rw-r--r--versions/1.16.2-forge/api/1.16.2-forge.api102
-rw-r--r--versions/1.8.9-forge/api/1.8.9-forge.api18
4 files changed, 134 insertions, 26 deletions
diff --git a/api/OneConfig.api b/api/OneConfig.api
index 4f5a3bc..c2a4b33 100644
--- a/api/OneConfig.api
+++ b/api/OneConfig.api
@@ -988,15 +988,13 @@ public class cc/polyfrost/oneconfig/platform/LoaderPlatform$ActiveMod {
}
public abstract interface class cc/polyfrost/oneconfig/platform/MousePlatform {
- public abstract fun getDWheel ()I
- public abstract fun getEventButton ()I
- public abstract fun getEventButtonState ()Z
- public abstract fun getMouseDX ()I
- public abstract fun getMouseDY ()I
- public abstract fun getMouseX ()I
- public abstract fun getMouseY ()I
+ public abstract fun getButtonState (I)I
+ public abstract fun getDWheel ()D
+ public abstract fun getMouseDX ()D
+ public abstract fun getMouseDY ()D
+ public abstract fun getMouseX ()D
+ public abstract fun getMouseY ()D
public abstract fun isButtonDown (I)Z
- public abstract fun next ()Z
}
public abstract interface class cc/polyfrost/oneconfig/platform/Platform {
@@ -1005,6 +1003,7 @@ public abstract interface class cc/polyfrost/oneconfig/platform/Platform {
public static fun getI18nPlatform ()Lcc/polyfrost/oneconfig/platform/I18nPlatform;
public static fun getInstance ()Lcc/polyfrost/oneconfig/platform/Platform;
public static fun getLoaderPlatform ()Lcc/polyfrost/oneconfig/platform/LoaderPlatform;
+ public abstract fun getMinecraftVersion ()I
public static fun getMousePlatform ()Lcc/polyfrost/oneconfig/platform/MousePlatform;
public static fun getServerPlatform ()Lcc/polyfrost/oneconfig/platform/ServerPlatform;
public abstract fun isCallingFromMinecraftThread ()Z
@@ -1249,8 +1248,11 @@ public class cc/polyfrost/oneconfig/utils/commands/CommandManager {
public fun registerCommand (Ljava/lang/Class;)V
}
-public abstract interface class cc/polyfrost/oneconfig/utils/commands/PlatformCommandManager {
- public abstract fun createCommand (Lcc/polyfrost/oneconfig/utils/commands/CommandManager$InternalCommand;Lcc/polyfrost/oneconfig/utils/commands/annotations/Command;)V
+public abstract class cc/polyfrost/oneconfig/utils/commands/PlatformCommandManager {
+ public fun <init> ()V
+ public fun handleNewParser (Lcc/polyfrost/oneconfig/utils/commands/arguments/ArgumentParser;Ljava/lang/Class;)V
+ protected fun runThroughCommandsHelp (Ljava/lang/String;Lcc/polyfrost/oneconfig/utils/commands/CommandManager$InternalCommand;Ljava/lang/StringBuilder;)V
+ protected fun sendHelpCommand (Lcc/polyfrost/oneconfig/utils/commands/CommandManager$InternalCommand;)Ljava/lang/String;
}
public abstract interface annotation class cc/polyfrost/oneconfig/utils/commands/annotations/Command : java/lang/annotation/Annotation {
diff --git a/versions/1.12.2-forge/api/1.12.2-forge.api b/versions/1.12.2-forge/api/1.12.2-forge.api
index ff8ae9e..c8b9034 100644
--- a/versions/1.12.2-forge/api/1.12.2-forge.api
+++ b/versions/1.12.2-forge/api/1.12.2-forge.api
@@ -55,19 +55,18 @@ public class cc/polyfrost/oneconfig/platform/impl/LoaderPlatformImpl : cc/polyfr
public class cc/polyfrost/oneconfig/platform/impl/MousePlatformImpl : cc/polyfrost/oneconfig/platform/MousePlatform {
public fun <init> ()V
- public fun getDWheel ()I
- public fun getEventButton ()I
- public fun getEventButtonState ()Z
- public fun getMouseDX ()I
- public fun getMouseDY ()I
- public fun getMouseX ()I
- public fun getMouseY ()I
+ public fun getButtonState (I)I
+ public fun getDWheel ()D
+ public fun getMouseDX ()D
+ public fun getMouseDY ()D
+ public fun getMouseX ()D
+ public fun getMouseY ()D
public fun isButtonDown (I)Z
- public fun next ()Z
}
public class cc/polyfrost/oneconfig/platform/impl/PlatformImpl : cc/polyfrost/oneconfig/platform/Platform {
public fun <init> ()V
+ public fun getMinecraftVersion ()I
public fun isCallingFromMinecraftThread ()Z
}
@@ -80,6 +79,9 @@ public class cc/polyfrost/oneconfig/platform/impl/ServerPlatformImpl : cc/polyfr
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
+ protected fun getParametersForInvoker (Lcc/polyfrost/oneconfig/utils/commands/CommandManager$InternalCommand$InternalCommandInvoker;I[Ljava/lang/String;)Ljava/util/List;
+ protected fun loopThroughCommands (Ljava/util/List;ILcc/polyfrost/oneconfig/utils/commands/CommandManager$InternalCommand;[Ljava/lang/String;)I
+ protected fun loopThroughCommandsTab (Ljava/util/Set;ILcc/polyfrost/oneconfig/utils/commands/CommandManager$InternalCommand;[Ljava/lang/String;)V
}
public final class cc/polyfrost/oneconfig/utils/dsl/DSLsKt {
diff --git a/versions/1.16.2-forge/api/1.16.2-forge.api b/versions/1.16.2-forge/api/1.16.2-forge.api
new file mode 100644
index 0000000..fae79fb
--- /dev/null
+++ b/versions/1.16.2-forge/api/1.16.2-forge.api
@@ -0,0 +1,102 @@
+public class cc/polyfrost/oneconfig/events/event/ChatReceiveEvent : cc/polyfrost/oneconfig/events/event/CancellableEvent {
+ public final field message Lnet/minecraft/util/text/ITextComponent;
+ public fun <init> (Lnet/minecraft/util/text/ITextComponent;)V
+ public fun getFullyUnformattedMessage ()Ljava/lang/String;
+}
+
+public class cc/polyfrost/oneconfig/events/event/ReceivePacketEvent : cc/polyfrost/oneconfig/events/event/CancellableEvent {
+ public final field packet Lnet/minecraft/network/IPacket;
+ public fun <init> (Lnet/minecraft/network/IPacket;)V
+}
+
+public class cc/polyfrost/oneconfig/events/event/ScreenOpenEvent : cc/polyfrost/oneconfig/events/event/CancellableEvent {
+ public final field screen Lnet/minecraft/client/gui/screen/Screen;
+ public fun <init> (Lnet/minecraft/client/gui/screen/Screen;)V
+}
+
+public class cc/polyfrost/oneconfig/events/event/SendPacketEvent : cc/polyfrost/oneconfig/events/event/CancellableEvent {
+ public final field packet Lnet/minecraft/network/IPacket;
+ public fun <init> (Lnet/minecraft/network/IPacket;)V
+}
+
+public class cc/polyfrost/oneconfig/events/event/TimerUpdateEvent {
+ public final field timer Lnet/minecraft/util/Timer;
+ public final field updatedDeltaTicks Z
+ public fun <init> (Lnet/minecraft/util/Timer;Z)V
+}
+
+public class cc/polyfrost/oneconfig/platform/impl/GLPlatformImpl : cc/polyfrost/oneconfig/platform/GLPlatform {
+ public fun <init> ()V
+ public fun drawRect (FFFFI)V
+ public fun drawText (Lcc/polyfrost/oneconfig/libs/universal/UMatrixStack;Ljava/lang/String;FFIZ)F
+ public fun enableStencil ()V
+ public fun getStringWidth (Ljava/lang/String;)I
+}
+
+public class cc/polyfrost/oneconfig/platform/impl/GuiPlatformImpl : cc/polyfrost/oneconfig/platform/GuiPlatform {
+ public fun <init> ()V
+ public fun getCurrentScreen ()Ljava/lang/Object;
+ public fun isInChat ()Z
+ public fun isInDebug ()Z
+ public fun setCurrentScreen (Ljava/lang/Object;)V
+}
+
+public class cc/polyfrost/oneconfig/platform/impl/I18nPlatformImpl : cc/polyfrost/oneconfig/platform/I18nPlatform {
+ public fun <init> ()V
+ public fun format (Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
+}
+
+public class cc/polyfrost/oneconfig/platform/impl/LoaderPlatformImpl : cc/polyfrost/oneconfig/platform/LoaderPlatform {
+ public fun <init> ()V
+ public fun getActiveModContainer ()Lcc/polyfrost/oneconfig/platform/LoaderPlatform$ActiveMod;
+ public fun hasActiveModContainer ()Z
+ public fun isModLoaded (Ljava/lang/String;)Z
+}
+
+public class cc/polyfrost/oneconfig/platform/impl/MousePlatformImpl : cc/polyfrost/oneconfig/platform/MousePlatform {
+ public fun <init> ()V
+ public fun getButtonState (I)I
+ public fun getDWheel ()D
+ public fun getMouseDX ()D
+ public fun getMouseDY ()D
+ public fun getMouseX ()D
+ public fun getMouseY ()D
+ public fun isButtonDown (I)Z
+}
+
+public class cc/polyfrost/oneconfig/platform/impl/PlatformImpl : cc/polyfrost/oneconfig/platform/Platform {
+ public fun <init> ()V
+ public fun getMinecraftVersion ()I
+ public fun isCallingFromMinecraftThread ()Z
+}
+
+public class cc/polyfrost/oneconfig/platform/impl/ServerPlatformImpl : cc/polyfrost/oneconfig/platform/ServerPlatform {
+ public fun <init> ()V
+ public fun getServerBrand ()Ljava/lang/String;
+ public fun inMultiplayer ()Z
+}
+
+public class cc/polyfrost/oneconfig/utils/commands/PlatformCommandManagerImpl : cc/polyfrost/oneconfig/utils/commands/PlatformCommandManager {
+ public fun <init> ()V
+ public fun handleNewParser (Lcc/polyfrost/oneconfig/utils/commands/arguments/ArgumentParser;Ljava/lang/Class;)V
+}
+
+public final class cc/polyfrost/oneconfig/utils/dsl/DSLsKt {
+ public static final fun getMc ()Lnet/minecraft/client/Minecraft;
+}
+
+public final class cc/polyfrost/oneconfig/utils/dsl/GuiUtilsDSLKt {
+ public static final fun openScreen (Lnet/minecraft/client/gui/screen/Screen;I)V
+ public static synthetic fun openScreen$default (Lnet/minecraft/client/gui/screen/Screen;IILjava/lang/Object;)V
+}
+
+public final class cc/polyfrost/oneconfig/utils/gui/GuiUtils {
+ public fun <init> ()V
+ public static fun closeScreen ()V
+ public static fun displayScreen (Ljava/lang/Object;)V
+ public static fun displayScreen (Lnet/minecraft/client/gui/screen/Screen;)V
+ public static fun displayScreen (Lnet/minecraft/client/gui/screen/Screen;I)V
+ public static fun getDeltaTime ()F
+ public static fun getScreenQueue ()Ljava/util/Deque;
+}
+
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 e34201e..eb43749 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
@@ -55,19 +55,18 @@ public class cc/polyfrost/oneconfig/platform/impl/LoaderPlatformImpl : cc/polyfr
public class cc/polyfrost/oneconfig/platform/impl/MousePlatformImpl : cc/polyfrost/oneconfig/platform/MousePlatform {
public fun <init> ()V
- public fun getDWheel ()I
- public fun getEventButton ()I
- public fun getEventButtonState ()Z
- public fun getMouseDX ()I
- public fun getMouseDY ()I
- public fun getMouseX ()I
- public fun getMouseY ()I
+ public fun getButtonState (I)I
+ public fun getDWheel ()D
+ public fun getMouseDX ()D
+ public fun getMouseDY ()D
+ public fun getMouseX ()D
+ public fun getMouseY ()D
public fun isButtonDown (I)Z
- public fun next ()Z
}
public class cc/polyfrost/oneconfig/platform/impl/PlatformImpl : cc/polyfrost/oneconfig/platform/Platform {
public fun <init> ()V
+ public fun getMinecraftVersion ()I
public fun isCallingFromMinecraftThread ()Z
}
@@ -80,6 +79,9 @@ public class cc/polyfrost/oneconfig/platform/impl/ServerPlatformImpl : cc/polyfr
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
+ protected fun getParametersForInvoker (Lcc/polyfrost/oneconfig/utils/commands/CommandManager$InternalCommand$InternalCommandInvoker;I[Ljava/lang/String;)Ljava/util/List;
+ protected fun loopThroughCommands (Ljava/util/List;ILcc/polyfrost/oneconfig/utils/commands/CommandManager$InternalCommand;[Ljava/lang/String;)I
+ protected fun loopThroughCommandsTab (Ljava/util/Set;ILcc/polyfrost/oneconfig/utils/commands/CommandManager$InternalCommand;[Ljava/lang/String;)V
}
public final class cc/polyfrost/oneconfig/utils/dsl/DSLsKt {