Item

object Item

Item interaction events (use / useOn).

Types

Link copied to clipboard
data class UseArg(val world: Level, val player: Player, val hand: InteractionHand)
Link copied to clipboard
data class UseOnArg(val context: UseOnContext)

Properties

Link copied to clipboard
val onUse: Event<(KattonEvents.Item.UseArg) -> InteractionResult>
Link copied to clipboard
val onUseOn: Event<(KattonEvents.Item.UseOnArg) -> InteractionResult>