blob: df7a21a174a3f049fad219f8577c55341d26bd67 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
/*
* Roughly Enough Items by Danielshe.
* Licensed under the MIT License.
*/
package me.shedaniel.rei.api;
import net.fabricmc.loader.api.SemanticVersion;
import net.fabricmc.loader.util.version.VersionParsingException;
import net.minecraft.util.Identifier;
import org.jetbrains.annotations.ApiStatus;
/**
* Get base class of a REI plugin.
*/
public interface REIPluginEntry {
@ApiStatus.OverrideOnly
default SemanticVersion getMinimumVersion() throws VersionParsingException {
return null;
}
/**
* Gets the priority of the plugin.
*
* @return the priority
*/
default int getPriority() {
return 0;
}
/**
* Get the identifier of the plugin
*
* @return the identifier
*/
Identifier getPluginIdentifier();
}
|