aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/me/shedaniel/rei/api/REIPlugin.java
blob: fc77f8106b1d9362661e7acc266459ae9b073b2b (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.tryParse("null"));
    }
}