Skip to content

Commit 5de4d95

Browse files
authored
Sync LunarClient Mods & Options (#169)
1 parent b71d689 commit 5de4d95

File tree

15 files changed

+148
-71
lines changed

15 files changed

+148
-71
lines changed

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

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,16 @@ public final class ModBossbar {
6666
.notifyClient()
6767
.build();
6868

69+
/**
70+
* No documentation available.
71+
*
72+
* @since 1.1.5
73+
*/
74+
public static final SimpleOption<Boolean> RENDER_BOSS_TEXT = SimpleOption.<Boolean>builder()
75+
.node("bossbar", "render-boss-text").type(TypeToken.get(Boolean.class))
76+
.notifyClient()
77+
.build();
78+
6979
/**
7080
* No documentation available.
7181
*

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -129,8 +129,8 @@ public final class ModHypixelMod {
129129
*
130130
* @since 1.0.0
131131
*/
132-
public static final SimpleOption<Boolean> HYPIXEL_AUTOCOMPLETE = SimpleOption.<Boolean>builder()
133-
.node("hypixel-mod", "hypixel-autocomplete").type(TypeToken.get(Boolean.class))
132+
public static final SimpleOption<Boolean> LEVEL_HEAD = SimpleOption.<Boolean>builder()
133+
.node("hypixel-mod", "level-head").type(TypeToken.get(Boolean.class))
134134
.notifyClient()
135135
.build();
136136

@@ -139,8 +139,8 @@ public final class ModHypixelMod {
139139
*
140140
* @since 1.0.0
141141
*/
142-
public static final SimpleOption<Boolean> LEVEL_HEAD = SimpleOption.<Boolean>builder()
143-
.node("hypixel-mod", "level-head").type(TypeToken.get(Boolean.class))
142+
public static final SimpleOption<Boolean> HYPIXEL_AUTOCOMPLETE = SimpleOption.<Boolean>builder()
143+
.node("hypixel-mod", "hypixel-autocomplete").type(TypeToken.get(Boolean.class))
144144
.notifyClient()
145145
.build();
146146

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

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,16 @@ public final class ModScoreboard {
6666
.notifyClient()
6767
.build();
6868

69+
/**
70+
* No documentation available.
71+
*
72+
* @since 1.1.5
73+
*/
74+
public static final SimpleOption<Boolean> HIDE_SCOREBOARD = SimpleOption.<Boolean>builder()
75+
.node("scoreboard", "hide-scoreboard").type(TypeToken.get(Boolean.class))
76+
.notifyClient()
77+
.build();
78+
6979
/**
7080
* No documentation available.
7181
*

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

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,28 @@ public final class ModSkyblock {
137137
.notifyClient()
138138
.build();
139139

140+
/**
141+
* Provides QOL for the Diana mayor that helps the user quickly locate burrows.
142+
*
143+
* @since 1.1.5
144+
*/
145+
public static final SimpleOption<Boolean> GRIFFIN_BURROW_ESTIMATES = SimpleOption.<Boolean>builder()
146+
.comment("Provides QOL for the Diana mayor that helps the user quickly locate burrows.")
147+
.node("skyblock", "griffin-burrow-estimates").type(TypeToken.get(Boolean.class))
148+
.notifyClient()
149+
.build();
150+
151+
/**
152+
* Makes Giant HP more visible by showing their HP at their feet.
153+
*
154+
* @since 1.1.5
155+
*/
156+
public static final SimpleOption<Boolean> SHOW_GIANT_HPAT_FEET = SimpleOption.<Boolean>builder()
157+
.comment("Makes Giant HP more visible by showing their HP at their feet.")
158+
.node("skyblock", "show-giant-h-p-at-feet").type(TypeToken.get(Boolean.class))
159+
.notifyClient()
160+
.build();
161+
140162
/**
141163
* Changes crop hitboxes with their 1.12+ variant. Only enabled on Hypixel or singleplayer.
142164
*
@@ -246,6 +268,16 @@ public final class ModSkyblock {
246268
.notifyClient()
247269
.build();
248270

271+
/**
272+
* No documentation available.
273+
*
274+
* @since 1.1.5
275+
*/
276+
public static final SimpleOption<Boolean> SHOW_KUUDRA_HEALTH = SimpleOption.<Boolean>builder()
277+
.node("skyblock", "show-kuudra-health").type(TypeToken.get(Boolean.class))
278+
.notifyClient()
279+
.build();
280+
249281
private ModSkyblock() {
250282
}
251283

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

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,27 @@ public final class ModTitles {
7777
.notifyClient()
7878
.build();
7979

80+
/**
81+
* Show title of height limit display.
82+
*
83+
* @since 1.1.5
84+
*/
85+
public static final SimpleOption<Boolean> SHOW_TITLE = SimpleOption.<Boolean>builder()
86+
.comment("Show title of height limit display")
87+
.node("titles", "show-title").type(TypeToken.get(Boolean.class))
88+
.notifyClient()
89+
.build();
90+
91+
/**
92+
* No documentation available.
93+
*
94+
* @since 1.1.5
95+
*/
96+
public static final SimpleOption<Boolean> SHOW_SUBTITLE = SimpleOption.<Boolean>builder()
97+
.node("titles", "show-subtitle").type(TypeToken.get(Boolean.class))
98+
.notifyClient()
99+
.build();
100+
80101
/**
81102
* No documentation available.
82103
*

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ public final class ModUhcOverlay {
4949
*
5050
* @since 1.0.0
5151
*/
52+
@Deprecated
5253
public static final NumberOption<Float> GOLD_INGOT_SCALE = NumberOption.<Float>number()
5354
.node("uhc-overlay", "gold-ingot-scale").type(TypeToken.get(Float.class))
5455
.min(1.0F).max(5.0F)
@@ -60,6 +61,7 @@ public final class ModUhcOverlay {
6061
*
6162
* @since 1.0.0
6263
*/
64+
@Deprecated
6365
public static final NumberOption<Float> GOLD_NUGGET_SCALE = NumberOption.<Float>number()
6466
.node("uhc-overlay", "gold-nugget-scale").type(TypeToken.get(Float.class))
6567
.min(1.0F).max(5.0F)
@@ -71,6 +73,7 @@ public final class ModUhcOverlay {
7173
*
7274
* @since 1.0.0
7375
*/
76+
@Deprecated
7477
public static final NumberOption<Float> GOLD_ORE_SCALE = NumberOption.<Float>number()
7578
.node("uhc-overlay", "gold-ore-scale").type(TypeToken.get(Float.class))
7679
.min(1.0F).max(5.0F)
@@ -82,6 +85,7 @@ public final class ModUhcOverlay {
8285
*
8386
* @since 1.0.0
8487
*/
88+
@Deprecated
8589
public static final NumberOption<Float> GOLD_APPLE_SCALE = NumberOption.<Float>number()
8690
.node("uhc-overlay", "gold-apple-scale").type(TypeToken.get(Float.class))
8791
.min(1.0F).max(5.0F)
@@ -93,6 +97,7 @@ public final class ModUhcOverlay {
9397
*
9498
* @since 1.0.0
9599
*/
100+
@Deprecated
96101
public static final NumberOption<Float> SKULL_SCALE = NumberOption.<Float>number()
97102
.node("uhc-overlay", "skull-scale").type(TypeToken.get(Float.class))
98103
.min(1.0F).max(5.0F)

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

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -54,17 +54,6 @@ public final class ModWaypoints {
5454
.notifyClient()
5555
.build();
5656

57-
/**
58-
* Adds a waypoint if coordinates are clicked in chat.
59-
*
60-
* @since 1.0.0
61-
*/
62-
public static final SimpleOption<Boolean> ADD_FROM_CHAT = SimpleOption.<Boolean>builder()
63-
.comment("Adds a waypoint if coordinates are clicked in chat.")
64-
.node("waypoints", "add-from-chat").type(TypeToken.get(Boolean.class))
65-
.notifyClient()
66-
.build();
67-
6857
/**
6958
* No documentation available.
7059
*
@@ -150,6 +139,18 @@ public final class ModWaypoints {
150139
.notifyClient()
151140
.build();
152141

142+
/**
143+
* Adds a waypoint if coordinates are clicked in chat.
144+
*
145+
* @since 1.0.0
146+
*/
147+
@Deprecated
148+
public static final SimpleOption<Boolean> ADD_FROM_CHAT = SimpleOption.<Boolean>builder()
149+
.comment("Adds a waypoint if coordinates are clicked in chat.")
150+
.node("waypoints", "add-from-chat").type(TypeToken.get(Boolean.class))
151+
.notifyClient()
152+
.build();
153+
153154
private ModWaypoints() {
154155
}
155156

docs/developers/mods/bossbar.mdx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,17 @@ public void toggleBossBarExample(Player viewer, boolean value) {
3535
- Type: `Boolean`
3636
- Default: `true`
3737

38+
- __`RENDER_BOSS_TEXT`__
39+
- Config Key: `render-boss-text`
40+
- Values
41+
- Type: `Boolean`
42+
- Default: `true`
43+
3844
- __`CUSTOM_BOSS_BAR`__
3945
- Config Key: `custom-boss-bar`
4046
- Values
4147
- Type: `Boolean`
42-
- Default: `false`
48+
- Default: `true`
4349

4450
- __`BAR_COLOR`__
4551
- Config Key: `bar-color`

docs/developers/mods/hypixelmod.mdx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -69,18 +69,18 @@ public void toggleHypixelModsExample(Player viewer, boolean value) {
6969
- Type: `Boolean`
7070
- Default: `false`
7171

72-
- __`HYPIXEL_AUTOCOMPLETE`__
73-
- Config Key: `hypixel-autocomplete`
74-
- Values
75-
- Type: `Boolean`
76-
- Default: `true`
77-
7872
- __`LEVEL_HEAD`__
7973
- Config Key: `level-head`
8074
- Values
8175
- Type: `Boolean`
8276
- Default: `false`
8377

78+
- __`HYPIXEL_AUTOCOMPLETE`__
79+
- Config Key: `hypixel-autocomplete`
80+
- Values
81+
- Type: `Boolean`
82+
- Default: `true`
83+
8484
- __`LEVEL_COLOR`__
8585
- Config Key: `level-color`
8686
- Values

docs/developers/mods/ping.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public void togglePingExample(Player viewer, boolean value) {
5252
- Config Key: `ping-prefix-color`
5353
- Values
5454
- Type: `String`
55-
- Default: `#FFAAAAAA`
55+
- Default: `#55555555`
5656

5757
- __`DYNAMIC_PING_COLOR`__
5858
- Config Key: `dynamic-ping-color`

0 commit comments

Comments
 (0)