Skip to content

Commit 3cda1cf

Browse files
Sync LunarClient Mods & Options (#153)
* Sync LunarClient Mods & Options * Update version since tags --------- Co-authored-by: LunarClient Bot <[email protected]>
1 parent 11ca7e1 commit 3cda1cf

File tree

7 files changed

+49
-1
lines changed

7 files changed

+49
-1
lines changed

api/src/main/java/com/lunarclient/apollo/mods/Mods.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,10 +134,10 @@ public final class Mods {
134134
ModCrosshair.class,
135135
ModPotionEffects.class,
136136
ModDirectionHud.class,
137-
ModTitles.class,
138137
ModWaypoints.class,
139138
ModHitColor.class,
140139
ModScoreboard.class,
140+
ModTitles.class,
141141
ModItemCounter.class,
142142
ModPing.class,
143143
ModMotionBlur.class,

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

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,16 @@ public final class ModClock {
180180
.notifyClient()
181181
.build();
182182

183+
/**
184+
* No documentation available.
185+
*
186+
* @since 1.1.3
187+
*/
188+
public static final SimpleOption<Boolean> SHOW_AM_PM = SimpleOption.<Boolean>builder()
189+
.node("clock", "show-am-pm").type(TypeToken.get(Boolean.class))
190+
.notifyClient()
191+
.build();
192+
183193
private ModClock() {
184194
}
185195

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

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

80+
/**
81+
* No documentation available.
82+
*
83+
* @since 1.1.3
84+
*/
85+
public static final SimpleOption<Boolean> PING_SHOW_MS = SimpleOption.<Boolean>builder()
86+
.node("ping", "ping-show-ms").type(TypeToken.get(Boolean.class))
87+
.notifyClient()
88+
.build();
89+
8090
/**
8191
* No documentation available.
8292
*

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

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,16 @@ public final class ModTitles {
9797
.notifyClient()
9898
.build();
9999

100+
/**
101+
* No documentation available.
102+
*
103+
* @since 1.1.3
104+
*/
105+
public static final SimpleOption<Boolean> USE_MINECRAFT_GUISCALE = SimpleOption.<Boolean>builder()
106+
.node("titles", "use-minecraft-g-u-i-scale").type(TypeToken.get(Boolean.class))
107+
.notifyClient()
108+
.build();
109+
100110
private ModTitles() {
101111
}
102112

docs/developers/mods/clock.mdx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,3 +108,9 @@ public void toggleClockExample(Player viewer, boolean value) {
108108
- Type: `Boolean`
109109
- Default: `false`
110110

111+
- __`SHOW_AM_PM`__
112+
- Config Key: `show-am-pm`
113+
- Values
114+
- Type: `Boolean`
115+
- Default: `true`
116+

docs/developers/mods/ping.mdx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,12 @@ public void togglePingExample(Player viewer, boolean value) {
4242
- Type: `Boolean`
4343
- Default: `true`
4444

45+
- __`PING_SHOW_MS`__
46+
- Config Key: `ping-show-ms`
47+
- Values
48+
- Type: `Boolean`
49+
- Default: `true`
50+
4551
- __`PING_PREFIX_COLOR`__
4652
- Config Key: `ping-prefix-color`
4753
- Values

docs/developers/mods/titles.mdx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,3 +54,9 @@ public void toggleTitlesExample(Player viewer, boolean value) {
5454
- Type: `String`
5555
- Default: `#FFFFFFFF`
5656

57+
- __`USE_MINECRAFT_GUISCALE`__
58+
- Config Key: `use-minecraft-g-u-i-scale`
59+
- Values
60+
- Type: `Boolean`
61+
- Default: `true`
62+

0 commit comments

Comments
 (0)