From d2247e73323ff845fdbe6e3a44553c1e62ed413d Mon Sep 17 00:00:00 2001 From: ice_iix Date: Sat, 27 Jun 2020 16:27:11 -0700 Subject: [PATCH] Update packet ids --- protocol/src/protocol/versions/v1_16_1.rs | 222 +++++++++++----------- 1 file changed, 111 insertions(+), 111 deletions(-) diff --git a/protocol/src/protocol/versions/v1_16_1.rs b/protocol/src/protocol/versions/v1_16_1.rs index 81312be..ec9564b 100644 --- a/protocol/src/protocol/versions/v1_16_1.rs +++ b/protocol/src/protocol/versions/v1_16_1.rs @@ -23,106 +23,107 @@ protocol_packet_ids!( 0x0c => EditBook 0x0d => QueryEntityNBT 0x0e => UseEntity - 0x0f => KeepAliveServerbound_i64 - 0x10 => LockDifficulty - 0x11 => PlayerPosition - 0x12 => PlayerPositionLook - 0x13 => PlayerLook - 0x14 => Player - 0x15 => VehicleMove - 0x16 => SteerBoat - 0x17 => PickItem - 0x18 => CraftRecipeRequest - 0x19 => ClientAbilities - 0x1a => PlayerDigging - 0x1b => PlayerAction - 0x1c => SteerVehicle - 0x1d => CraftingBookData - 0x1e => NameItem - 0x1f => ResourcePackStatus - 0x20 => AdvancementTab - 0x21 => SelectTrade - 0x22 => SetBeaconEffect - 0x23 => HeldItemChange - 0x24 => UpdateCommandBlock - 0x25 => UpdateCommandBlockMinecart - 0x26 => CreativeInventoryAction - 0x27 => UpdateJigsawBlock - 0x28 => UpdateStructureBlock - 0x29 => SetSign - 0x2a => ArmSwing - 0x2b => SpectateTeleport - 0x2c => PlayerBlockPlacement_insideblock - 0x2d => UseItem + //0x0f => GenerateStructure // TODO + 0x10 => KeepAliveServerbound_i64 + 0x11 => LockDifficulty + 0x12 => PlayerPosition + 0x13 => PlayerPositionLook + 0x14 => PlayerLook + 0x15 => Player + 0x16 => VehicleMove + 0x17 => SteerBoat + 0x18 => PickItem + 0x19 => CraftRecipeRequest + 0x1a => ClientAbilities // TODO + 0x1b => PlayerDigging + 0x1c => PlayerAction + 0x1d => SteerVehicle + 0x1e => CraftingBookData + 0x1f => NameItem + 0x20 => ResourcePackStatus + 0x21 => AdvancementTab + 0x22 => SelectTrade + 0x23 => SetBeaconEffect + 0x24 => HeldItemChange + 0x25 => UpdateCommandBlock + 0x26 => UpdateCommandBlockMinecart + 0x27 => CreativeInventoryAction + 0x28 => UpdateJigsawBlock + 0x29 => UpdateStructureBlock + 0x2a => SetSign + 0x2b => ArmSwing + 0x2c => SpectateTeleport + 0x2d => PlayerBlockPlacement_insideblock + 0x2e => UseItem } clientbound Clientbound { 0x00 => SpawnObject_VarInt 0x01 => SpawnExperienceOrb - 0x02 => SpawnGlobalEntity - 0x03 => SpawnMob_NoMeta - 0x04 => SpawnPainting_VarInt - 0x05 => SpawnPlayer_f64_NoMeta - 0x06 => Animation - 0x07 => Statistics - 0x08 => AcknowledgePlayerDigging - 0x09 => BlockBreakAnimation - 0x0a => UpdateBlockEntity - 0x0b => BlockAction - 0x0c => BlockChange_VarInt - 0x0d => BossBar - 0x0e => ServerDifficulty_Locked - 0x0f => ServerMessage - 0x10 => MultiBlockChange_VarInt - 0x11 => TabCompleteReply - 0x12 => DeclareCommands - 0x13 => ConfirmTransaction - 0x14 => WindowClose - 0x15 => WindowItems - 0x16 => WindowProperty - 0x17 => WindowSetSlot - 0x18 => SetCooldown - 0x19 => PluginMessageClientbound - 0x1a => NamedSoundEffect - 0x1b => Disconnect - 0x1c => EntityAction - 0x1d => Explosion - 0x1e => ChunkUnload - 0x1f => ChangeGameState - 0x20 => WindowOpenHorse - 0x21 => KeepAliveClientbound_i64 - 0x22 => ChunkData_Biomes3D - 0x23 => Effect - 0x24 => Particle_f64 - 0x25 => UpdateLight - 0x26 => JoinGame_HashedSeed_Respawn - 0x27 => Maps - 0x28 => TradeList_WithRestock - 0x29 => EntityMove_i16 - 0x2a => EntityLookAndMove_i16 - 0x2b => EntityLook_VarInt - 0x2c => Entity - 0x2d => VehicleTeleport - 0x2e => OpenBook - 0x2f => WindowOpen_VarInt - 0x30 => SignEditorOpen - 0x31 => CraftRecipeResponse - 0x32 => PlayerAbilities - 0x33 => CombatEvent - 0x34 => PlayerInfo - 0x35 => FacePlayer - 0x36 => TeleportPlayer_WithConfirm - 0x37 => UnlockRecipes_WithSmelting - 0x38 => EntityDestroy - 0x39 => EntityRemoveEffect - 0x3a => ResourcePackSend - 0x3b => Respawn_HashedSeed - 0x3c => EntityHeadLook - 0x3d => SelectAdvancementTab - 0x3e => WorldBorder - 0x3f => Camera - 0x40 => SetCurrentHotbarSlot - 0x41 => UpdateViewPosition - 0x42 => UpdateViewDistance + 0x02 => SpawnMob_NoMeta + 0x03 => SpawnPainting_VarInt + 0x04 => SpawnPlayer_f64_NoMeta + 0x05 => Animation + 0x06 => Statistics + 0x07 => AcknowledgePlayerDigging + 0x08 => BlockBreakAnimation + 0x09 => UpdateBlockEntity + 0x0a => BlockAction + 0x0b => BlockChange_VarInt + 0x0c => BossBar + 0x0d => ServerDifficulty_Locked + 0x0e => ServerMessage // TODO + 0x0f => MultiBlockChange_VarInt + 0x10 => TabCompleteReply + 0x11 => DeclareCommands + 0x12 => ConfirmTransaction + 0x13 => WindowClose + 0x14 => WindowItems + 0x15 => WindowProperty + 0x16 => WindowSetSlot + 0x17 => SetCooldown + 0x18 => PluginMessageClientbound + 0x19 => NamedSoundEffect + 0x1a => Disconnect + 0x1b => EntityAction + 0x1c => Explosion + 0x1d => ChunkUnload + 0x1e => ChangeGameState + 0x1f => WindowOpenHorse + 0x20 => KeepAliveClientbound_i64 + 0x21 => ChunkData_Biomes3D // TODO + 0x22 => Effect + 0x23 => Particle_f64 + 0x24 => UpdateLight + 0x25 => JoinGame_HashedSeed_Respawn + 0x26 => Maps + 0x27 => TradeList_WithRestock + 0x28 => EntityMove_i16 + 0x29 => EntityLookAndMove_i16 + 0x2a => EntityLook_VarInt + 0x2b => Entity + 0x2c => VehicleTeleport + 0x2d => OpenBook + 0x2e => WindowOpen_VarInt + 0x2f => SignEditorOpen + 0x30 => CraftRecipeResponse + 0x31 => PlayerAbilities + 0x32 => CombatEvent + 0x33 => PlayerInfo + 0x34 => FacePlayer + 0x35 => TeleportPlayer_WithConfirm + 0x36 => UnlockRecipes_WithSmelting + 0x37 => EntityDestroy + 0x38 => EntityRemoveEffect + 0x39 => ResourcePackSend + 0x3a => Respawn_HashedSeed // TODO + 0x3b => EntityHeadLook + 0x3c => SelectAdvancementTab + 0x3d => WorldBorder + 0x3e => Camera + 0x3f => SetCurrentHotbarSlot + 0x40 => UpdateViewPosition + 0x41 => UpdateViewDistance + 0x42 => SpawnPosition 0x43 => ScoreboardDisplay 0x44 => EntityMetadata 0x45 => EntityAttach @@ -134,21 +135,20 @@ protocol_packet_ids!( 0x4b => SetPassengers 0x4c => Teams_VarInt 0x4d => UpdateScore - 0x4e => SpawnPosition - 0x4f => TimeUpdate - 0x50 => Title - 0x51 => EntitySoundEffect - 0x52 => SoundEffect - 0x53 => StopSound - 0x54 => PlayerListHeaderFooter - 0x55 => NBTQueryResponse - 0x56 => CollectItem - 0x57 => EntityTeleport_f64 - 0x58 => Advancements - 0x59 => EntityProperties - 0x5a => EntityEffect - 0x5b => DeclareRecipes - 0x5c => TagsWithEntities + 0x4e => TimeUpdate + 0x4f => Title + 0x50 => EntitySoundEffect + 0x51 => SoundEffect + 0x52 => StopSound + 0x53 => PlayerListHeaderFooter + 0x54 => NBTQueryResponse + 0x55 => CollectItem + 0x56 => EntityTeleport_f64 + 0x57 => Advancements + 0x58 => EntityProperties + 0x59 => EntityEffect + 0x5a => DeclareRecipes + 0x5b => TagsWithEntities } } login Login {