Skip to content

API reference / @jsprismarine/protocol / v2225

v2225 ​

Variables ​

addedPacketIds ​

const addedPacketIds: 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 ​

readonly ClientboundMatchmakingStatePacket: 353 = 0x161

ClientboundPlayAudioContentPacket ​

readonly ClientboundPlayAudioContentPacket: 359 = 0x167

ClientboundStonecutterSetRecipePacket ​

readonly ClientboundStonecutterSetRecipePacket: 355 = 0x163

ServerboundCursorItemDragPacket ​

readonly ServerboundCursorItemDragPacket: 358 = 0x166

ServerboundMatchmakingCancelPacket ​

readonly ServerboundMatchmakingCancelPacket: 356 = 0x164

ServerboundRegisterAudioContentPacket ​

readonly ServerboundRegisterAudioContentPacket: 360 = 0x168

ServerboundStonecutterSetRecipePacket ​

readonly ServerboundStonecutterSetRecipePacket: 354 = 0x162

SetPassengerOfBlockPacket ​

readonly SetPassengerOfBlockPacket: 357 = 0x165


minecraftVersions ​

const minecraftVersions: readonly string[]

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 ​

const packetIds: 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 ​

const protocolVersion: 2225 = 2225

Defined in: protocol/src/wire/versions/v2225.ts:14

The protocol version, as RequestNetworkSettings carries it.