InteractDsl

sealed interface InteractDsl

DSL scope available inside PacketEntityDsl.onInteract handlers.

Properties

Link copied to clipboard
abstract val hand: EquipmentSlot

The hand used to interact with the packet entity.

Link copied to clipboard
abstract val interactLocation: Vector3dc

The interaction position sent by the client, relative to the interacted entity's position,

Link copied to clipboard
abstract val player: Player

The player that interacted with the packet entity.