Paper icon indicating copy to clipboard operation
Paper copied to clipboard

Expand Pose API

Open SoSeDiK opened this issue 2 years ago • 2 comments

Adds a way to set entity's pose. Fixed pose can be changed/reset only via another API call. (my take on #7318 since it was closed))

Resolves #7016.

SoSeDiK avatar Jan 11 '23 19:01 SoSeDiK

Other players will see the pose but the client will revert this immediately on the next tick. This seems hacky and PoseChangeEvent might be a better thing. There should also be warnings so people don't expect too much from poses.

MWHunter avatar Jan 11 '23 19:01 MWHunter

Yep, poses work for entities and other players will see the pose correctly (and having it fixed won't let the player reset it next tick). Only the player with the pose applied to themselves won't be able to see it client-side. I left a note about this in javadocs,

SoSeDiK avatar Jan 11 '23 19:01 SoSeDiK