aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/me/shedaniel/rei/api/REIPluginEntry.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/REIPluginEntry.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/REIPluginEntry.java')
-rw-r--r--src/main/java/me/shedaniel/rei/api/REIPluginEntry.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main/java/me/shedaniel/rei/api/REIPluginEntry.java b/src/main/java/me/shedaniel/rei/api/REIPluginEntry.java
index 8651c6751..cdc5574cf 100644
--- a/src/main/java/me/shedaniel/rei/api/REIPluginEntry.java
+++ b/src/main/java/me/shedaniel/rei/api/REIPluginEntry.java
@@ -5,6 +5,8 @@
package me.shedaniel.rei.api;
+import net.fabricmc.loader.api.SemanticVersion;
+import net.fabricmc.loader.util.version.VersionParsingException;
import net.minecraft.util.Identifier;
/**
@@ -12,6 +14,10 @@ import net.minecraft.util.Identifier;
*/
public interface REIPluginEntry {
+ default SemanticVersion getMinimumVersion() throws VersionParsingException {
+ return null;
+ }
+
/**
* Gets the priority of the plugin.
*