Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChatMessage ¶
func (*ChatMessage) FromPacket ¶
func (s *ChatMessage) FromPacket(packet pk.Packet) error
type ClickWindow ¶
type ClickWindow struct { WindowID pk.UByte Slot pk.Short Button pk.Byte ActionNumber pk.Short Mode pk.VarInt ClickedItem pk.Slot }
func (*ClickWindow) FromPacket ¶
func (s *ClickWindow) FromPacket(packet pk.Packet) error
type ClientSettings ¶
type ClientSettings struct { Locale pk.String ViewDistance pk.Byte ChatMode pk.VarInt ChatColors pk.Boolean DisplayedSkinParts pk.UByte MainHand pk.VarInt }
func (*ClientSettings) FromPacket ¶
func (s *ClientSettings) FromPacket(packet pk.Packet) error
type EntityAction ¶
func (*EntityAction) FromPacket ¶
func (p *EntityAction) FromPacket(packet pk.Packet) error
type InteractEntity ¶
type InteractEntity struct { EntityID pk.VarInt Type pk.VarInt TargetX pk.Float // Optional, if Type == 2 (interact at) TargetY pk.Float // Optional, if Type == 2 (interact at) TargetZ pk.Float // Optional, if Type == 2 (interact at) Hand pk.VarInt // Optional, if Type == 0 || Type == 2 (interact or interact at) Sneaking pk.Boolean }
func (*InteractEntity) FromPacket ¶
func (s *InteractEntity) FromPacket(packet pk.Packet) error
type PlayerBlockPlacement ¶
type PlayerBlockPlacement struct { Hand pk.VarInt Location pk.Position Face pk.VarInt CursorPositionX pk.Float CursorPositionY pk.Float CursorPositionZ pk.Float InsideBlock pk.Boolean }
func (*PlayerBlockPlacement) FromPacket ¶
func (s *PlayerBlockPlacement) FromPacket(packet pk.Packet) error
type PlayerDigging ¶
func (*PlayerDigging) FromPacket ¶
func (s *PlayerDigging) FromPacket(packet pk.Packet) error
type PlayerPosition ¶
func (*PlayerPosition) FromPacket ¶
func (s *PlayerPosition) FromPacket(packet pk.Packet) error
type PlayerPositionAndRotation ¶
type PlayerPositionAndRotation struct { X pk.Double Y pk.Double Z pk.Double Yaw pk.Float Pitch pk.Float OnGround pk.Boolean }
func (*PlayerPositionAndRotation) FromPacket ¶
func (s *PlayerPositionAndRotation) FromPacket(packet pk.Packet) error
type PlayerRotation ¶
func (*PlayerRotation) FromPacket ¶
func (s *PlayerRotation) FromPacket(packet pk.Packet) error
type QueryStatusPing ¶
func (*QueryStatusPing) FromPacket ¶
func (p *QueryStatusPing) FromPacket(packet pk.Packet) error
Click to show internal directories.
Click to hide internal directories.