|
6 | 6 | import dev.isxander.yacl3.api.controller.*;
|
7 | 7 | import dev.isxander.yacl3.config.ConfigEntry;
|
8 | 8 | import dev.isxander.yacl3.config.v2.api.ConfigClassHandler;
|
| 9 | +import dev.isxander.yacl3.config.v2.api.SerialEntry; |
9 | 10 | import dev.isxander.yacl3.config.v2.api.serializer.GsonConfigSerializerBuilder;
|
10 | 11 | import net.minecraft.sound.SoundEvents;
|
11 | 12 | import net.minecraft.text.Style;
|
@@ -33,42 +34,42 @@ public class SeamlessLoadingScreenConfig {
|
33 | 34 | .build();
|
34 | 35 |
|
35 | 36 | //=====================
|
36 |
| - @ConfigEntry |
| 37 | + @SerialEntry |
37 | 38 | public int fade = 20;
|
38 |
| - @ConfigEntry |
| 39 | + @SerialEntry |
39 | 40 | public int time = 80;
|
40 | 41 | //=====================
|
41 |
| - @ConfigEntry |
| 42 | + @SerialEntry |
42 | 43 | public Color tintColor = new Color(0x212121);
|
43 |
| - @ConfigEntry |
| 44 | + @SerialEntry |
44 | 45 | public float tintStrength = 0.3f;
|
45 |
| - @ConfigEntry |
| 46 | + @SerialEntry |
46 | 47 | public boolean enableScreenshotBlur = false;
|
47 |
| - @ConfigEntry |
| 48 | + @SerialEntry |
48 | 49 | public float screenshotBlurStrength = 1f; //min = 1f, max = 16f
|
49 |
| - @ConfigEntry |
| 50 | + @SerialEntry |
50 | 51 | public float screenshotBlurQuality = 5f; //min = 1f, max = 16f
|
51 |
| - @ConfigEntry |
| 52 | + @SerialEntry |
52 | 53 | public boolean playSoundEffect = false;
|
53 |
| - @ConfigEntry |
| 54 | + @SerialEntry |
54 | 55 | public String soundEffect = SoundEvents.UI_TOAST_OUT.getId().toString();
|
55 |
| - @ConfigEntry |
| 56 | + @SerialEntry |
56 | 57 | public float soundPitch = 1f; //min = 0f, max = 10f
|
57 |
| - @ConfigEntry |
| 58 | + @SerialEntry |
58 | 59 | public float soundVolume = 1f; //min = 0f, max = 10f
|
59 |
| - @ConfigEntry |
| 60 | + @SerialEntry |
60 | 61 | public ScreenshotResolution resolution = ScreenshotResolution.Normal;
|
61 |
| - @ConfigEntry |
| 62 | + @SerialEntry |
62 | 63 | public boolean disableCamera = true;
|
63 |
| - @ConfigEntry |
| 64 | + @SerialEntry |
64 | 65 | public boolean archiveScreenshots = false;
|
65 |
| - @ConfigEntry |
| 66 | + @SerialEntry |
66 | 67 | public boolean updateWorldIcon = false;
|
67 |
| - @ConfigEntry |
| 68 | + @SerialEntry |
68 | 69 | public List<String> blacklistedAddresses = List.of("play.wynncraft.com");
|
69 |
| - @ConfigEntry |
| 70 | + @SerialEntry |
70 | 71 | public boolean saveScreenshotsByUsername = false;
|
71 |
| - @ConfigEntry |
| 72 | + @SerialEntry |
72 | 73 | public DisplayMode defaultServerMode = DisplayMode.DISABLED;
|
73 | 74 | //=====================
|
74 | 75 |
|
|
0 commit comments