Skip to content

Commit 2a5e492

Browse files
ItsNatureTrentinTheKidLunarClientBot
authored
Version - 1.2.6 (#276)
* Deploy as `1.2.6-SNAPSHOT` * Documentation Updates & Improvements (#277) * Restructure some docs * Restructure some docs * add integration callout redirects to all modules * add overview to private & public modules * update developers FAQs * update server owner FAQs * minor tweaks to FAQ pages * Mod Settings -> Mod Options, fix redirects * update module callouts * fix redirects --------- Co-authored-by: TrentinTheKid <25537885+TrentinTheKid@users.noreply.github.com> * Add `Profile` to `ItemStackIcon` (#274) * Add `Profile` to `ItemStackIcon` * Publish * Fix typo * make profile uuid nullable * dont publish on this branch * Stopwatch Module v2 (#272) * Stopwatch module overhaul * Add `hideWhenStopped` to stopwatches & timers * Update Module Overview * Overview touchups * fix typos * format fix * update fields to match protos --------- Co-authored-by: Trentin <25537885+TrentinTheKid@users.noreply.github.com> * Feature - Cosmetics Module (#275) * NPC Cosmetic module! * Bump CI to java 21 * Cosmetics module! * example: dont run nametag example on join * fix tests setting options for everyone * example: fix spray example npe * `Spray` & `Cosmetic` builder docs * add cosmetic module overview * fix overview typo * gardle fixes * move cosmetic module docs to private modules * final docs changes --------- Co-authored-by: TrentinTheKid <25537885+TrentinTheKid@users.noreply.github.com> * Sync LunarClient Mods & Options (#278) * Sync LunarClient Mods & Options * Update version tags to 1.2.6 --------- Co-authored-by: LunarClient Bot <lc-bot@moonsworth.com> * Bump to 1.2.6 (#279) --------- Co-authored-by: TrentinTheKid <25537885+TrentinTheKid@users.noreply.github.com> Co-authored-by: LunarClient Bot <lc-bot@moonsworth.com>
1 parent 169126b commit 2a5e492

139 files changed

Lines changed: 5183 additions & 460 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.checkstyle/suppressions.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<!DOCTYPE suppressions PUBLIC "-//Checkstyle//DTD SuppressionFilter Configuration 1.2//EN" "http://checkstyle.org/dtds/suppressions_1_2.dtd">
33
<suppressions>
44
<!-- don't require javadocs on platform modules -->
5-
<suppress files="example[\\/](bukkit|minestom)[\\/](api|json|proto|common)[\\/]src[\\/]main[\\/]java[\\/].*" checks="(FilteringWriteTag|MissingJavadoc.*)"/>
5+
<suppress files="example[\\/](bukkit|minestom)[\\/](api|json|proto|common|nms)[\\/]src[\\/]main[\\/]java[\\/].*" checks="(FilteringWriteTag|MissingJavadoc.*)"/>
66

77
<!-- ignore illegal import in loader -->
88
<suppress files="extra[\\/]loader[\\/]src[\\/]main[\\/]java[\\/].*" checks="(IllegalImport)"/>

.github/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,12 @@ Our **Lightweight integration** allows you to use Apollo features **without runn
2424
This is useful for developers who want Apollo functionality but prefer a more minimal approach.
2525

2626
There are two supported methods:
27-
- [Lightweight JSON](https://lunarclient.dev/apollo/developers/lightweight/json/getting-started)
28-
- [Lightweight Protobuf](https://lunarclient.dev/apollo/developers/lightweight/protobuf/getting-started)
27+
- [Lightweight JSON](https://lunarclient.dev/apollo/developers/lightweight/json)
28+
- [Lightweight Protobuf](https://lunarclient.dev/apollo/developers/lightweight/protobuf)
2929

3030
Both approaches achieve the same goal, but with different trade-offs in terms of **complexity and flexibility**.
3131

32-
Read the [Lightweight introduction](https://lunarclient.dev/apollo/developers/lightweight/introduction) documentation to get started.
32+
Read the [Lightweight introduction](https://lunarclient.dev/apollo/developers/lightweight) documentation to get started.
3333

3434
## Examples
3535

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
uses: actions/setup-java@v3
2525
with:
2626
distribution: "zulu"
27-
java-version: 8
27+
java-version: 21
2828

2929
- name: Gradle Build
3030
run: ./gradlew build

api/src/main/java/com/lunarclient/apollo/common/icon/ItemStackIcon.java

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,10 @@
2323
*/
2424
package com.lunarclient.apollo.common.icon;
2525

26+
import com.lunarclient.apollo.common.profile.Profile;
2627
import lombok.Builder;
2728
import lombok.Getter;
29+
import org.jetbrains.annotations.Nullable;
2830

2931
/**
3032
* Represents an item stack icon.
@@ -59,4 +61,12 @@ public final class ItemStackIcon extends Icon {
5961
*/
6062
int customModelData;
6163

64+
/**
65+
* Returns the icon {@link Profile}.
66+
*
67+
* @return the icon profile
68+
* @since 1.2.6
69+
*/
70+
@Nullable Profile profile;
71+
6272
}
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
/*
2+
* This file is part of Apollo, licensed under the MIT License.
3+
*
4+
* Copyright (c) 2026 Moonsworth
5+
*
6+
* Permission is hereby granted, free of charge, to any person obtaining a copy
7+
* of this software and associated documentation files (the "Software"), to deal
8+
* in the Software without restriction, including without limitation the rights
9+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10+
* copies of the Software, and to permit persons to whom the Software is
11+
* furnished to do so, subject to the following conditions:
12+
*
13+
* The above copyright notice and this permission notice shall be included in all
14+
* copies or substantial portions of the Software.
15+
*
16+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22+
* SOFTWARE.
23+
*/
24+
package com.lunarclient.apollo.common.location;
25+
26+
import lombok.Builder;
27+
import lombok.Getter;
28+
29+
/**
30+
* Represents a HUD element position on the client screen.
31+
*
32+
* @since 1.2.6
33+
*/
34+
@Getter
35+
@Builder
36+
public final class HudPosition {
37+
38+
/**
39+
* Returns the {@code float} X coordinate for this HUD position.
40+
*
41+
* @return the x coordinate
42+
* @since 1.2.6
43+
*/
44+
float x;
45+
46+
/**
47+
* Returns the {@code float} Y coordinate for this HUD position.
48+
*
49+
* @return the y coordinate
50+
* @since 1.2.6
51+
*/
52+
float y;
53+
54+
}
Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
/*
2+
* This file is part of Apollo, licensed under the MIT License.
3+
*
4+
* Copyright (c) 2026 Moonsworth
5+
*
6+
* Permission is hereby granted, free of charge, to any person obtaining a copy
7+
* of this software and associated documentation files (the "Software"), to deal
8+
* in the Software without restriction, including without limitation the rights
9+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10+
* copies of the Software, and to permit persons to whom the Software is
11+
* furnished to do so, subject to the following conditions:
12+
*
13+
* The above copyright notice and this permission notice shall be included in all
14+
* copies or substantial portions of the Software.
15+
*
16+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22+
* SOFTWARE.
23+
*/
24+
package com.lunarclient.apollo.common.profile;
25+
26+
import java.util.UUID;
27+
import lombok.Builder;
28+
import lombok.Getter;
29+
import org.jetbrains.annotations.Nullable;
30+
31+
/**
32+
* Represents a profile attached to the {@link com.lunarclient.apollo.common.icon.ItemStackIcon}.
33+
*
34+
* @since 1.2.6
35+
*/
36+
@Getter
37+
@Builder
38+
public final class Profile {
39+
40+
/**
41+
* Returns the profile {@link UUID} id.
42+
*
43+
* @return the profile id
44+
* @since 1.2.6
45+
*/
46+
@Nullable UUID id;
47+
48+
/**
49+
* Returns the profile {@link String} texture.
50+
*
51+
* @return the profile texture
52+
* @since 1.2.6
53+
*/
54+
String texture;
55+
56+
/**
57+
* Returns the profile {@link String} signature.
58+
*
59+
* @return the profile signature
60+
* @since 1.2.6
61+
*/
62+
String signature;
63+
64+
}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ public final class ModArmorstatus {
7676
*/
7777
public static final SimpleOption<Boolean> HIDE_UNBREAKABLE_DURABILITY = SimpleOption.<Boolean>builder()
7878
.node("armorstatus", "hide-unbreakable-durability").type(TypeToken.get(Boolean.class))
79-
.defaultValue(false)
79+
.defaultValue(true)
8080
.notifyClient()
8181
.build();
8282

0 commit comments

Comments
 (0)