Skip to content

Commit fe240cc

Browse files
Sync LunarClient Mods & Options
1 parent 1f263d8 commit fe240cc

File tree

8 files changed

+80
-16
lines changed

8 files changed

+80
-16
lines changed

api/src/main/java/com/lunarclient/apollo/mods/impl/ModHypixelMod.java

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,16 @@ public final class ModHypixelMod {
174174
.notifyClient()
175175
.build();
176176

177+
/**
178+
* No documentation available.
179+
*
180+
* @since %release_version%
181+
*/
182+
public static final SimpleOption<Boolean> USE_BEDWARS_LEVELS_FORMAT = SimpleOption.<Boolean>builder()
183+
.node("hypixel-mod", "use-bedwars-levels-format").type(TypeToken.get(Boolean.class))
184+
.notifyClient()
185+
.build();
186+
177187
/**
178188
* No documentation available.
179189
*

api/src/main/java/com/lunarclient/apollo/mods/impl/ModMotionBlur.java

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,9 @@ public final class ModMotionBlur {
4949
*
5050
* @since 1.0.0
5151
*/
52-
public static final SimpleOption<Boolean> OLD_BLUR = SimpleOption.<Boolean>builder()
53-
.node("motion-blur", "old-blur").type(TypeToken.get(Boolean.class))
52+
public static final NumberOption<Integer> VALUE = NumberOption.<Integer>number()
53+
.node("motion-blur", "value").type(TypeToken.get(Integer.class))
54+
.min(1).max(10)
5455
.notifyClient()
5556
.build();
5657

@@ -59,9 +60,9 @@ public final class ModMotionBlur {
5960
*
6061
* @since 1.0.0
6162
*/
62-
public static final NumberOption<Integer> VALUE = NumberOption.<Integer>number()
63-
.node("motion-blur", "value").type(TypeToken.get(Integer.class))
64-
.min(1).max(10)
63+
@Deprecated
64+
public static final SimpleOption<Boolean> OLD_BLUR = SimpleOption.<Boolean>builder()
65+
.node("motion-blur", "old-blur").type(TypeToken.get(Boolean.class))
6566
.notifyClient()
6667
.build();
6768

api/src/main/java/com/lunarclient/apollo/mods/impl/ModOneSevenVisuals.java

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,17 @@ public final class ModOneSevenVisuals {
4343
.notifyClient()
4444
.build();
4545

46+
/**
47+
* Provides better visual feedback when attacking while keeping vanilla behavior.
48+
*
49+
* @since %release_version%
50+
*/
51+
public static final SimpleOption<Boolean> ALWAYS_SWING = SimpleOption.<Boolean>builder()
52+
.comment("Provides better visual feedback when attacking while keeping vanilla behavior")
53+
.node("one-seven-visuals", "always-swing").type(TypeToken.get(Boolean.class))
54+
.notifyClient()
55+
.build();
56+
4657
private ModOneSevenVisuals() {
4758
}
4859

api/src/main/java/com/lunarclient/apollo/mods/impl/ModTimeChanger.java

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public final class ModTimeChanger {
5151
*/
5252
public static final NumberOption<Integer> TIME_CHANGER_TIME = NumberOption.<Integer>number()
5353
.node("time-changer", "time-changer-time").type(TypeToken.get(Integer.class))
54-
.min(-18000).max(-6000)
54+
.min(0).max(24000)
5555
.notifyClient()
5656
.build();
5757

@@ -76,6 +76,27 @@ public final class ModTimeChanger {
7676
.notifyClient()
7777
.build();
7878

79+
/**
80+
* No documentation available.
81+
*
82+
* @since %release_version%
83+
*/
84+
public static final SimpleOption<Boolean> TIME_PASSAGE = SimpleOption.<Boolean>builder()
85+
.node("time-changer", "time-passage").type(TypeToken.get(Boolean.class))
86+
.notifyClient()
87+
.build();
88+
89+
/**
90+
* No documentation available.
91+
*
92+
* @since %release_version%
93+
*/
94+
public static final NumberOption<Integer> SPEED = NumberOption.<Integer>number()
95+
.node("time-changer", "speed").type(TypeToken.get(Integer.class))
96+
.min(0).max(20)
97+
.notifyClient()
98+
.build();
99+
79100
private ModTimeChanger() {
80101
}
81102

docs/developers/mods/hypixelmod.mdx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,12 @@ public void toggleHypixelModsExample(Player viewer, boolean value) {
9999
- Type: `Boolean`
100100
- Default: `false`
101101

102+
- __`USE_BEDWARS_LEVELS_FORMAT`__
103+
- Config Key: `use-bedwars-levels-format`
104+
- Values
105+
- Type: `Boolean`
106+
- Default: `true`
107+
102108
- __`HIDE_PRIVATE_MESSAGES`__
103109
- Config Key: `hide-private-messages`
104110
- Values

docs/developers/mods/motionblur.mdx

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,17 +21,11 @@ public void toggleMotionBlurExample(Player viewer, boolean value) {
2121
- Type: `Boolean`
2222
- Default: `false`
2323

24-
- __`OLD_BLUR`__
25-
- Config Key: `old-blur`
26-
- Values
27-
- Type: `Boolean`
28-
- Default: `false`
29-
3024
- __`VALUE`__
3125
- Config Key: `value`
3226
- Values
3327
- Type: `Integer`
34-
- Default: `1`
28+
- Default: `5`
3529
- Minimum: `1`
3630
- Maximum: `10`
3731

docs/developers/mods/onesevenvisuals.mdx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,10 @@ public void toggle17VisualsExample(Player viewer, boolean value) {
2121
- Type: `Boolean`
2222
- Default: `true`
2323

24+
- __`ALWAYS_SWING`__
25+
- Provides better visual feedback when attacking while keeping vanilla behavior
26+
- Config Key: `always-swing`
27+
- Values
28+
- Type: `Boolean`
29+
- Default: `true`
30+

docs/developers/mods/timechanger.mdx

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ public void toggleTimeChangerExample(Player viewer, boolean value) {
2525
- Config Key: `time-changer-time`
2626
- Values
2727
- Type: `Integer`
28-
- Default: `-12000`
29-
- Minimum: `-18000`
30-
- Maximum: `-6000`
28+
- Default: `12000`
29+
- Minimum: `0`
30+
- Maximum: `24000`
3131

3232
- __`HORIZON_YLEVEL`__
3333
- Config Key: `horizon-y-level`
@@ -43,3 +43,17 @@ public void toggleTimeChangerExample(Player viewer, boolean value) {
4343
- Type: `Boolean`
4444
- Default: `false`
4545

46+
- __`TIME_PASSAGE`__
47+
- Config Key: `time-passage`
48+
- Values
49+
- Type: `Boolean`
50+
- Default: `false`
51+
52+
- __`SPEED`__
53+
- Config Key: `speed`
54+
- Values
55+
- Type: `Integer`
56+
- Default: `1`
57+
- Minimum: `0`
58+
- Maximum: `20`
59+

0 commit comments

Comments
 (0)