Skip to content

Add DISABLE_BLOCK_MISS_PENALTY to Combat Module#297

Merged
ItsNature merged 2 commits into
version/1.2.8from
feature/disable-block-miss-penalty-option
Jun 25, 2026
Merged

Add DISABLE_BLOCK_MISS_PENALTY to Combat Module#297
ItsNature merged 2 commits into
version/1.2.8from
feature/disable-block-miss-penalty-option

Conversation

@ItsNature

@ItsNature ItsNature commented Jun 23, 2026

Copy link
Copy Markdown
Collaborator

Overview

Description:
Add DISABLE_BLOCK_MISS_PENALTY option to the CombatModule to remove the miss penalty when a player is targeting a block, on all versions 1.8 and above.

Code Example (If applicable):

public void setDisableBlockMissPenalty(boolean value) {
    this.combatModule.getOptions().set(CombatModule.DISABLE_BLOCK_MISS_PENALTY, value);
}

Review Request Checklist

  • Your code follows the style guidelines of this project.
  • I have performed a self-review of my code.
  • I have tested this change myself. (If applicable)
  • I have made corresponding changes to the documentation. (If applicable)
  • The branch name follows the projects naming conventions. (e.g. feature/add-module & bugfix/fix-issue)

@ItsNature ItsNature added type: Documentation Documentation improvement or issue type: Enhancement Feature improvement or addition labels Jun 23, 2026
@ItsNature ItsNature mentioned this pull request Jun 23, 2026
@ItsNature ItsNature merged commit f525c0c into version/1.2.8 Jun 25, 2026
1 check passed
@ItsNature ItsNature deleted the feature/disable-block-miss-penalty-option branch June 25, 2026 00:10
ItsNature added a commit that referenced this pull request Jun 27, 2026
ItsNature added a commit that referenced this pull request Jul 1, 2026
* Deploy as `1.2.8-SNAPSHOT`

* Add `ALLOW_DIG_AND_USE` to Combat Module (#290)

* Add CombatModule#ALLOW_ATTACK_AND_USE

* Update supported versions docs for the ALLOW_ATTACK_AND_USE option

* Rename to `allow-dig-and-use` & add anticheat callout

* Update combat.mdx

---------

Co-authored-by: Trentin <25537885+TrentinTheKid@users.noreply.github.com>

* Add `ServerlinkModule#LEGACY_BUTTON_PLACEMENT` & `ServerLinkModule#MODERN_BUTTON_PLACEMENT` (#291)

* Optimizations (#294)

* Optimize `EventBus#post`

* Optimize packet broadcasting

* Optimize `Option#getKey`

* Optimize `ApolloWorld#getPlayers`

* Optimize `NetworkOptions#sendOption`

* Avoid streams in packet/recipient conversions

* Remove dead repo

* Add `CombatModule#DISABLE_BLOCK_MISS_PENALTY` (#297)

* StaffMod Module Improvements - Add `enabledByDefault` (#296)

* Add `StaffModModule#enableStaffMods(recipients, mods, enabledByDefault)` & `StaffModModule#enableAllStaffMods(recipients, enabledByDefault)`

* Apply changes from optimizations PR

* Feature - Markers Module (#293)

* Add Marker API classes

* Marker Module Impl

* Add examples and docs

# Conflicts:
#	example/bukkit/json/src/main/java/com/lunarclient/apollo/example/json/util/JsonPacketUtil.java
#	example/bukkit/proto/src/main/java/com/lunarclient/apollo/example/proto/util/ProtobufPacketUtil.java

* Rename loot chest example to display block example

* Publish branch

* add marker overview gif

* add overview gif to marker docs

* Relocate compact mode callout

* Remove dead repo

* Update markers gif

* Use apollo-protos 0.2.0

* Apply changes from optimizations PR

* Remove temp publish

---------

Co-authored-by: Trentin <25537885+TrentinTheKid@users.noreply.github.com>

* Sync LunarClient Mods & Options (#298)

* Sync LunarClient Mods & Options

* Update version tags to 1.2.8

---------

Co-authored-by: LunarClient Bot <lc-bot@moonsworth.com>

* Bump to 1.2.8 (#299)

---------

Co-authored-by: Trentin <25537885+TrentinTheKid@users.noreply.github.com>
Co-authored-by: LunarClient Bot <lc-bot@moonsworth.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: Documentation Documentation improvement or issue type: Enhancement Feature improvement or addition

Development

Successfully merging this pull request may close these issues.

3 participants