From 3cda1cf2699bbd0b6ed5c0a06702f1d6b8efd483 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matej=20Bu=C4=8Dari=C4=87?= Date: Fri, 31 May 2024 12:59:53 +0200 Subject: [PATCH] Sync LunarClient Mods & Options (#153) * Sync LunarClient Mods & Options * Update version since tags --------- Co-authored-by: LunarClient Bot --- .../main/java/com/lunarclient/apollo/mods/Mods.java | 2 +- .../com/lunarclient/apollo/mods/impl/ModClock.java | 10 ++++++++++ .../java/com/lunarclient/apollo/mods/impl/ModPing.java | 10 ++++++++++ .../com/lunarclient/apollo/mods/impl/ModTitles.java | 10 ++++++++++ docs/developers/mods/clock.mdx | 6 ++++++ docs/developers/mods/ping.mdx | 6 ++++++ docs/developers/mods/titles.mdx | 6 ++++++ 7 files changed, 49 insertions(+), 1 deletion(-) diff --git a/api/src/main/java/com/lunarclient/apollo/mods/Mods.java b/api/src/main/java/com/lunarclient/apollo/mods/Mods.java index 03688c1c..d7e369ef 100644 --- a/api/src/main/java/com/lunarclient/apollo/mods/Mods.java +++ b/api/src/main/java/com/lunarclient/apollo/mods/Mods.java @@ -134,10 +134,10 @@ public final class Mods { ModCrosshair.class, ModPotionEffects.class, ModDirectionHud.class, - ModTitles.class, ModWaypoints.class, ModHitColor.class, ModScoreboard.class, + ModTitles.class, ModItemCounter.class, ModPing.class, ModMotionBlur.class, diff --git a/api/src/main/java/com/lunarclient/apollo/mods/impl/ModClock.java b/api/src/main/java/com/lunarclient/apollo/mods/impl/ModClock.java index ad864367..57630c76 100644 --- a/api/src/main/java/com/lunarclient/apollo/mods/impl/ModClock.java +++ b/api/src/main/java/com/lunarclient/apollo/mods/impl/ModClock.java @@ -180,6 +180,16 @@ public final class ModClock { .notifyClient() .build(); + /** + * No documentation available. + * + * @since 1.1.3 + */ + public static final SimpleOption SHOW_AM_PM = SimpleOption.builder() + .node("clock", "show-am-pm").type(TypeToken.get(Boolean.class)) + .notifyClient() + .build(); + private ModClock() { } diff --git a/api/src/main/java/com/lunarclient/apollo/mods/impl/ModPing.java b/api/src/main/java/com/lunarclient/apollo/mods/impl/ModPing.java index 7083337b..96df0ccb 100644 --- a/api/src/main/java/com/lunarclient/apollo/mods/impl/ModPing.java +++ b/api/src/main/java/com/lunarclient/apollo/mods/impl/ModPing.java @@ -77,6 +77,16 @@ public final class ModPing { .notifyClient() .build(); + /** + * No documentation available. + * + * @since 1.1.3 + */ + public static final SimpleOption PING_SHOW_MS = SimpleOption.builder() + .node("ping", "ping-show-ms").type(TypeToken.get(Boolean.class)) + .notifyClient() + .build(); + /** * No documentation available. * diff --git a/api/src/main/java/com/lunarclient/apollo/mods/impl/ModTitles.java b/api/src/main/java/com/lunarclient/apollo/mods/impl/ModTitles.java index a66e7120..e5e00431 100644 --- a/api/src/main/java/com/lunarclient/apollo/mods/impl/ModTitles.java +++ b/api/src/main/java/com/lunarclient/apollo/mods/impl/ModTitles.java @@ -97,6 +97,16 @@ public final class ModTitles { .notifyClient() .build(); + /** + * No documentation available. + * + * @since 1.1.3 + */ + public static final SimpleOption USE_MINECRAFT_GUISCALE = SimpleOption.builder() + .node("titles", "use-minecraft-g-u-i-scale").type(TypeToken.get(Boolean.class)) + .notifyClient() + .build(); + private ModTitles() { } diff --git a/docs/developers/mods/clock.mdx b/docs/developers/mods/clock.mdx index 1564eaeb..22326655 100644 --- a/docs/developers/mods/clock.mdx +++ b/docs/developers/mods/clock.mdx @@ -108,3 +108,9 @@ public void toggleClockExample(Player viewer, boolean value) { - Type: `Boolean` - Default: `false` +- __`SHOW_AM_PM`__ + - Config Key: `show-am-pm` + - Values + - Type: `Boolean` + - Default: `true` + diff --git a/docs/developers/mods/ping.mdx b/docs/developers/mods/ping.mdx index e0ed09c9..33a14770 100644 --- a/docs/developers/mods/ping.mdx +++ b/docs/developers/mods/ping.mdx @@ -42,6 +42,12 @@ public void togglePingExample(Player viewer, boolean value) { - Type: `Boolean` - Default: `true` +- __`PING_SHOW_MS`__ + - Config Key: `ping-show-ms` + - Values + - Type: `Boolean` + - Default: `true` + - __`PING_PREFIX_COLOR`__ - Config Key: `ping-prefix-color` - Values diff --git a/docs/developers/mods/titles.mdx b/docs/developers/mods/titles.mdx index c74a1137..b2cf81c0 100644 --- a/docs/developers/mods/titles.mdx +++ b/docs/developers/mods/titles.mdx @@ -54,3 +54,9 @@ public void toggleTitlesExample(Player viewer, boolean value) { - Type: `String` - Default: `#FFFFFFFF` +- __`USE_MINECRAFT_GUISCALE`__ + - Config Key: `use-minecraft-g-u-i-scale` + - Values + - Type: `Boolean` + - Default: `true` +