Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

froobynooby
Copy link
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
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
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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Awaiting review
Development

Successfully merging this pull request may close these issues.

3 participants