Skip to content

Conversation

@MTOnline69
Copy link
Contributor

What

Revival of #2114

Refactors the MobHighlight class to (mostly) use mob detection. For highlighting zealots the old EntityMaxHealthUpdateEvent is used instead, as mob detection currently does not work with mobs that are far away.

Corrupted highlight still doesn't work the best since it should probably use nametags instead, but somebody else can do that.

Changelog Fixes

  • Fixed Corleone, Arachne and Zealot related highlight features not working. - Empa & MTOnline
  • Fixed Line to Arachne not working. - Empa & MTOnline

Changelog Technical Details

  • Refactor MobHighlight to use Mob Detection. - Empa & MTOnline
    • With the exception of Zealot-related highlights.

@github-actions github-actions bot added the Detekt Has detekt problem label Feb 1, 2026
@github-actions
Copy link

github-actions bot commented Feb 1, 2026

1 Detekt Failure

  • FarmingWeightData.kt#L71 IsInIslandEarlyReturn: This early return should be replaced with onlyOnIsland = IslandType.GARDEN in the @HandleEvent annotation

@MTOnline69 MTOnline69 marked this pull request as draft February 3, 2026 11:42
@MTOnline69 MTOnline69 marked this pull request as ready for review February 3, 2026 11:42
@github-actions github-actions bot removed the Detekt Has detekt problem label Feb 3, 2026
Copy link
Owner

@hannibal002 hannibal002 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the cleanup and migration to mob detection looks good!

small suggetions, and i assume you have tested that the code works well with death/despawn/world switch?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants