blob: 0d14b41b08eae4d921417f2d8afd6b821f4a352a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
package dev.isxander.yacl3.platform;
import dev.isxander.yacl3.config.v2.api.ConfigClassHandler;
import dev.isxander.yacl3.config.v2.api.SerialEntry;
import dev.isxander.yacl3.config.v2.api.serializer.GsonConfigSerializerBuilder;
public class YACLConfig {
public static final ConfigClassHandler<YACLConfig> HANDLER = ConfigClassHandler.createBuilder(YACLConfig.class)
.id(YACLPlatform.rl("config"))
.serializer(config -> GsonConfigSerializerBuilder.create(config)
.setPath(YACLPlatform.getConfigDir().resolve("yacl.json5"))
.setJson5(true)
.build())
.build();
@SerialEntry
public boolean showColorPickerIndicator = true;
}
|