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

Npc pitching / head movement error #1955

ManO1234148 opened this issue Oct 6, 2019 · 1 comment


Copy link

commented Oct 6, 2019

I am running version 1.12.2, spigot. Citizens and Sentinel are running. The bug is citizens with the sentinel trait that have crackshot weapons or other weapons are unable to pitch up / look up. For this reason they are unable to target enemies above them, very frustrating, please fix.

To replicate, you spawn an npc, give it trait sentinel, equip on it any weapon, make it target players, and the fly above it. Voila! You have reproduced the bug

2019-10-05_18 43 30
2019-10-05_18 43 34
2019-10-05_18 43 44


This comment has been minimized.

Copy link

commented Oct 6, 2019

The underlying issue being that on 1.12.2 specifically, NPC heads don't pitch properly (This is also noticeable with things like lookclose, where it will jankily pitch a bit but then snap back down).
This issue is not present when testing on 1.14.4

Specifically the call npc.faceLocation(...) seems to be failing in 1.12.2, or is being immediately reset.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
2 participants
You can’t perform that action at this time.