aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/io/polyfrost/oneconfig/config/data/OptionPage.java
blob: 81034046b20d8ea1e6713ff517df42861d191b9f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package io.polyfrost.oneconfig.config.data;

import java.util.LinkedHashMap;

public class OptionPage {
    public final String name;
    public final Mod mod;
    /**
     * Depth 1 = categories
     * Depth 2 = subcategories
     * Depth 3 = list of options
     */
    public final LinkedHashMap<String, OptionCategory> categories = new LinkedHashMap<>();

    public OptionPage(String name, Mod mod) {
        this.name = name;
        this.mod = mod;
    }
}