aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/me/shedaniel/rei/api/REIPlugin.java
blob: 372c9e23fd214c10e54d3a2b9e27b8b16da8374c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/*
 * Roughly Enough Items by Danielshe.
 * Licensed under the MIT License.
 */

package me.shedaniel.rei.api;

import me.shedaniel.rei.RoughlyEnoughItemsCore;
import net.minecraft.util.Identifier;

/**
 * Get base class of a REI plugin.
 * This class has been replaced by {@link REIPluginEntry}
 */
@Deprecated
public interface REIPlugin extends REIPluginEntry {
    @Override
    default Identifier getPluginIdentifier() {
        return RoughlyEnoughItemsCore.getPluginIdentifier(this).orElse(Identifier.create("null"));
    }
}