From ef411559b7774c52089636ed8a5291a53ad2dcfc Mon Sep 17 00:00:00 2001 From: LunarClient Bot Date: Thu, 14 Nov 2024 22:20:00 +0000 Subject: [PATCH] Sync LunarClient Mods & Options --- .../lunarclient/apollo/mods/impl/ModSkyblock.java | 12 ++++++++++++ docs/developers/mods/skyblock.mdx | 9 +++++++++ 2 files changed, 21 insertions(+) diff --git a/api/src/main/java/com/lunarclient/apollo/mods/impl/ModSkyblock.java b/api/src/main/java/com/lunarclient/apollo/mods/impl/ModSkyblock.java index f151b8ad..e26b584b 100644 --- a/api/src/main/java/com/lunarclient/apollo/mods/impl/ModSkyblock.java +++ b/api/src/main/java/com/lunarclient/apollo/mods/impl/ModSkyblock.java @@ -308,6 +308,18 @@ public final class ModSkyblock { .notifyClient() .build(); + /** + * Provides a general line thickness option that applies to most features with box/line rendering. + * + * @since %release_version% + */ + public static final NumberOption SKYBLOCK_LINE_THICKNESS = NumberOption.number() + .comment("Provides a general line thickness option that applies to most features with box/line rendering.") + .node("skyblock", "skyblock-line-thickness").type(TypeToken.get(Float.class)) + .min(1.0F).max(10.0F) + .notifyClient() + .build(); + private ModSkyblock() { } diff --git a/docs/developers/mods/skyblock.mdx b/docs/developers/mods/skyblock.mdx index 08b3dd8c..8fb3ebb9 100644 --- a/docs/developers/mods/skyblock.mdx +++ b/docs/developers/mods/skyblock.mdx @@ -186,3 +186,12 @@ public void toggleHypixelSkyblockExample(Player viewer, boolean value) { - Type: `Boolean` - Default: `false` +- __`SKYBLOCK_LINE_THICKNESS`__ + - Provides a general line thickness option that applies to most features with box/line rendering. + - Config Key: `skyblock-line-thickness` + - Values + - Type: `Float` + - Default: `4.0F` + - Minimum: `1.0F` + - Maximum: `10.0F` +