类型FabricForge作用
数据包存储位置

net.minecraft.network.packet.c2s.play.*

net.minecraft.network.packet.s2s.play.*

net.minecraft.network.protocal.game.*/
服务端发包标识S2SClientbound/
客户端发包标识C2SServerbound/
客户端发包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
坐骑位置更新