From e17c99405baddfa311dd735c4b8dba2eead7a806 Mon Sep 17 00:00:00 2001 From: LunarClient Bot Date: Wed, 29 Apr 2026 12:17:04 +0000 Subject: [PATCH 1/2] Sync LunarClient Mods & Options --- .../apollo/mods/impl/ModArmorstatus.java | 2 +- .../apollo/mods/impl/ModParticleChanger.java | 125 ++++++++++-------- docs/developers/mods/armorstatus.mdx | 2 +- docs/developers/mods/particlechanger.mdx | 66 +++------ 4 files changed, 90 insertions(+), 105 deletions(-) diff --git a/api/src/main/java/com/lunarclient/apollo/mods/impl/ModArmorstatus.java b/api/src/main/java/com/lunarclient/apollo/mods/impl/ModArmorstatus.java index cf54d8b4d..eaea46708 100644 --- a/api/src/main/java/com/lunarclient/apollo/mods/impl/ModArmorstatus.java +++ b/api/src/main/java/com/lunarclient/apollo/mods/impl/ModArmorstatus.java @@ -76,7 +76,7 @@ public final class ModArmorstatus { */ public static final SimpleOption HIDE_UNBREAKABLE_DURABILITY = SimpleOption.builder() .node("armorstatus", "hide-unbreakable-durability").type(TypeToken.get(Boolean.class)) - .defaultValue(false) + .defaultValue(true) .notifyClient() .build(); diff --git a/api/src/main/java/com/lunarclient/apollo/mods/impl/ModParticleChanger.java b/api/src/main/java/com/lunarclient/apollo/mods/impl/ModParticleChanger.java index dc998ce9e..2e232d35a 100644 --- a/api/src/main/java/com/lunarclient/apollo/mods/impl/ModParticleChanger.java +++ b/api/src/main/java/com/lunarclient/apollo/mods/impl/ModParticleChanger.java @@ -49,56 +49,70 @@ public final class ModParticleChanger { /** * No documentation available. * - * @since 1.2.2 + * @since 1.0.0 */ - public static final SimpleOption SHOW_BLOOD_PARTICLES = SimpleOption.builder() - .node("particle-changer", "show-blood-particles").type(TypeToken.get(Boolean.class)) + public static final SimpleOption ALWAYS_ENCHANT_STRIKES = SimpleOption.builder() + .node("particle-changer", "always-enchant-strikes").type(TypeToken.get(Boolean.class)) .defaultValue(false) .notifyClient() .build(); /** - * No documentation available. + * Hide particles which are emitted in first person (e.g. potion effects). * - * @since 1.2.2 + * @since 1.0.0 */ - public static final NumberOption BLOOD_MULTIPLIER = NumberOption.number() - .node("particle-changer", "blood-multiplier").type(TypeToken.get(Integer.class)) - .min(1).max(10) - .defaultValue(1) + public static final SimpleOption HIDE_FIRST_PERSON_PARTICLES = SimpleOption.builder() + .comment("Hide particles which are emitted in first person (e.g. potion effects)") + .node("particle-changer", "hide-first-person-particles").type(TypeToken.get(Boolean.class)) + .defaultValue(false) .notifyClient() .build(); /** * No documentation available. * + * @since %release_version% + */ + public static final SimpleOption HIDE_BLOCK_BREAK_PARTICLES = SimpleOption.builder() + .node("particle-changer", "hide-block-break-particles").type(TypeToken.get(Boolean.class)) + .defaultValue(false) + .notifyClient() + .build(); + + /** + * Simple toggle for clean game rendering. This may cause issues with certain server mechanics being more challenging to see!. + * * @since 1.2.2 */ - public static final SimpleOption PLAYER_BLOOD_PARTICLES = SimpleOption.builder() - .node("particle-changer", "player-blood-particles").type(TypeToken.get(Boolean.class)) - .defaultValue(true) + public static final SimpleOption HIDE_ALL_PARTICLES = SimpleOption.builder() + .comment("Simple toggle for clean game rendering. This may cause issues with certain server mechanics being more challenging to see!") + .node("particle-changer", "hide-all-particles").type(TypeToken.get(Boolean.class)) + .defaultValue(false) .notifyClient() .build(); /** * No documentation available. * - * @since 1.2.2 + * @since 1.0.0 */ - public static final SimpleOption ENTITY_BLOOD_PARTICLES = SimpleOption.builder() - .node("particle-changer", "entity-blood-particles").type(TypeToken.get(Boolean.class)) - .defaultValue(true) + public static final NumberOption SCALE = NumberOption.number() + .node("particle-changer", "scale").type(TypeToken.get(Float.class)) + .min(0.25F).max(2.0F) + .defaultValue(1.0F) .notifyClient() .build(); /** * No documentation available. * - * @since 1.2.2 + * @since 1.0.0 */ - public static final SimpleOption PLAY_BLOOD_SOUND = SimpleOption.builder() - .node("particle-changer", "play-blood-sound").type(TypeToken.get(Boolean.class)) - .defaultValue(false) + public static final NumberOption PARTICLE_MULTIPLIER = NumberOption.number() + .node("particle-changer", "particle-multiplier").type(TypeToken.get(Float.class)) + .min(0.25F).max(10.0F) + .defaultValue(1.0F) .notifyClient() .build(); @@ -107,8 +121,8 @@ public final class ModParticleChanger { * * @since 1.0.0 */ - public static final SimpleOption ALWAYS_ENCHANT_STRIKES = SimpleOption.builder() - .node("particle-changer", "always-enchant-strikes").type(TypeToken.get(Boolean.class)) + public static final SimpleOption HIDE_PARTICLE = SimpleOption.builder() + .node("particle-changer", "hide-particle").type(TypeToken.get(Boolean.class)) .defaultValue(false) .notifyClient() .build(); @@ -118,32 +132,31 @@ public final class ModParticleChanger { * * @since 1.0.0 */ - public static final SimpleOption AFFECT_ENCHANTED_WEAPONS = SimpleOption.builder() - .node("particle-changer", "affect-enchanted-weapons").type(TypeToken.get(Boolean.class)) - .defaultValue(true) + public static final SimpleOption OVERLAY_COLOR = SimpleOption.builder() + .node("particle-changer", "overlay-color").type(TypeToken.get(Boolean.class)) + .defaultValue(false) .notifyClient() .build(); /** - * Hide your players potion effect particles when you're in first person. + * No documentation available. * * @since 1.0.0 */ - public static final SimpleOption HIDE_FIRST_PERSON_PARTICLES = SimpleOption.builder() - .comment("Hide your players potion effect particles when you're in first person") - .node("particle-changer", "hide-first-person-particles").type(TypeToken.get(Boolean.class)) - .defaultValue(false) + public static final SimpleOption COLOR = SimpleOption.builder() + .node("particle-changer", "color").type(TypeToken.get(Color.class)) + .defaultValue(new Color(255, 255, 255)) .notifyClient() .build(); /** - * Simple toggle for clean game rendering. This may cause issues with certain server mechanics being more challenging to see!. + * No documentation available. * * @since 1.2.2 */ - public static final SimpleOption HIDE_ALL_PARTICLES = SimpleOption.builder() - .comment("Simple toggle for clean game rendering. This may cause issues with certain server mechanics being more challenging to see!") - .node("particle-changer", "hide-all-particles").type(TypeToken.get(Boolean.class)) + @Deprecated + public static final SimpleOption SHOW_BLOOD_PARTICLES = SimpleOption.builder() + .node("particle-changer", "show-blood-particles").type(TypeToken.get(Boolean.class)) .defaultValue(false) .notifyClient() .build(); @@ -151,45 +164,48 @@ public final class ModParticleChanger { /** * No documentation available. * - * @since 1.0.0 + * @since 1.2.2 */ - public static final SimpleOption COLOR = SimpleOption.builder() - .node("particle-changer", "color").type(TypeToken.get(Color.class)) - .defaultValue(new Color(255, 255, 255)) + @Deprecated + public static final NumberOption BLOOD_MULTIPLIER = NumberOption.number() + .node("particle-changer", "blood-multiplier").type(TypeToken.get(Integer.class)) + .min(1).max(10) + .defaultValue(1) .notifyClient() .build(); /** * No documentation available. * - * @since 1.0.0 + * @since 1.2.2 */ - public static final NumberOption SCALE = NumberOption.number() - .node("particle-changer", "scale").type(TypeToken.get(Float.class)) - .min(0.5F).max(2.0F) - .defaultValue(1.0F) + @Deprecated + public static final SimpleOption PLAYER_BLOOD_PARTICLES = SimpleOption.builder() + .node("particle-changer", "player-blood-particles").type(TypeToken.get(Boolean.class)) + .defaultValue(true) .notifyClient() .build(); /** * No documentation available. * - * @since 1.0.0 + * @since 1.2.2 */ - public static final NumberOption PARTICLE_MULTIPLIER = NumberOption.number() - .node("particle-changer", "particle-multiplier").type(TypeToken.get(Integer.class)) - .min(1).max(10) - .defaultValue(1) + @Deprecated + public static final SimpleOption ENTITY_BLOOD_PARTICLES = SimpleOption.builder() + .node("particle-changer", "entity-blood-particles").type(TypeToken.get(Boolean.class)) + .defaultValue(true) .notifyClient() .build(); /** * No documentation available. * - * @since 1.0.0 + * @since 1.2.2 */ - public static final SimpleOption HIDE_PARTICLE = SimpleOption.builder() - .node("particle-changer", "hide-particle").type(TypeToken.get(Boolean.class)) + @Deprecated + public static final SimpleOption PLAY_BLOOD_SOUND = SimpleOption.builder() + .node("particle-changer", "play-blood-sound").type(TypeToken.get(Boolean.class)) .defaultValue(false) .notifyClient() .build(); @@ -199,9 +215,10 @@ public final class ModParticleChanger { * * @since 1.0.0 */ - public static final SimpleOption OVERLAY_COLOR = SimpleOption.builder() - .node("particle-changer", "overlay-color").type(TypeToken.get(Boolean.class)) - .defaultValue(false) + @Deprecated + public static final SimpleOption AFFECT_ENCHANTED_WEAPONS = SimpleOption.builder() + .node("particle-changer", "affect-enchanted-weapons").type(TypeToken.get(Boolean.class)) + .defaultValue(true) .notifyClient() .build(); diff --git a/docs/developers/mods/armorstatus.mdx b/docs/developers/mods/armorstatus.mdx index 1c2a8556b..8f1865051 100644 --- a/docs/developers/mods/armorstatus.mdx +++ b/docs/developers/mods/armorstatus.mdx @@ -39,7 +39,7 @@ public void toggleArmorStatusExample(Player viewer, boolean value) { - Config Key: `hide-unbreakable-durability` - Values - Type: `Boolean` - - Default: `false` + - Default: `true` - __`ITEM_NAME`__ - Config Key: `item-name` diff --git a/docs/developers/mods/particlechanger.mdx b/docs/developers/mods/particlechanger.mdx index 81a233921..f403aef93 100644 --- a/docs/developers/mods/particlechanger.mdx +++ b/docs/developers/mods/particlechanger.mdx @@ -21,53 +21,21 @@ public void toggleParticleChangerExample(Player viewer, boolean value) { - Type: `Boolean` - Default: `false` -- __`SHOW_BLOOD_PARTICLES`__ - - Config Key: `show-blood-particles` - - Values - - Type: `Boolean` - - Default: `false` - -- __`BLOOD_MULTIPLIER`__ - - Config Key: `blood-multiplier` - - Values - - Type: `Integer` - - Default: `1` - - Minimum: `1` - - Maximum: `10` - -- __`PLAYER_BLOOD_PARTICLES`__ - - Config Key: `player-blood-particles` - - Values - - Type: `Boolean` - - Default: `true` - -- __`ENTITY_BLOOD_PARTICLES`__ - - Config Key: `entity-blood-particles` - - Values - - Type: `Boolean` - - Default: `true` - -- __`PLAY_BLOOD_SOUND`__ - - Config Key: `play-blood-sound` - - Values - - Type: `Boolean` - - Default: `false` - - __`ALWAYS_ENCHANT_STRIKES`__ - Config Key: `always-enchant-strikes` - Values - Type: `Boolean` - Default: `false` -- __`AFFECT_ENCHANTED_WEAPONS`__ - - Config Key: `affect-enchanted-weapons` +- __`HIDE_FIRST_PERSON_PARTICLES`__ + - Hide particles which are emitted in first person (e.g. potion effects) + - Config Key: `hide-first-person-particles` - Values - Type: `Boolean` - - Default: `true` + - Default: `false` -- __`HIDE_FIRST_PERSON_PARTICLES`__ - - Hide your players potion effect particles when you're in first person - - Config Key: `hide-first-person-particles` +- __`HIDE_BLOCK_BREAK_PARTICLES`__ + - Config Key: `hide-block-break-particles` - Values - Type: `Boolean` - Default: `false` @@ -79,27 +47,21 @@ public void toggleParticleChangerExample(Player viewer, boolean value) { - Type: `Boolean` - Default: `false` -- __`COLOR`__ - - Config Key: `color` - - Values - - Type: `String` - - Default: `#FFFFFFFF` - - __`SCALE`__ - Config Key: `scale` - Values - Type: `Float` - Default: `1.0F` - - Minimum: `0.5F` + - Minimum: `0.25F` - Maximum: `2.0F` - __`PARTICLE_MULTIPLIER`__ - Config Key: `particle-multiplier` - Values - - Type: `Integer` - - Default: `1` - - Minimum: `1` - - Maximum: `10` + - Type: `Float` + - Default: `1.0F` + - Minimum: `0.25F` + - Maximum: `10.0F` - __`HIDE_PARTICLE`__ - Config Key: `hide-particle` @@ -113,3 +75,9 @@ public void toggleParticleChangerExample(Player viewer, boolean value) { - Type: `Boolean` - Default: `false` +- __`COLOR`__ + - Config Key: `color` + - Values + - Type: `String` + - Default: `#FFFFFFFF` + From 45a44c36b54deb66a916098b0c0758b17b379d26 Mon Sep 17 00:00:00 2001 From: ItsNature Date: Tue, 5 May 2026 02:49:59 +0200 Subject: [PATCH 2/2] Update version tags to 1.2.6 --- .../com/lunarclient/apollo/mods/impl/ModParticleChanger.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/main/java/com/lunarclient/apollo/mods/impl/ModParticleChanger.java b/api/src/main/java/com/lunarclient/apollo/mods/impl/ModParticleChanger.java index 2e232d35a..06cd6a0da 100644 --- a/api/src/main/java/com/lunarclient/apollo/mods/impl/ModParticleChanger.java +++ b/api/src/main/java/com/lunarclient/apollo/mods/impl/ModParticleChanger.java @@ -72,7 +72,7 @@ public final class ModParticleChanger { /** * No documentation available. * - * @since %release_version% + * @since 1.2.6 */ public static final SimpleOption HIDE_BLOCK_BREAK_PARTICLES = SimpleOption.builder() .node("particle-changer", "hide-block-break-particles").type(TypeToken.get(Boolean.class))