v486

package
v0.0.0-...-1765834 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 14, 2024 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Protocol

type Protocol struct {
	// contains filtered or unexported fields
}

Protocol Deprecated due to Mojang not supporting <1.20

func New

func New() *Protocol

func (Protocol) ConvertFromLatest

func (p Protocol) ConvertFromLatest(pk packet.Packet, conn *minecraft.Conn) (result []packet.Packet)

func (Protocol) ConvertToLatest

func (p Protocol) ConvertToLatest(pk packet.Packet, conn *minecraft.Conn) []packet.Packet

func (Protocol) Encryption

func (Protocol) Encryption(key [32]byte) packet.Encryption

func (Protocol) ID

func (p Protocol) ID() int32

func (Protocol) NewReader

func (Protocol) NewReader(r minecraft.ByteReader, shieldID int32, enableLimits bool) protocol.IO

func (Protocol) NewWriter

func (Protocol) NewWriter(w minecraft.ByteWriter, shieldID int32) protocol.IO

func (Protocol) Packets

func (Protocol) Packets(_ bool) packet.Pool

func (Protocol) Ver

func (p Protocol) Ver() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL