类型 | Fabric | Forge | 作用 |
---|---|---|---|
数据包存储位置 | net.minecraft.network.packet.c2s.play.* net.minecraft.network.packet.s2s.play.* | net.minecraft.network.protocal.game.* | / |
服务端发包标识 | S2S | Clientbound | / |
客户端发包标识 | C2S | Serverbound | / |
客户端发包 | AdvancementTabC2SPacket | ServerboundSeenAdvancementsPacket | 查看玩家指定成就 |
客户端发包 | BoatPaddleStateC2SPacket | ServerboundPaddleBoatPacket | 控制船的左右移动方向 |
客户端发包 | BookUpdateC2SPacket | ServerboundEditBookPacket | 编辑书的内容 |
客户端发包 | ButtonClickC2SPacket | ServerboundContainerButtonClickPacket | 在对应界面上点击指定按钮 |
客户端发包 | ChatMessageC2SPacket | ServerboundChatPacket | 发送聊天信息 |
客户端发包 | ClickSlotC2SPacket | ServerboundContainerClickPacket | 在对应界面上点击指定按钮或物品 |
客户端发包 | ClientCommandC2SPacket | ServerboundPlayerCommandPacket | 玩家事件 |
客户端发包 | ClientSettingsC2SPacket | ServerboundClientInformationPacket | 发送客户端信息 |
客户端发包 | ClientStatusC2SPacket | ServerboundClientCommandPacket | 控制玩家重生或其他操作 |
客户端发包 | CloseHandledScreenC2SPacket | ServerboundContainerClosePacket | 控制关闭指定界面 |
客户端发包 | CreativeInventoryActionC2SPacket | ServerboundSetCreativeModeSlotPacket | 设置玩家背包指定位置上的物品 |
客户端发包 | HandSwingC2SPacket | ServerboundSwingPacket | 摇手 |
客户端发包 | JigsawGeneratingC2SPacket | ServerboundJigsawGeneratePacket | 设置拼图方块 |
客户端发包 | MessageAcknowledgmentC2SPacket | ServerboundChatAckPacket | 确认消息 |
客户端发包 | PickFromInventoryC2SPacket | ServerboundSetCarriedItemPacket | 从背包中选择物品 |
客户端发包 | PlayerActionC2SPacket | ServerboundPlayerActionPacket | 玩家事件 |
客户端发包 | PlayerInputC2SPacket | ServerboundPlayerInputPacket | 玩家输出事件 |
客户端发包 | PlayerInteractEntityC2SPacket | ServerboundInteractPacket | 实体交互事件 |
客户端发包 | PlayerMoveC2SPacket | ServerboundMovePlayerPacket | 设置玩家位置 |
客户端发包 | PlayerMoveC2SPacket.OnGroundOnly | ServerboundMovePlayerPacket.StatusOnly | 设置玩家是否在陆地上,一般用于实现NoFall功能 |
客户端发包 | PlayerMoveC2SPacket.LookAndOnGround | ServerboundMovePlayerPacket.Rot | 设置玩家摄像机朝向和是否在陆地上 |
客户端发包 | PlayerMoveC2SPacket.PositionAndOnGround | ServerboundMovePlayerPacket.Pos | 设置玩家位置和是否在陆地上 |
客户端发包 | PlayerSessionC2SPacket | ServerboundChatSessionUpdatePacket | 聊天消息验证 |
客户端发包 | QueryBlockNbtC2SPacket | ServerboundBlockEntityTagQuery | 方块实体状态和Nbt查询 |
客户端发包 | QueryEntityNbtC2SPacket | ServerboundEntityTagQuery | 实体状态和Nbt查询 |
客户端发包 | RecipeBookDataC2SPacket | ServerboundRecipeBookSeenRecipePacket | 合成表同步 |
客户端发包 | RecipeCategoryOptionsC2SPacket | ServerboundRecipeBookChangeSettingsPacket | 合成表分类设置 |
客户端发包 | RenameItemC2SPacket | ServerboundRenameItemPacket | 物品重命名 |
客户端发包 | RequestCommandCompletionsC2SPacket | ServerboundCommandSuggestionPacket | 指令发送 |
客户端发包 | TeleportConfirmC2SPacket | ServerboundAcceptTeleportationPacket | 传送 |
客户端发包 | UpdateBeaconC2SPacket | ServerboundSetBeaconPacket | 信标状态更新 |
客户端发包 | UpdateCommandBlockC2SPacket | ServerboundSetCommandBlockPacket | 命令方块更新 |
客户端发包 | UpdateCommandBlockMinecartC2SPacket | ServerboundSetCommandMinecartPacket | 命令方块矿车更新 |
客户端发包 | UpdateDifficultyC2SPacket | ServerboundChangeDifficultyPacket | 游戏难度更新 |
客户端发包 | UpdateDifficultyLockC2SPacket | ServerboundLockDifficultyPacket | 设置游戏难度锁定状态 |
客户端发包 | UpdateJigsawC2SPacket | ServerboundSetJigsawBlockPacket | 拼图方块更新 |
客户端发包 | UpdatePlayerAbilitiesC2SPacket | ServerboundPlayerAbilitiesPacket | 玩家飞行能力更新 |
客户端发包 | UpdateSignC2SPacket | ServerboundSignUpdatePacket | 告示牌更新 |
客户端发包 | UpdateStructureBlockC2SPacket | ServerboundSetStructureBlockPacket | 结构方块更新 |
客户端发包 | VehicleMoveC2SPacket | ServerboundMoveVehiclePacket | 坐骑位置更新 |