RawInteraction

data class RawInteraction(val player: PlayerEntity, val world: World, val hand: Hand, val hitResult: HitResult?)(source)

Raw interaction details. When using preprocessors, this is likely unnecessary. Only required, when entities and block entities are unavailable (for example, anvils, and many villager job sites). Unavailable for ridden entities.

See also

Constructors

Link copied to clipboard
constructor(player: PlayerEntity, world: World, hand: Hand, hitResult: HitResult?)

Properties

Link copied to clipboard
val hand: Hand
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard