aboutsummaryrefslogtreecommitdiff
path: root/runtime/src/main/java/me/shedaniel/rei/PluginDetector.java
diff options
context:
space:
mode:
authorshedaniel <daniel@shedaniel.me>2021-02-28 02:07:47 +0800
committershedaniel <daniel@shedaniel.me>2021-02-28 02:07:47 +0800
commit69d386214f5d3471a3ef1e5533037cdc32648c57 (patch)
treea78d97ca416909ce68c3e5c11e1a1412e6fc174e /runtime/src/main/java/me/shedaniel/rei/PluginDetector.java
parent542eb5154ebce387312ca3691f743b89e4aef99e (diff)
downloadRoughlyEnoughItems-69d386214f5d3471a3ef1e5533037cdc32648c57.tar.gz
RoughlyEnoughItems-69d386214f5d3471a3ef1e5533037cdc32648c57.tar.bz2
RoughlyEnoughItems-69d386214f5d3471a3ef1e5533037cdc32648c57.zip
Port to Architectury Multiloader
Signed-off-by: shedaniel <daniel@shedaniel.me>
Diffstat (limited to 'runtime/src/main/java/me/shedaniel/rei/PluginDetector.java')
-rw-r--r--runtime/src/main/java/me/shedaniel/rei/PluginDetector.java18
1 files changed, 18 insertions, 0 deletions
diff --git a/runtime/src/main/java/me/shedaniel/rei/PluginDetector.java b/runtime/src/main/java/me/shedaniel/rei/PluginDetector.java
new file mode 100644
index 000000000..5e6de2399
--- /dev/null
+++ b/runtime/src/main/java/me/shedaniel/rei/PluginDetector.java
@@ -0,0 +1,18 @@
+package me.shedaniel.rei;
+
+import me.shedaniel.architectury.annotations.ExpectPlatform;
+import net.fabricmc.api.EnvType;
+import net.fabricmc.api.Environment;
+
+public class PluginDetector {
+ @ExpectPlatform
+ public static void detectServerPlugins() {
+ throw new AssertionError();
+ }
+
+ @Environment(EnvType.CLIENT)
+ @ExpectPlatform
+ public static void detectClientPlugins() {
+ throw new AssertionError();
+ }
+}