aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/me/shedaniel/rei/api/plugins/REIPluginV0.java
diff options
context:
space:
mode:
authorDanielshe <shekwancheung0528@gmail.com>2019-11-06 21:40:11 +0800
committerDanielshe <shekwancheung0528@gmail.com>2019-11-06 21:40:15 +0800
commit0cc101e5cb57e62674abe421983444f79ea630fc (patch)
treeb3d1c4c1853a3e9d60ae2857e7aa1b5430f2f559 /src/main/java/me/shedaniel/rei/api/plugins/REIPluginV0.java
parentd26cb24ffffc1e6063a2dd1053ccbc886c60767f (diff)
downloadRoughlyEnoughItems-0cc101e5cb57e62674abe421983444f79ea630fc.tar.gz
RoughlyEnoughItems-0cc101e5cb57e62674abe421983444f79ea630fc.tar.bz2
RoughlyEnoughItems-0cc101e5cb57e62674abe421983444f79ea630fc.zip
3.2.6
Diffstat (limited to 'src/main/java/me/shedaniel/rei/api/plugins/REIPluginV0.java')
-rw-r--r--src/main/java/me/shedaniel/rei/api/plugins/REIPluginV0.java11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/main/java/me/shedaniel/rei/api/plugins/REIPluginV0.java b/src/main/java/me/shedaniel/rei/api/plugins/REIPluginV0.java
index 22ad3af01..1c4a5c2a4 100644
--- a/src/main/java/me/shedaniel/rei/api/plugins/REIPluginV0.java
+++ b/src/main/java/me/shedaniel/rei/api/plugins/REIPluginV0.java
@@ -9,16 +9,17 @@ import me.shedaniel.rei.api.DisplayHelper;
import me.shedaniel.rei.api.EntryRegistry;
import me.shedaniel.rei.api.REIPluginEntry;
import me.shedaniel.rei.api.RecipeHelper;
+import me.shedaniel.rei.api.annotations.ToBeRemoved;
import net.fabricmc.loader.api.SemanticVersion;
import net.fabricmc.loader.util.version.VersionParsingException;
public interface REIPluginV0 extends REIPluginEntry {
- SemanticVersion getMinimumVersion() throws VersionParsingException;
-
/**
* On register of the plugin
*/
+ @ToBeRemoved
+ @Deprecated
default void onFirstLoad() {
}
@@ -62,4 +63,10 @@ public interface REIPluginV0 extends REIPluginEntry {
default void registerOthers(RecipeHelper recipeHelper) {
}
+ default void preRegister() {
+ }
+
+ default void postRegister() {
+ }
+
}