From 7a1cf35934ef14c04f884fe6ae34282e1d6243ba Mon Sep 17 00:00:00 2001 From: shedaniel Date: Fri, 17 Jan 2020 14:31:30 +0800 Subject: 3.3.12 --- src/main/java/me/shedaniel/rei/api/plugins/REIPluginV0.java | 9 +++++++++ 1 file changed, 9 insertions(+) (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 708bab589..e0776ba5e 100644 --- a/src/main/java/me/shedaniel/rei/api/plugins/REIPluginV0.java +++ b/src/main/java/me/shedaniel/rei/api/plugins/REIPluginV0.java @@ -9,7 +9,9 @@ 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 org.jetbrains.annotations.ApiStatus; +@ApiStatus.OverrideOnly public interface REIPluginV0 extends REIPluginEntry { /** @@ -17,6 +19,7 @@ public interface REIPluginV0 extends REIPluginEntry { * * @param entryRegistry the helper class */ + @ApiStatus.OverrideOnly default void registerEntries(EntryRegistry entryRegistry) { } @@ -25,6 +28,7 @@ public interface REIPluginV0 extends REIPluginEntry { * * @param recipeHelper the helper class */ + @ApiStatus.OverrideOnly default void registerPluginCategories(RecipeHelper recipeHelper) { } @@ -33,6 +37,7 @@ public interface REIPluginV0 extends REIPluginEntry { * * @param recipeHelper the helper class */ + @ApiStatus.OverrideOnly default void registerRecipeDisplays(RecipeHelper recipeHelper) { } @@ -41,6 +46,7 @@ public interface REIPluginV0 extends REIPluginEntry { * * @param displayHelper the helper class */ + @ApiStatus.OverrideOnly default void registerBounds(DisplayHelper displayHelper) { } @@ -49,12 +55,15 @@ public interface REIPluginV0 extends REIPluginEntry { * * @param recipeHelper the helper class */ + @ApiStatus.OverrideOnly default void registerOthers(RecipeHelper recipeHelper) { } + @ApiStatus.OverrideOnly default void preRegister() { } + @ApiStatus.OverrideOnly default void postRegister() { } -- cgit