LivingEntityAPI.getActiveItem

Returns an ItemStack representing the item the entity is currently using
If they're not using any item,
returns air
overload 1:
LivingEntityAPI:getActiveItem()
Method Property Fluent Description Representation
Return Value an ItemStack
a a