Not sure if this is a bug, or expected behaviour, I recall reading somewhere there isn't really a way to check the body yaw currently though.
Wondering what this tag is for, and what I should use instead.
- if <player.item_in_hand.flag[active_manipulator]> == inspector_gadget:
- narrate "<&e>Inspection Results:"
- narrate "<&F>Health: <&6><player.target.health.round_to_precision[0.01]>"
- narrate "<&F>X: <&6><[target].location.x.round_to_precision[0.001]> <&F>Y: <&6><[target].location.y.round_to_precision[0.001]> <&F>Z: <&6><[target].location.z.round_to_precision[0.001]>"
- narrate "Body Yaw: <&6><[target].body_yaw>"
- narrate "Head Yaw: <&6><[target].location.yaw>"
- narrate "Sleeping: <player.target.is_sleeping>"
- narrate "Sneaking: <player.target.is_sneaking>"
- narrate "Sitting: <player.target.is_sitting>"
- if <player.target.item_in_hand> == <item[air]>:
- narrate "Holding: Air"
- else if <player.target.item_in_hand> != <item[air]>:
- if <player.target.item_in_hand>
Making an NPC inspection item. body_yaw seems to spit out accurate results when using the player, but not on the NPC for some reason.