Packet 98
NpcRequestPacket
A request is made from the client during an interaction with an NPC then the request is processed by the server. Actor MUST have the NPCComponent to be handled. We currently only use this for EDU, but the goal was to expose the NPC Component to creators.
HeaderID 98varuint
0NPC Runtime IDActorRuntimeID · variable
1Request Typeuint8 · 1 byte
2Actionsstring · variable
3Action Indexuint8 · 1 byte
4Scene Namestring · variable
Serialized fields
5 top-level fields0NPC Runtime IDActorRuntimeID
- 0Actor Runtime IDCompression
varuint64
1Request TypeEnum-as-ValueNpcRequestPacketPayload RequestTypeas
uint8- 0
SetActions - 1
ExecuteAction - 2
ExecuteClosingCommands - 3
SetName - 4
SetSkin - 5
SetInteractText - 6
ExecuteOpeningCommands
- 0
- 2Actions
string - 3Action Index
uint8 - 4Scene Name
string
Changelog
Stable releases
Changes between stable protocol releases.
No stable release changes are recorded for this packet.
Preview builds
Changes between Minecraft Preview protocol builds.
No preview build changes are recorded for this packet.