aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/me/shedaniel/rei/api/ConfigManager.java
blob: 781c34143c5aa19b015560a94ae596b17f2f016b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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);
    
}