API reference / @jsprismarine/protocol / v2225
v2225
Variables
addedPacketIds
constaddedPacketIds:object
Defined in: protocol/src/wire/versions/v2225.ts:26
The packets 1.26.60 added, keyed by the names their classes export from the packet barrel. The codec uses these names to pair each new id with its Protocol packet implementation.
Type Declaration
ClientboundMatchmakingStatePacket
readonlyClientboundMatchmakingStatePacket:353=0x161
ClientboundPlayAudioContentPacket
readonlyClientboundPlayAudioContentPacket:359=0x167
ClientboundStonecutterSetRecipePacket
readonlyClientboundStonecutterSetRecipePacket:355=0x163
ServerboundCursorItemDragPacket
readonlyServerboundCursorItemDragPacket:358=0x166
ServerboundMatchmakingCancelPacket
readonlyServerboundMatchmakingCancelPacket:356=0x164
ServerboundRegisterAudioContentPacket
readonlyServerboundRegisterAudioContentPacket:360=0x168
ServerboundStonecutterSetRecipePacket
readonlyServerboundStonecutterSetRecipePacket:354=0x162
SetPassengerOfBlockPacket
readonlySetPassengerOfBlockPacket:357=0x165
minecraftVersions
constminecraftVersions: readonlystring[]
Defined in: protocol/src/wire/versions/v2225.ts:20
The Minecraft versions that speak protocol 2225, in ascending order. The 1.26.61 and 1.26.62 hotfixes kept 1.26.60's protocol number and wire layout.
packetIds
constpacketIds:Readonly<Record<string,number>>
Defined in: protocol/src/wire/versions/v2225.ts:38
Packet class name to wire id at protocol 2225: 2193's table plus the added packets.
protocolVersion
constprotocolVersion:2225=2225
Defined in: protocol/src/wire/versions/v2225.ts:14
The protocol version, as RequestNetworkSettings carries it.