aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/me/shedaniel/rei/api/REIPluginEntry.java
diff options
context:
space:
mode:
authorshedaniel <daniel@shedaniel.me>2020-03-07 03:10:43 +0800
committershedaniel <daniel@shedaniel.me>2020-03-07 03:10:43 +0800
commit250159221c07f884252a37daf00c74f41cf69d52 (patch)
tree702aef7062c1d7a8ddfcfa686076e55030bb334f /src/main/java/me/shedaniel/rei/api/REIPluginEntry.java
parent12223ae029f3d206ebb19ba0cd134e3c36827315 (diff)
downloadRoughlyEnoughItems-250159221c07f884252a37daf00c74f41cf69d52.tar.gz
RoughlyEnoughItems-250159221c07f884252a37daf00c74f41cf69d52.tar.bz2
RoughlyEnoughItems-250159221c07f884252a37daf00c74f41cf69d52.zip
stuff
Signed-off-by: shedaniel <daniel@shedaniel.me>
Diffstat (limited to 'src/main/java/me/shedaniel/rei/api/REIPluginEntry.java')
-rw-r--r--src/main/java/me/shedaniel/rei/api/REIPluginEntry.java12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/main/java/me/shedaniel/rei/api/REIPluginEntry.java b/src/main/java/me/shedaniel/rei/api/REIPluginEntry.java
index f7bd91367..220318753 100644
--- a/src/main/java/me/shedaniel/rei/api/REIPluginEntry.java
+++ b/src/main/java/me/shedaniel/rei/api/REIPluginEntry.java
@@ -33,6 +33,10 @@ import org.jetbrains.annotations.ApiStatus;
*/
public interface REIPluginEntry {
+ /**
+ * @return the minimum version for the REI plugin to load
+ * @deprecated deprecated due to the lack of need of this method, please declare conflicts with fabric.mod.json
+ */
@ApiStatus.ScheduledForRemoval
@Deprecated
default SemanticVersion getMinimumVersion() throws VersionParsingException {
@@ -40,18 +44,14 @@ public interface REIPluginEntry {
}
/**
- * Gets the priority of the plugin.
- *
- * @return the priority
+ * @return the priority of the plugin, the smaller the number, the earlier it is called.
*/
default int getPriority() {
return 0;
}
/**
- * Get the identifier of the plugin
- *
- * @return the identifier
+ * @return the unique identifier of the plugin.
*/
Identifier getPluginIdentifier();