Skip to main content

Interaction Packets

Packets in the com.hypixel.hytale.protocol.packets.interaction package.

NPC Mounting

MountNPC (166)

Bound: Clientbound

Instructs the client to attach an entity (rider) to another entity (mount).

FieldTypeNotes
mountIdIntEntity ID of the vehicle/mob.
riderIdIntEntity ID of the passenger.
seatIndexIntWhich seat to occupy (for multi-seat vehicles).

DismountNPC (167)

Bound: Clientbound

Detaches a rider from their mount.

FieldTypeNotes
riderIdIntThe entity dismounting.

Interaction Chains

Hytale uses "Interaction Chains" for actions that take time or have multiple steps (e.g., helping a player up, opening a heavy door).

SyncInteractionChain (170)

Bound: Clientbound

Synchronizes the state of an ongoing interaction.

FieldTypeNotes
entityIdIntThe entity performing the interaction.
targetIdIntThe target entity (if any).
interactionIdStringRegistry ID of the interaction type.
stateByte0=Start, 1=Update, 2=End.

PlayInteractionFor (171)

Bound: Clientbound

Triggers a one-off visual interaction animation.

FieldTypeNotes
entityIdIntThe actor.
targetIdIntThe target.
interactionStringInteraction name.

CancelInteractionChain (172)

Bound: Bidirectional

Cancels the current action (e.g., player released the key).