aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/me/shedaniel/rei/api/REIPluginEntry.java
blob: 8651c6751f77b9ddd9e5c9d185b2b242eab9582c (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
/*
 * Roughly Enough Items by Danielshe.
 * Licensed under the MIT License.
 */

package me.shedaniel.rei.api;

import net.minecraft.util.Identifier;

/**
 * Get base class of a REI plugin.
 */
public interface REIPluginEntry {
    
    /**
     * 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();
    
}