getPickItem

open override fun getPickItem(): ItemStack?(source)

Returns the item that should be given when the entity is middle clicked.

By default, returns null

Return

the item the entity should give when middle clicked, or null if none