- 致编者:请牢记我们的域名wiki.mcbe-dev.net!
- 致编者:欢迎加入本Wiki的官方交流QQ群或Discord服务器!
- 基岩版1.19.31现已发布!(了解更多)
- Inner Core现已支持Xbox模组联机!(了解更多)
- 如果您是第一次来到本Wiki,欢迎注册一个账户
- 点击顶部的“编辑”或“编辑源代码”按钮即可编辑当前页面
- 请知悉:在不登录时也可以编辑和新建页面,但是您当前的IP地址会记录在编辑历史中
封包
出自Minecraft基岩版开发Wiki
封包(Packet)是Minecraft中用戶端和伺服器端通信時的必要手段。
訊息[編輯]
鍵名 | 值 | 描述 |
---|---|---|
ID_CONNECTED_PING |
0 | |
ID_UNCONNECTED_PING |
1 | |
ID_UNCONNECTED_PING_OPEN_CONNECTIONS |
2 | |
ID_CONNECTED_PONG |
3 | |
ID_DETECT_LOST_CONNECTIONS |
4 | |
ID_OPEN_CONNECTION_REQUEST_1 |
5 | |
ID_OPEN_CONNECTION_REPLY_1 |
6 | |
ID_OPEN_CONNECTION_REQUEST_2 |
7 | |
ID_OPEN_CONNECTION_REPLY_2 |
8 | |
ID_CONNECTION_REQUEST |
9 | |
ID_REMOTE_SYSTEM_REQUIRES_PUBLIC_KEY |
10 | |
ID_OUR_SYSTEM_REQUIRES_SECURITY |
11 | |
ID_PUBLIC_KEY_MISMATCH |
12 | |
ID_OUT_OF_BAND_INTERNAL |
13 | |
ID_SND_RECEIPT_ACKED |
14 | |
ID_SND_RECEIPT_LOSS |
15 | |
ID_CONNECTION_REQUEST_ACCEPTED |
16 | |
ID_CONNECTION_ATTEMPT_FAILED |
17 | |
ID_ALREADY_CONNECTED |
18 | |
ID_NEW_INCOMING_CONNECTION |
19 | |
ID_NO_FREE_INCOMING_CONNECTIONS |
20 | |
ID_DISCONNECTION_NOTIFICATION |
21 | |
ID_CONNECTION_LOST |
22 | |
ID_CONNECTION_BANNED |
23 | |
ID_INVALID_PASSWORD |
24 | |
ID_INCOMPATIBLE_PROTOCOL_VERSION |
25 | |
ID_IP_RECENTLY_CONNECTED |
26 | |
ID_TIMESTAMP |
27 | |
ID_UNCONNECTED_PONG |
28 | |
ID_ADVERTISE_SYSTEM |
29 | |
ID_DOWNLOAD_PROGRESS |
30 | |
ID_REMOTE_DISCONNECTION_NOTIFICATION |
31 | |
ID_REMOTE_CONNECTION_LOST |
32 | |
ID_REMOTE_NEW_INCOMING_CONNECTION |
33 | |
ID_FILE_LIST_TRANSFER_HEADER |
34 | |
ID_FILE_LIST_TRANSFER_FILE |
35 | |
ID_FILE_LIST_REFERENCE_PUSH_ACK |
36 | |
ID_DDT_DOWNLOAD_REQUEST |
37 | |
ID_TRANSPORT_STRING |
38 | |
ID_REPLICA_MANAGER_CONSTRUCTION |
39 | |
ID_REPLICA_MANAGER_SCOPE_CHANGE |
40 | |
ID_REPLICA_MANAGER_SERIALIZE |
41 | |
ID_REPLICA_MANAGER_DOWNLOAD_STARTED |
42 | |
ID_REPLICA_MANAGER_DOWNLOAD_COMPLETE |
43 | |
ID_RAKVOICE_OPEN_CHANNEL_REQUEST |
44 | |
ID_RAKVOICE_OPEN_CHANNEL_REPLY |
45 | |
ID_RAKVOICE_CLOSE_CHANNEL |
46 | |
ID_RAKVOICE_DATA |
47 | |
ID_AUTOPATCHER_GET_CHANGELIST_SINCE_DATE |
48 | |
ID_AUTOPATCHER_CREATION_LIST |
49 | |
ID_AUTOPATCHER_DELETION_LIST |
50 | |
ID_AUTOPATCHER_GET_PATCH |
51 | |
ID_AUTOPATCHER_PATCH_LIST |
52 | |
ID_AUTOPATCHER_REPOSITORY_FATAL_ERROR |
53 | |
ID_AUTOPATCHER_CANNOT_DOWNLOAD_ORIGINAL_UNMODIFIED_FILES |
54 | |
ID_AUTOPATCHER_FINISHED_INTERNAL |
55 | |
ID_AUTOPATCHER_FINISHED |
56 | |
ID_AUTOPATCHER_RESTART_APPLICATION |
57 | |
ID_NAT_PUNCHTHROUGH_REQUEST |
58 | |
ID_NAT_CONNECT_AT_TIME |
59 | |
ID_NAT_GET_MOST_RECENT_PORT |
60 | |
ID_NAT_CLIENT_READY |
61 | |
ID_NAT_TARGET_NOT_CONNECTED |
62 | |
ID_NAT_TARGET_UNRESPONSIVE |
63 | |
ID_NAT_CONNECTION_TO_TARGET_LOST |
64 | |
ID_NAT_ALREADY_IN_PROGRESS |
65 | |
ID_NAT_PUNCHTHROUGH_FAILED |
66 | |
ID_NAT_PUNCHTHROUGH_SUCCEEDED |
67 | |
ID_READY_EVENT_SET |
68 | |
ID_READY_EVENT_UNSET |
69 | |
ID_READY_EVENT_ALL_SET |
70 | |
ID_READY_EVENT_QUERY |
71 | |
ID_LOBBY_GENERAL |
72 | |
ID_RPC_REMOTE_ERROR |
73 | |
ID_RPC_PLUGIN |
74 | |
ID_FILE_LIST_REFERENCE_PUSH |
75 | |
ID_READY_EVENT_FORCE_ALL_SET |
76 | |
ID_ROOMS_EXECUTE_FUNC |
77 | |
ID_ROOMS_LOGON_STATUS |
78 | |
ID_ROOMS_HANDLE_CHANGE |
79 | |
ID_LOBBY2_SEND_MESSAGE |
80 | |
ID_LOBBY2_SERVER_ERROR |
81 | |
ID_FCM2_NEW_HOST |
82 | |
ID_FCM2_REQUEST_FCMGUID |
83 | |
ID_FCM2_RESPOND_CONNECTION_COUNT |
84 | |
ID_FCM2_INFORM_FCMGUID |
85 | |
ID_FCM2_UPDATE_MIN_TOTAL_CONNECTION_COUNT |
86 | |
ID_FCM2_VERIFIED_JOIN_START |
87 | |
ID_FCM2_VERIFIED_JOIN_CAPABLE |
88 | |
ID_FCM2_VERIFIED_JOIN_FAILED |
89 | |
ID_FCM2_VERIFIED_JOIN_ACCEPTED |
90 | |
ID_FCM2_VERIFIED_JOIN_REJECTED |
91 | |
ID_UDP_PROXY_GENERAL |
92 | |
ID_SQLite3_EXEC |
93 | |
ID_SQLite3_UNKNOWN_DB |
94 | |
ID_SQLLITE_LOGGER |
95 | |
ID_NAT_TYPE_DETECTION_REQUEST |
96 | |
ID_NAT_TYPE_DETECTION_RESULT |
97 | |
ID_ROUTER_2_INTERNAL |
98 | |
ID_ROUTER_2_FORWARDING_NO_PATH |
99 | |
ID_ROUTER_2_FORWARDING_ESTABLISHED |
100 | |
ID_ROUTER_2_REROUTED |
101 | |
ID_TEAM_BALANCER_INTERNAL |
102 | |
ID_TEAM_BALANCER_REQUESTED_TEAM_FULL |
103 | |
ID_TEAM_BALANCER_REQUESTED_TEAM_LOCKED |
104 | |
ID_TEAM_BALANCER_TEAM_REQUESTED_CANCELLED |
105 | |
ID_TEAM_BALANCER_TEAM_ASSIGNED |
106 | |
ID_LIGHTSPEED_INTEGRATION |
107 | |
ID_XBOX_LOBBY |
108 | |
ID_TWO_WAY_AUTHENTICATION_INCOMING_CHALLENGE_SUCCESS |
109 | |
ID_TWO_WAY_AUTHENTICATION_OUTGOING_CHALLENGE_SUCCESS |
110 | |
ID_TWO_WAY_AUTHENTICATION_INCOMING_CHALLENGE_FAILURE |
111 | |
ID_TWO_WAY_AUTHENTICATION_OUTGOING_CHALLENGE_FAILURE |
112 | |
ID_TWO_WAY_AUTHENTICATION_OUTGOING_CHALLENGE_TIMEOUT |
113 | |
ID_TWO_WAY_AUTHENTICATION_NEGOTIATION |
114 | |
ID_CLOUD_POST_REQUEST |
115 | |
ID_CLOUD_RELEASE_REQUEST |
116 | |
ID_CLOUD_GET_REQUEST |
117 | |
ID_CLOUD_GET_RESPONSE |
118 | |
ID_CLOUD_UNSUBSCRIBE_REQUEST |
119 | |
ID_CLOUD_SERVER_TO_SERVER_COMMAND |
120 | |
ID_CLOUD_SUBSCRIPTION_NOTIFICATION |
121 | |
ID_LIB_VOICE |
122 | |
ID_RELAY_PLUGIN |
123 | |
ID_NAT_REQUEST_BOUND_ADDRESSES |
124 | |
ID_NAT_RESPOND_BOUND_ADDRESSES |
125 | |
ID_FCM2_UPDATE_USER_CONTEXT |
126 | |
ID_RESERVED_3 |
127 | |
ID_RESERVED_4 |
128 | |
ID_RESERVED_5 |
129 | |
ID_RESERVED_6 |
130 | |
ID_RESERVED_7 |
131 | |
ID_RESERVED_8 |
132 | |
ID_RESERVED_9 |
133 | |
ID_PONG_ADDRESS_INFO |
134 | |
ID_NAT_TRAVERSAL_PING |
135 | |
ID_NAT_TRAVERSAL_PONG |
136 | |
ID_REQUEST_WEBSOCKET_CONNECTION |
137 | |
ID_ACK_FAILED_WEBSOCKET_REQUEST |
138 | |
ID_AVAILABLE_5 |
139 | |
ID_AVAILABLE_6 |
140 | |
ID_AVAILABLE_7 |
141 |
型別[編輯]
鍵名 | 值 | 描述 |
---|---|---|
Login |
1 | 登入 |
PlayStatus |
2 | 遊玩狀態 |
ServerToClientHandshake |
3 | 伺服器端向用戶端握手 |
ClientToServerHandshake |
4 | 用戶端向伺服器端握手 |
Disconnect |
5 | 斷開連接 |
ResourcePacksInfo |
6 | 資源包資訊 |
ResourcePackStack |
7 | 資源包堆疊 |
ResourcePackClientResponse |
8 | 資源包用戶端響應 |
Text |
9 | 文字 |
SetTime |
10 | 設定時間 |
StartGame |
11 | 啟動遊戲 |
AddPlayer |
12 | 加入玩家 |
AddActor |
13 | 加入活動物件 |
RemoveActor |
14 | 移除活動物件 |
AddItemActor |
15 | 加入物品活動物件 |
ServerPlayerPostMovePosition |
16 | 伺服器端玩家移動位置後 |
TakeItemActor |
17 | 拾取物品活動物件 |
MoveAbsoluteActor |
18 | 以絕對距離移動活動物件 |
MovePlayer |
19 | 移動玩家 |
PassengerJump |
20 | 乘客控制跳躍 |
UpdateBlock |
21 | 更新方塊 |
AddPainting |
22 | 加入畫 |
TickSync |
23 | 滴答同步 |
LevelSoundEventV1 |
24 | 舊版存檔聲音事件 |
LevelEvent |
25 | 存檔事件 |
TileEvent |
26 | 滴答事件 |
ActorEvent |
27 | 活動物件事件 |
MobEffect |
28 | 生物效果 |
UpdateAttributes |
29 | 更新特性 |
InventoryTransaction |
30 | 物品欄交換 |
PlayerEquipment |
31 | 玩家裝備 |
MobArmorEquipment |
32 | 生物盔甲裝備 |
Interact |
33 | 互動 |
BlockPickRequest |
34 | 方塊拾取請求 |
ActorPickRequest |
35 | 活動物件拾取請求 |
PlayerAction |
36 | 玩家操作 |
ActorFall_deprecated |
37 | 活動物件跌落,已棄用 |
HurtArmor |
38 | 盔甲受傷 |
SetActorData |
39 | 設定活動物件數據 |
SetActorMotion |
40 | 設定活動物件運動 |
SetActorLink |
41 | 設定活動物件連結,即騎乘關係 |
SetHealth |
42 | 設定生命 |
SetSpawnPosition |
43 | 設定重生點 |
Animate |
44 | 執行動畫 |
Respawn |
45 | 重生 |
ContainerOpen |
46 | 容器開啟 |
ContainerClose |
47 | 容器關閉 |
PlayerHotbar |
48 | 玩家快捷欄 |
InventoryContent |
49 | 物品欄內容 |
InventorySlot |
50 | 物品欄欄位 |
ContainerSetData |
51 | 容器設定數據 |
CraftingData |
52 | 合成數據 |
CraftingEvent_Deprecated |
53 | 合成事件,已棄用 |
GuiDataPickItem |
54 | GUI數據選取物品 |
AdventureSettings_Deprecated |
55 | 冒險設定,已棄用 |
BlockActorData |
56 | 方塊活動物件數據 |
PlayerInput |
57 | 玩家輸入 |
FullChunkData |
58 | 完整區塊數據 |
SetCommandsEnabled |
59 | 設定命令啟用狀態 |
SetDifficulty |
60 | 設定難易度 |
ChangeDimension |
61 | 變更維度 |
SetPlayerGameType |
62 | 設定玩家遊戲型別 |
PlayerList |
63 | 玩家列表 |
SimpleEvent |
64 | 簡單事件 |
Event |
65 | 事件 |
SpawnExperienceOrb |
66 | 生成經驗球 |
MapData |
67 | 生物數據 |
MapInfoRequest |
68 | 地圖資訊請求 |
RequestChunkRadius |
69 | 請求區塊半徑 |
ChunkRadiusUpdated |
70 | 區塊半徑更新 |
ItemFrameDropItem_Deprecated |
71 | 物品展示框跌落物品,已棄用 |
GameRulesChanged |
72 | 遊戲規則變更 |
Camera |
73 | 相機 |
BossEvent |
74 | Boss事件 |
ShowCredits |
75 | 顯示鳴謝表 |
AvailableCommands |
76 | 可用命令 |
CommandRequest |
77 | 命令請求 |
CommandBlockUpdate |
78 | 命令方塊更新 |
CommandOutput |
79 | 命令輸出 |
UpdateTrade |
80 | 更新交易 |
UpdateEquip |
81 | 更新裝備 |
ResourcePackDataInfo |
82 | 資源包數據資訊 |
ResourcePackChunkData |
83 | 資源包區塊資訊 |
ResourcePackChunkRequest |
84 | 資源包區塊請求 |
Transfer |
85 | 切服,即使一個玩家在不同伺服器之間切換 |
PlaySound |
86 | 播放聲音 |
StopSound |
87 | 停止聲音 |
SetTitle |
88 | 設定標題 |
AddBehaviorTree |
89 | 加入行為樹 |
StructureBlockUpdate |
90 | 結構方塊更新 |
ShowStoreOffer |
91 | 顯示商店供應 |
PurchaseReceipt |
92 | 購買回執 |
PlayerSkin |
93 | 玩家外觀 |
SubclientLogin |
94 | 子用戶端登入 |
AutomationClientConnect |
95 | 自動化用戶端連接 |
SetLastHurtBy |
96 | 設定最後受傷來源 |
BookEdit |
97 | 編輯書 |
NPCRequest |
98 | NPC請求 |
PhotoTransfer |
99 | 照片傳輸 |
ShowModalForm |
100 | 顯示模態表單 |
ModalFormResponse |
101 | 模態表單響應 |
ServerSettingsRequest |
102 | 伺服器設定請求 |
ServerSettingsResponse |
103 | 伺服器設定響應 |
ShowProfile |
104 | 顯示檔案 |
SetDefaultGameType |
105 | 設定預設遊戲型別 |
RemoveObjective |
106 | 移除目標項 |
SetDisplayObjective |
107 | 設定顯示目標項 |
SetScore |
108 | 設定分數 |
LabTable |
109 | 實驗台 |
UpdateBlockSynced |
110 | 更新方塊同步狀態 |
MoveDeltaActor |
111 | 以變化量移動活動物件 |
SetScoreboardIdentity |
112 | 設定計分板 |
SetLocalPlayerAsInit |
113 | 設定本地玩家為已初始化 |
UpdateSoftEnum |
114 | 更新軟列舉 |
Ping |
115 | ping請求 |
BlockPalette |
116 | 方塊調色板 |
ScriptCustomEvent |
117 | 腳本自訂事件 |
SpawnParticleEffect |
118 | 顯示粒子效果 |
AvailableActorIDList |
119 | 可用活動物件ID列表 |
LevelSoundEventV2 |
120 | 新版存檔聲音事件 |
NetworkChunkPublisherUpdate |
121 | 網路區塊發佈器更新 |
BiomeDefinitionList |
122 | 生物羣落定義列表 |
LevelSoundEvent |
123 | 存檔聲音事件 |
LevelEventGeneric |
124 | 通用存檔事件 |
LecternUpdate |
125 | 燈籠更新 |
VideoStreamConnect_DEPRECATED |
126 | 影片流連接,已棄用 |
AddEntity_DEPRECATED |
127 | 加入實體,已棄用 |
RemoveEntity_DEPRECATED |
128 | 移除實體,已棄用 |
ClientCacheStatus |
129 | 用戶端緩存狀態 |
OnScreenTextureAnimation |
130 | 熒幕上紋理動畫 |
MapCreateLockedCopy |
131 | 地圖建立已鎖定副本 |
StructureTemplateDataExportRequest |
132 | 結構模板數據匯出請求 |
StructureTemplateDataExportResponse |
133 | 結構模板數據匯出響應 |
UNUSED_PLS_USE_ME |
134 | 空白封包 |
ClientCacheBlobStatusPacket |
135 | 用戶端緩存二進制大型物件狀態 |
ClientCacheMissResponsePacket |
136 | 用戶端緩存丟失響應 |
EducationSettingsPacket |
137 | 教育設定 |
Emote |
138 | 表情 |
MultiplayerSettingsPacket |
139 | 多人遊戲設定 |
SettingsCommandPacket |
140 | 設定命令 |
AnvilDamage |
141 | 鐵砧損壞 |
CompletedUsingItem |
142 | 完成使用物品 |
NetworkSettings |
143 | 網路設定 |
PlayerAuthInputPacket |
144 | 玩家認證輸入 |
CreativeContent |
145 | 創造內容 |
PlayerEnchantOptions |
146 | 玩家附魔選項 |
ItemStackRequest |
147 | 物品堆疊請求 |
ItemStackResponse |
148 | 物品堆疊響應 |
PlayerArmorDamage |
149 | 玩家盔甲損壞 |
CodeBuilderPacket |
150 | 程式碼構建器 |
UpdatePlayerGameType |
151 | 更新玩家遊戲型別 |
EmoteList |
152 | 表情列表 |
PositionTrackingDBServerBroadcast |
153 | 位置追蹤DB伺服器端廣播 |
PositionTrackingDBClientRequest |
154 | 位置追蹤DB用戶端請求 |
DebugInfoPacket |
155 | 除錯資訊 |
PacketViolationWarning |
156 | 封包違禁警吿 |
MotionPredictionHints |
157 | 運動預測提示 |
TriggerAnimation |
158 | 觸發器動畫 |
CameraShake |
159 | 相機抖動 |
PlayerFogSetting |
160 | 玩家迷霧設定 |
CorrectPlayerMovePredictionPacket |
161 | 糾正玩家移動預測 |
ItemComponentPacket |
162 | 物品元件 |
FilterTextPacket_DEPRECATED |
163 | 過濾器文字,已棄用 |
ClientBoundDebugRendererPacket |
164 | 用戶端邊界除錯渲染器 |
SyncActorProperty |
165 | 同步活動物件屬性 |
AddVolumeEntityPacket |
166 | 加入功能域實體 |
RemoveVolumeEntityPacket |
167 | 移除功能域實體 |
SimulationTypePacket |
168 | 模擬型別 |
NpcDialoguePacket |
169 | NPC對話 |
EduUriResourcePacket |
170 | 教育URI資源 |
CreatePhotoPacket |
171 | 建立照片 |
UpdateSubChunkBlocks |
172 | 更新子區塊方塊 |
PhotoInfoRequest_DEPRECATED |
173 | 照片資訊請求,已棄用 |
SubChunkPacket |
174 | 子區塊 |
SubChunkRequestPacket |
175 | 子區塊請求 |
PlayerStartItemCooldown |
176 | 玩家開始物品冷卻 |
ScriptMessagePacket |
177 | 腳本訊息 |
CodeBuilderSourcePacket |
178 | 程式碼構建器原始碼 |
TickingAreasLoadStatus |
179 | 常載入區域載入 |
DimensionDataPacket |
180 | 維度數據 |
AgentAction |
181 | 智慧體操作 |
ChangeMobProperty |
182 | 變更生物屬性 |
LessonProgressPacket |
183 | 課程進度 |
RequestAbilityPacket |
184 | 請求能力 |
RequestPermissionsPacket |
185 | 請求權限 |
ToastRequest |
186 | 吐司 |
UpdateAbilitiesPacket |
187 | 更新能力 |
UpdateAdventureSettingsPacket |
188 | 更新冒險設定 |
DeathInfo |
189 | 死亡資訊 |
EditorNetworkPacket |
190 | 編輯器網路 |
FeatureRegistryPacket |
191 | 地物註冊器 |
ServerStats |
192 | 伺服器端狀態 |
RequestNetworkSettings |
193 | 請求網路設定 |
GameTestRequestPacket |
194 | GameTest請求 |
GameTestResultsPacket |
195 | GameTest結果 |
PlayerClientInputPermissions |
196 | 玩家用戶端輸入權限 |
ClientCheatAbilityPacket_Deprecated |
197 | 用戶端作弊能力,已棄用 |
CameraPresets |
198 | 相機預設 |
UnlockedRecipes |
199 | 解鎖配方 |
CameraInstruction |
300 | 相機指令 |
CompressedBiomeDefinitionList |
301 | 壓縮生物羣落定義列表 |
TrimData |
302 | 紋飾數據 |
OpenSign |
303 | 開啟指示牌 |
AgentAnimation |
304 | 智慧體動畫 |
RefreshEntitlementsPacket |
305 | 刷新權益 |
PlayerToggleCrafterSlotRequestPacket |
306 | 玩家切換合成器欄位請求 |
SetPlayerInventoryOptions |
307 | 設定玩家物品欄選項 |
SetHudPacket |
308 | 設定HUD |