aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/me/shedaniel/rei/api/ConfigManager.java
blob: d234291424c40d4f76d56e8466b72bac287aace7 (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
package me.shedaniel.rei.api;

import me.shedaniel.rei.client.ConfigObject;
import net.minecraft.client.gui.Screen;

import java.io.IOException;

public interface ConfigManager {
    
    void saveConfig() throws IOException;
    
    void loadConfig() throws IOException;
    
    ConfigObject getConfig();
    
    boolean isCraftableOnlyEnabled();
    
    void toggleCraftableOnly();
    
    void openConfigScreen(Screen parent);
    
    Screen getConfigScreen(Screen parent);
    
}