mainHand

@NotNull
open fun mainHand(): @NotNull TransformedItemStack

Returns the item in the entity's main hand.

Return

the main hand item

Since

2.0.0