Skip to content

Skip inactive AI ticks for unaware mobs#13781

Merged
kennytv merged 1 commit intoPaperMC:mainfrom
officialasishkumar:fix/unaware-mob-inactive-ai
Apr 19, 2026
Merged

Skip inactive AI ticks for unaware mobs#13781
kennytv merged 1 commit intoPaperMC:mainfrom
officialasishkumar:fix/unaware-mob-inactive-ai

Conversation

@officialasishkumar
Copy link
Copy Markdown
Contributor

Fixes #13776.

Unaware mobs already skip normal active AI processing. This applies the same rule to inactive ticking by avoiding goal, target, and villager brain updates while preserving the existing inactive bookkeeping.

Validation:

  • ./gradlew rebuildPatches --stacktrace
  • ./gradlew :paper-server:compileJava --stacktrace

Unaware mobs already skip normal active AI processing. Apply the same rule to inactive ticks by avoiding goal, target, and villager brain ticking while preserving inactive bookkeeping.
@officialasishkumar officialasishkumar requested a review from a team as a code owner April 13, 2026 03:29
@github-project-automation github-project-automation bot moved this to Awaiting review in Paper PR Queue Apr 13, 2026
@kennytv kennytv merged commit dd0810c into PaperMC:main Apr 19, 2026
5 checks passed
@github-project-automation github-project-automation bot moved this from Awaiting review to Merged in Paper PR Queue Apr 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Merged

Development

Successfully merging this pull request may close these issues.

Nerfed mobs have their ai ticked when inactive

2 participants