Skip to content

Skip AI during inactive ticks for non-aware mobs#10990

Closed
froobynooby wants to merge 2 commits into
PaperMC:masterfrom
froobynooby:inactive-tick-awareness
Closed

Skip AI during inactive ticks for non-aware mobs#10990
froobynooby wants to merge 2 commits into
PaperMC:masterfrom
froobynooby:inactive-tick-awareness

Conversation

@froobynooby
Copy link
Copy Markdown
Contributor

Adds an awareness check to the inactiveTick of mobs (non-aware mobs aren't meant to have their AI ticked)

@froobynooby froobynooby requested a review from a team as a code owner June 26, 2024 10:51
@Owen1212055
Copy link
Copy Markdown
Member

Does this check need to be expanded to for example Villager?

@froobynooby froobynooby force-pushed the inactive-tick-awareness branch from 01b6e84 to f7b462e Compare July 16, 2024 08:48
@froobynooby
Copy link
Copy Markdown
Contributor Author

Yes, villagers needed the check as well - I've just added that as well as a NoAI check to Mobs as that has the same issue. Villagers are the only Mob that override inactiveTick, so everything else should be fine

@Warriorrrr Warriorrrr moved this from Awaiting review to Waiting For Author in Paper PR Queue Mar 5, 2025
@kennytv kennytv added the pre-softspoon: never rebased Pre-hardfork pull requests that were not re-opened with the new main branch label Mar 23, 2025
@kennytv kennytv deleted the branch PaperMC:master March 23, 2025 19:15
@kennytv kennytv closed this Mar 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pre-softspoon: never rebased Pre-hardfork pull requests that were not re-opened with the new main branch pre-softspoon

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

5 participants