StrictInteractionResult

data class StrictInteractionResult(val hand: InteractionHand, val source: StrictInteractionSource, val result: InteractionResult) : Record

Strict means to 1:1 simulate net.minecraft.client.Minecraft.startUseItem logic: Try interact/useItemOn then useItem with each hand (main hand -> offhand).

Constructors

Link copied to clipboard
constructor(hand: InteractionHand, source: StrictInteractionSource, result: InteractionResult)

Properties

Link copied to clipboard
val hand: InteractionHand
Link copied to clipboard
Link copied to clipboard
val result: InteractionResult
Link copied to clipboard