blob: ef7e9b1600ae860927095ad7e67691e055280fab (
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
|
/*
* Roughly Enough Items by Danielshe.
* Licensed under the MIT License.
*/
package me.shedaniel.rei;
import io.github.prospector.modmenu.api.ModMenuApi;
import me.shedaniel.rei.api.ConfigManager;
import net.minecraft.client.gui.screen.Screen;
import java.util.function.Function;
public class REIModMenuEntryPoint implements ModMenuApi {
@Override
public String getModId() {
return "roughlyenoughitems";
}
@Override
public Function<Screen, ? extends Screen> getConfigScreenFactory() {
return parent -> ConfigManager.getInstance().getConfigScreen(parent);
}
}
|