From 0cc101e5cb57e62674abe421983444f79ea630fc Mon Sep 17 00:00:00 2001 From: Danielshe Date: Wed, 6 Nov 2019 21:40:11 +0800 Subject: 3.2.6 --- src/main/java/me/shedaniel/rei/api/plugins/REIPluginV0.java | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'src/main/java/me/shedaniel/rei/api/plugins/REIPluginV0.java') 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() { + } + } -- cgit