← Back to Index

InteractPacket (33)

Interact
Used for inventory button press and in _updateInteraction() for a variety of purposes. From the client.
Field Name Type Field Index Description
Action (Required) uint8 0
Enum Values:
Index Value
0 Invalid
1 StopRiding
2 InteractUpdate
3 NpcOpen
4 OpenInventory
Target Runtime ID (Required) ActorRuntimeID 1

ActorRuntimeID

Field Name Type Field Index Description
Actor Runtime ID (Required) varuint64 0
Position Vec3 2

Vec3

Field Name Type Field Index Description
X (Required) float 0
Y (Required) float 1
Z (Required) float 2