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

Fixed a bug in the ai_tracker script which caused the golem detection range to be incorrect. #1890

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Math2128
Copy link

@Math2128 Math2128 commented Mar 24, 2024

Changed height to villager_height in the ai_tracker.sc file which caused the golem detection range to be 2 blocks smaller towards the positive Y.

Consist of one line of code, but I believe this should resolve the issue.

Changed height to villager_height.
@Math2128
Copy link
Author

Math2128 commented Mar 24, 2024

Before the fix:

2024-03-24 (5)

After the fix:

2024-03-24 (6)

Notice the white line in the background which now correspond to the 16 blocks detection zone (instead of 14 before).

I started counting the 16 blocks just after the head of the villager, like so:


□ 3
□ 2
□ 1
Villager head
Villager feet

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.

1 participant