dolor.packets.clientbound.play.misc¶
- class ChatMessagePacket(*, buf=None, ctx=None, **kwargs)[source]¶
Bases:
dolor.packets.packet.ClientboundPacket,dolor.packets.packet.PlayPacket- id = <dolor.versions.VersionSwitcher object>¶
- data: dolor.types.chat.Chat¶
- position: dolor.types.enum.ByteEnum(ChatPosition)¶
- class DisconnectPlayPacket(*, buf=None, ctx=None, **kwargs)[source]¶
Bases:
dolor.packets.packet.ClientboundPacket,dolor.packets.packet.PlayPacket- id = <dolor.versions.VersionSwitcher object>¶
- reason: dolor.types.chat.Chat¶
- class KeepAlivePacket(*, buf=None, ctx=None, **kwargs)[source]¶
Bases:
dolor.packets.packet.ClientboundPacket,dolor.packets.packet.PlayPacket- id = <dolor.versions.VersionSwitcher object>¶
- keep_alive_id: dolor.types.numeric.Long¶
A signed 64-bit integer.
- class PlayerPositionAndLook(*, buf=None, ctx=None, **kwargs)[source]¶
Bases:
dolor.packets.packet.ClientboundPacket,dolor.packets.packet.PlayPacket- id = <dolor.versions.VersionSwitcher object>¶
- position: dolor.types.vector.DoubleVector¶
- yaw: dolor.types.numeric.Float¶
A 32-bit floating point value.
- pitch: dolor.types.numeric.Float¶
A 32-bit floating point value.
- relative: dolor.types.bit_mask.Relative¶
- teleport_id: dolor.types.numeric.VarInt¶
A signed, variable-length 32-bit integer.
- class UpdateHealthPacket(*, buf=None, ctx=None, **kwargs)[source]¶
Bases:
dolor.packets.packet.ClientboundPacket,dolor.packets.packet.PlayPacket- id = <dolor.versions.VersionSwitcher object>¶
- health: dolor.types.numeric.Float¶
A 32-bit floating point value.
- food: dolor.types.numeric.VarInt¶
A signed, variable-length 32-bit integer.
- saturation: dolor.types.numeric.Float¶
A 32-bit floating point value.