Skip to content

2026.01.24 6e2d4fc36 interaction

github-actions[bot] edited this page Jan 26, 2026 · 1 revision

Interaction Packets

Version: 2026.01.24-6e2d4fc36

This category contains 6 packet(s).

Packet Index

ID Name Package Compressed Max Size
- SyncInteractionChain com.hypixel.hytale.protocol.packets.interaction No 1600 MB
0x122 SyncInteractionChains com.hypixel.hytale.protocol.packets.interaction No 1600 MB
0x123 CancelInteractionChain com.hypixel.hytale.protocol.packets.interaction No 1.0 KB
0x124 PlayInteractionFor com.hypixel.hytale.protocol.packets.interaction No 15.6 MB
0x125 MountNPC com.hypixel.hytale.protocol.packets.interaction No 16 bytes
0x126 DismountNPC com.hypixel.hytale.protocol.packets.interaction No -

SyncInteractionChain

Property Value
Compressed No
Fixed Block Size 33 bytes
Variable Field Count 7
Max Size 1600 MB
Nullable Bit Field 1 byte(s)
Variable Block Start 61

Fields

Name Type Offset Size Encoding Nullable
activeHotbarSlot int 1 4 int32_le No
activeUtilitySlot int 5 4 int32_le No
activeToolsSlot int 9 4 int32_le No
itemInHandId String -1 var var_string:utf8 Yes
utilityItemId String -1 var var_string:utf8 Yes
toolsItemId String -1 var var_string:utf8 Yes
initial boolean 13 1 byte No
desync boolean 14 1 byte No
overrideRootInteraction int 15 4 int32_le No
interactionType InteractionType 19 1 byte No
equipSlot int 20 4 int32_le No
chainId int 24 4 int32_le No
forkedId ForkedChainId -1 var nested:ForkedChainId Yes
data InteractionChainData -1 var nested:InteractionChainData Yes
state InteractionState 28 1 byte No
newForks SyncInteractionChain[] -1 var array:nested:SyncInteractionChain Yes
operationBaseIndex int 29 4 int32_le No
interactionData InteractionSyncData[] -1 var array:nested:InteractionSyncData Yes

Layout Notes: Fixed block contains nullable bits at offset 0, fixed fields at offsets 1-29, variable data offsets stored at specific positions, variable data starts at offset 61

interactionType enum values:

  • 0 = Primary
  • 1 = Secondary
  • 2 = Ability1
  • 3 = Ability2
  • 4 = Ability3
  • 5 = Use
  • 6 = Pick
  • 7 = Pickup
  • 8 = CollisionEnter
  • 9 = CollisionLeave
  • 10 = Collision
  • 11 = EntityStatEffect
  • 12 = SwapTo
  • 13 = SwapFrom
  • 14 = Death
  • 15 = Wielding
  • 16 = ProjectileSpawn
  • 17 = ProjectileHit
  • 18 = ProjectileMiss
  • 19 = ProjectileBounce
  • 20 = Held
  • 21 = HeldOffhand
  • 22 = Equipped
  • 23 = Dodge
  • 24 = GameModeSwap

state enum values:

  • 0 = Finished
  • 1 = Skip
  • 2 = ItemChanged
  • 3 = Failed
  • 4 = NotFinished

SyncInteractionChains

Property Value
Packet ID 0x122 (290)
Compressed No
Variable Field Count 1
Max Size 1600 MB

Fields

Name Type Offset Size Encoding Nullable
updates SyncInteractionChain[] -1 var nested:SyncInteractionChain No

Layout Notes: Packet contains a variable-length array 'updates' with count as VarInt at the start; no nullable bits.


CancelInteractionChain

Property Value
Packet ID 0x123 (291)
Compressed No
Fixed Block Size 5 bytes
Variable Field Count 1
Max Size 1.0 KB
Nullable Bit Field 1 byte(s)
Variable Block Start 5

Fields

Name Type Offset Size Encoding Nullable
chainId int 1 4 int32_le No
forkedId ForkedChainId -1 var nested:ForkedChainId Yes

Layout Notes: Fixed block contains nullBits at offset 0, chainId at offset 1-4; forkedId is in variable section if present


PlayInteractionFor

Property Value
Packet ID 0x124 (292)
Compressed No
Fixed Block Size 19 bytes
Variable Field Count 2
Max Size 15.6 MB
Nullable Bit Field 1 byte(s)
Variable Block Start 27

Fields

Name Type Offset Size Encoding Nullable
entityId int 1 4 int32_le No
chainId int 5 4 int32_le No
forkedId ForkedChainId -1 var nested:ForkedChainId Yes
operationIndex int 9 4 int32_le No
interactionId int 13 4 int32_le No
interactedItemId String -1 var var_string:utf8 Yes
interactionType InteractionType 17 1 byte No
cancel boolean 18 1 byte No

Layout Notes: Fixed block contains 6 fixed fields, nullable bits at offset 0, offsets to variable data at offset + 19 and + 23 respectively

interactionType enum values:

  • 0 = Primary
  • 1 = Secondary
  • 2 = Ability1
  • 3 = Ability2
  • 4 = Ability3
  • 5 = Use
  • 6 = Pick
  • 7 = Pickup
  • 8 = CollisionEnter
  • 9 = CollisionLeave
  • 10 = Collision
  • 11 = EntityStatEffect
  • 12 = SwapTo
  • 13 = SwapFrom
  • 14 = Death
  • 15 = Wielding
  • 16 = ProjectileSpawn
  • 17 = ProjectileHit
  • 18 = ProjectileMiss
  • 19 = ProjectileBounce
  • 20 = Held
  • 21 = HeldOffhand
  • 22 = Equipped
  • 23 = Dodge
  • 24 = GameModeSwap

MountNPC

Property Value
Packet ID 0x125 (293)
Compressed No
Fixed Block Size 16 bytes
Variable Field Count 0
Max Size 16 bytes
Variable Block Start 16

Fields

Name Type Offset Size Encoding Nullable
anchorX float 0 4 float32_le No
anchorY float 4 4 float32_le No
anchorZ float 8 4 float32_le No
entityId int 12 4 int32_le No

Layout Notes: All fields are fixed size and located sequentially within the fixed block of 16 bytes.


DismountNPC

Property Value
Packet ID 0x126 (294)
Compressed No
Variable Field Count 0

Back to Home

Clone this wiki locally