No value is stored in the player NBT to indicate which hand is set as their main hand in settings.
Expected behaviour
It is expected that since players inherit most of the applicable NBT tags stored by mobs, the LeftHanded tag would also be included.
Actual behaviour
There is no LeftHanded tag stored in the player's NBT.
Steps to reproduce
Use the following command on a skeleton:
/data get entity @e[type=skeleton,limit=1] LeftHanded
Use the same command for the player
/data get entity @p LeftHanded
Observe that there is no LeftHanded tag for the player but there is for mobs.
Affects 24w40a. Looking to request ownership to maintain the report/update the description.