PlayerAPI.getSwingArm

Inherited from LivingEntityAPI

Returns "OFF_HAND" or "MAIN_HAND", based on the arm this entity is currently swinging
overload 1:
player:getSwingArm()
Method Property Fluent Description Representation
Return Value a String
a a