Skip to content

Commit

Permalink
Sync LunarClient Mods & Options
Browse files Browse the repository at this point in the history
  • Loading branch information
LunarClientBot committed Aug 6, 2024
1 parent acc0a5b commit 5888d9e
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,17 +54,6 @@ public final class ModWaypoints {
.notifyClient()
.build();

/**
* Adds a waypoint if coordinates are clicked in chat.
*
* @since 1.0.0
*/
public static final SimpleOption<Boolean> ADD_FROM_CHAT = SimpleOption.<Boolean>builder()
.comment("Adds a waypoint if coordinates are clicked in chat.")
.node("waypoints", "add-from-chat").type(TypeToken.get(Boolean.class))
.notifyClient()
.build();

/**
* No documentation available.
*
Expand Down Expand Up @@ -150,6 +139,18 @@ public final class ModWaypoints {
.notifyClient()
.build();

/**
* Adds a waypoint if coordinates are clicked in chat.
*
* @since 1.0.0
*/
@Deprecated
public static final SimpleOption<Boolean> ADD_FROM_CHAT = SimpleOption.<Boolean>builder()
.comment("Adds a waypoint if coordinates are clicked in chat.")
.node("waypoints", "add-from-chat").type(TypeToken.get(Boolean.class))
.notifyClient()
.build();

private ModWaypoints() {
}

Expand Down
2 changes: 1 addition & 1 deletion docs/developers/mods/titles.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public void toggleTitlesExample(Player viewer, boolean value) {
- Config Key: `enabled`
- Values
- Type: `Boolean`
- Default: `false`
- Default: `true`

- __`SCALE`__
- Config Key: `scale`
Expand Down
7 changes: 0 additions & 7 deletions docs/developers/mods/waypoints.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,6 @@ public void toggleWaypointsExample(Player viewer, boolean value) {
- Type: `Boolean`
- Default: `false`

- __`ADD_FROM_CHAT`__
- Adds a waypoint if coordinates are clicked in chat.
- Config Key: `add-from-chat`
- Values
- Type: `Boolean`
- Default: `false`

- __`WAYPOINT_BEAMS`__
- Config Key: `waypoint-beams`
- Values
Expand Down

1 comment on commit 5888d9e

@LunarClientBot
Copy link
Collaborator Author

@LunarClientBot LunarClientBot commented on 5888d9e Aug 6, 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://3737224b.lunarclient-dev.pages.dev

Please sign in to comment.