From 69d386214f5d3471a3ef1e5533037cdc32648c57 Mon Sep 17 00:00:00 2001 From: shedaniel Date: Sun, 28 Feb 2021 02:07:47 +0800 Subject: Port to Architectury Multiloader Signed-off-by: shedaniel --- .../src/main/java/me/shedaniel/rei/PluginDetector.java | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 runtime/src/main/java/me/shedaniel/rei/PluginDetector.java (limited to 'runtime/src/main/java/me/shedaniel/rei/PluginDetector.java') 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(); + } +} -- cgit