aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/me/shedaniel/rei/api/REIPlugin.java
diff options
context:
space:
mode:
authorUnknown <shekwancheung0528@gmail.com>2019-03-05 22:32:29 +0800
committerUnknown <shekwancheung0528@gmail.com>2019-03-05 22:32:29 +0800
commitc9ac8fccef10d968faf9ec60d116694ef511cd14 (patch)
tree68c7029a5dc73f0290772bd0220982f8f975d679 /src/main/java/me/shedaniel/rei/api/REIPlugin.java
parent0924138bc88c1cfa8a3cee5089dc8792555e70fa (diff)
downloadRoughlyEnoughItems-c9ac8fccef10d968faf9ec60d116694ef511cd14.tar.gz
RoughlyEnoughItems-c9ac8fccef10d968faf9ec60d116694ef511cd14.tar.bz2
RoughlyEnoughItems-c9ac8fccef10d968faf9ec60d116694ef511cd14.zip
v2.3.2
Diffstat (limited to 'src/main/java/me/shedaniel/rei/api/REIPlugin.java')
-rw-r--r--src/main/java/me/shedaniel/rei/api/REIPlugin.java19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/main/java/me/shedaniel/rei/api/REIPlugin.java b/src/main/java/me/shedaniel/rei/api/REIPlugin.java
new file mode 100644
index 000000000..8dba79269
--- /dev/null
+++ b/src/main/java/me/shedaniel/rei/api/REIPlugin.java
@@ -0,0 +1,19 @@
+package me.shedaniel.rei.api;
+
+public interface REIPlugin {
+
+ default void onFirstLoad(PluginDisabler pluginDisabler) {}
+
+ void registerItems(ItemRegistry itemRegistry);
+
+ void registerPluginCategories(RecipeHelper recipeHelper);
+
+ void registerRecipeDisplays(RecipeHelper recipeHelper);
+
+ void registerSpeedCraft(RecipeHelper recipeHelper);
+
+ default int getPriority() {
+ return 0;
+ }
+
+}