Skip to content

Commit

Permalink
Sync LunarClient Mods & Options (#153)
Browse files Browse the repository at this point in the history
* Sync LunarClient Mods & Options

* Update version since tags

---------

Co-authored-by: LunarClient Bot <[email protected]>
  • Loading branch information
ItsNature and LunarClientBot authored May 31, 2024
1 parent 11ca7e1 commit 3cda1cf
Show file tree
Hide file tree
Showing 7 changed files with 49 additions and 1 deletion.
2 changes: 1 addition & 1 deletion api/src/main/java/com/lunarclient/apollo/mods/Mods.java
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
10 changes: 10 additions & 0 deletions api/src/main/java/com/lunarclient/apollo/mods/impl/ModClock.java
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,16 @@ public final class ModClock {
.notifyClient()
.build();

/**
* No documentation available.
*
* @since 1.1.3
*/
public static final SimpleOption<Boolean> SHOW_AM_PM = SimpleOption.<Boolean>builder()
.node("clock", "show-am-pm").type(TypeToken.get(Boolean.class))
.notifyClient()
.build();

private ModClock() {
}

Expand Down
10 changes: 10 additions & 0 deletions api/src/main/java/com/lunarclient/apollo/mods/impl/ModPing.java
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,16 @@ public final class ModPing {
.notifyClient()
.build();

/**
* No documentation available.
*
* @since 1.1.3
*/
public static final SimpleOption<Boolean> PING_SHOW_MS = SimpleOption.<Boolean>builder()
.node("ping", "ping-show-ms").type(TypeToken.get(Boolean.class))
.notifyClient()
.build();

/**
* No documentation available.
*
Expand Down
10 changes: 10 additions & 0 deletions api/src/main/java/com/lunarclient/apollo/mods/impl/ModTitles.java
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,16 @@ public final class ModTitles {
.notifyClient()
.build();

/**
* No documentation available.
*
* @since 1.1.3
*/
public static final SimpleOption<Boolean> USE_MINECRAFT_GUISCALE = SimpleOption.<Boolean>builder()
.node("titles", "use-minecraft-g-u-i-scale").type(TypeToken.get(Boolean.class))
.notifyClient()
.build();

private ModTitles() {
}

Expand Down
6 changes: 6 additions & 0 deletions docs/developers/mods/clock.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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`

6 changes: 6 additions & 0 deletions docs/developers/mods/ping.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 6 additions & 0 deletions docs/developers/mods/titles.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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`

1 comment on commit 3cda1cf

@LunarClientBot
Copy link
Collaborator

@LunarClientBot LunarClientBot commented on 3cda1cf May 31, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📄 Documentation Deployment

Status:✅ Completed
Environment:preview
URL:https://13702f91.lunarclient-dev.pages.dev

Please sign in to comment.