[v2.3.3] Restrict zombie block-break target range - #17
Open
KiyroPrower wants to merge 1 commit into
Open
KiyroPrower wants to merge 1 commit into
KiyroPrower wants to merge 1 commit into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes Zombie Break Block assigning and retaining player targets for every Bukkit zombie variant at distances up to the configured 150 blocks. The custom target search now applies only to standard zombies that can actually use the block-breaking mechanic.
Detailed Changes
EntityType.ZOMBIE.CHANGELOG.mdandREADME_STATE_SNAPSHOT.md.Technical Notes
Paper's
Zombieinterface hasDrowned,Husk,PigZombie, andZombieVillageras known subinterfaces. The previousgetEntitiesByClass(Zombie.class)scan andinstanceof Zombieevent handling therefore included all of these variants. The new eligibility guard uses the exact Bukkit entity type plus the supported-tool requirement at every target-management entry point.The existing
max-target-distanceoption remains unchanged and continues to control eligible block-breaking zombies. Block selection, block lists, block drops, ProtocolLib animations, and claim checks are unchanged.Verification
gradlew.bat clean build --no-daemon: successful.git diff --check: successful.build/libs/SuddenDeath-2.3.3.jar(460271 bytes).plugin.yml: version 2.3.3, API 1.21.Zombieinheritance hierarchy.Compatibility
Risks and Limitations
Files or Systems Affected
ZombieBreakBlockFeature: eligibility, target search, target persistence, scheduler context.build.gradle: patch version.plugin.yml: patch version.CHANGELOG.md: 2.3.3 release notes.README_STATE_SNAPSHOT.md: project checkpoint and continuation notes.Public API, Configuration, and Dependency Impact
max-target-distancekeeps its current key and default.Changelog
Fixed
Changed
README Snapshot Confirmation
README_STATE_SNAPSHOT.mdwas created and records the current version, architecture, implemented systems, known limitations, build result, and recommended live-test steps.