Skip to content

Change headPitch to headYaw#3850

Open
Yaodeowo wants to merge 1 commit intoPrismarineJS:masterfrom
Yaodeowo:master
Open

Change headPitch to headYaw#3850
Yaodeowo wants to merge 1 commit intoPrismarineJS:masterfrom
Yaodeowo:master

Conversation

@Yaodeowo
Copy link
Copy Markdown

After this PR

@Yaodeowo Yaodeowo closed this Mar 15, 2026
@Yaodeowo Yaodeowo reopened this Mar 15, 2026
Comment thread lib/plugins/entities.js

entity.yaw = conv.fromNotchianYawByte(packet.yaw)
entity.pitch = conv.fromNotchianPitchByte(packet.pitch)
entity.headPitch = conv.fromNotchianPitchByte(packet.headPitch)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd recommend keeping .headPitch set to .headYaw for compatibility

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what do u mean compatibility?
for me it mean it will break alot thing, but what actually issue is it?
and why only that file change?

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.

2 participants