@@ -32,29 +32,33 @@ public class Config implements Global {
3232 public static ConfigSettings <Boolean > noHandSwingV1 ;
3333 public static ConfigSettings <Boolean > noFoodSwing ;
3434 public static ConfigSettings <Boolean > noHandRender ;
35+ /*Secret Setting */
36+ public static ConfigSettings <Boolean > shouldCheck ;
3537
3638 public static void loadConfig () {
3739 /*First Page Settings:*/
38- mainPositionX = new ConfigSettings <>(Double . class , VMConfig .readDouble ("main-position-x" , 0.0 ));
39- mainRotationX = new ConfigSettings <>(Double . class , VMConfig .readDouble ("main-rotation-x" , 0.0 ));
40- offPositionX = new ConfigSettings <>(Double . class , VMConfig .readDouble ("off-position-x" , 0.0 ));
41- offRotationX = new ConfigSettings <>(Double . class , VMConfig .readDouble ("off-rotation-x" , 0.0 ));
42- mainPositionY = new ConfigSettings <>(Double . class , VMConfig .readDouble ("main-position-y" , 0.0 ));
43- mainRotationY = new ConfigSettings <>(Double . class , VMConfig .readDouble ("main-rotation-y" , 0.0 ));
44- offPositionY = new ConfigSettings <>(Double . class , VMConfig .readDouble ("off-position-y" , 0.0 ));
45- offRotationY = new ConfigSettings <>(Double . class , VMConfig .readDouble ("off-rotation-y" , 0.0 ));
46- mainPositionZ = new ConfigSettings <>(Double . class , VMConfig .readDouble ("main-position-z" , 0.0 ));
47- mainRotationZ = new ConfigSettings <>(Double . class , VMConfig .readDouble ("main-rotation-z" , 0.0 ));
48- offPositionZ = new ConfigSettings <>(Double . class , VMConfig .readDouble ("off-position-z" , 0.0 ));
49- offRotationZ = new ConfigSettings <>(Double . class , VMConfig .readDouble ("off-rotation-z" , 0.0 ));
40+ mainPositionX = new ConfigSettings <>(VMConfig .readDouble ("main-position-x" , 0.0 ));
41+ mainRotationX = new ConfigSettings <>(VMConfig .readDouble ("main-rotation-x" , 0.0 ));
42+ offPositionX = new ConfigSettings <>(VMConfig .readDouble ("off-position-x" , 0.0 ));
43+ offRotationX = new ConfigSettings <>(VMConfig .readDouble ("off-rotation-x" , 0.0 ));
44+ mainPositionY = new ConfigSettings <>(VMConfig .readDouble ("main-position-y" , 0.0 ));
45+ mainRotationY = new ConfigSettings <>(VMConfig .readDouble ("main-rotation-y" , 0.0 ));
46+ offPositionY = new ConfigSettings <>(VMConfig .readDouble ("off-position-y" , 0.0 ));
47+ offRotationY = new ConfigSettings <>(VMConfig .readDouble ("off-rotation-y" , 0.0 ));
48+ mainPositionZ = new ConfigSettings <>(VMConfig .readDouble ("main-position-z" , 0.0 ));
49+ mainRotationZ = new ConfigSettings <>(VMConfig .readDouble ("main-rotation-z" , 0.0 ));
50+ offPositionZ = new ConfigSettings <>(VMConfig .readDouble ("off-position-z" , 0.0 ));
51+ offRotationZ = new ConfigSettings <>(VMConfig .readDouble ("off-rotation-z" , 0.0 ));
5052 /*Second Page Settings:*/
51- handSpeedSwing = new ConfigSettings <>(Double .class , VMConfig .readDouble ("hand-speed-swing" , 4.0 ));///it was 1 - 7, from now its 0 - 5 (2 and below didnt work)
52- mainHandScale = new ConfigSettings <>(Double .class , VMConfig .readDouble ("main-hand-scale" , 1.0 ));
53- offHandScale = new ConfigSettings <>(Double .class , VMConfig .readDouble ("off-hand-scale" , 1.0 ));
54- noHandSwingV2 = new ConfigSettings <>(Boolean .class , VMConfig .readBool ("no-hand-swing-v2" , false ));
55- noHandSwingV1 = new ConfigSettings <>(Boolean .class , VMConfig .readBool ("no-hand-swing-v1" , false ));
56- noFoodSwing = new ConfigSettings <>(Boolean .class , VMConfig .readBool ("no-food-swing" , false ));
57- noHandRender = new ConfigSettings <>(Boolean .class , VMConfig .readBool ("no-hand-render" , false ));
53+ handSpeedSwing = new ConfigSettings <>(VMConfig .readDouble ("hand-speed-swing" , 4.0 ));
54+ mainHandScale = new ConfigSettings <>(VMConfig .readDouble ("main-hand-scale" , 1.0 ));
55+ offHandScale = new ConfigSettings <>(VMConfig .readDouble ("off-hand-scale" , 1.0 ));
56+ noHandSwingV2 = new ConfigSettings <>(VMConfig .readBool ("no-hand-swing-v2" , false ));
57+ noHandSwingV1 = new ConfigSettings <>(VMConfig .readBool ("no-hand-swing-v1" , false ));
58+ noFoodSwing = new ConfigSettings <>(VMConfig .readBool ("no-food-swing" , false ));
59+ noHandRender = new ConfigSettings <>(VMConfig .readBool ("no-hand-render" , false ));
60+ /*Secret Setting */
61+ shouldCheck = new ConfigSettings <>(VMConfig .readBool ("should-check" , true ));
5862 /*No Swing Logic*/
5963 if (noHandSwingV2 .getVal () && (noHandSwingV1 .getVal ())) {
6064 VMConfig .write ("no-hand-swing" , false );
0 commit comments