api
a9eff54633
jvm
api
/
org.kryptonmc.api.inventory
/
PlayerInventory
/
getHeldItem
get
Held
Item
abstract
fun
getHeldItem
(
hand
:
Hand
)
:
ItemStack
Gets the item the player is holding in the given
hand
.
Return
the item
Parameters
hand
the hand