InteractWithItem

fun interface InteractWithItem

Provides a contract for any object that can be a target for an interaction with an Item.

Inheritors

Functions

Link copied to clipboard
abstract fun interact(item: Item): InteractionResult

Interact with the specified item.