protocol

package module
v0.0.0-...-bf05ccc Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2021 License: MPL-2.0 Imports: 0 Imported by: 0

README

Protocol (Under Development)

Go Reference Go version Go Report Card License

A set of utilities to work with the minecraft protocol in Go.

Todo list
  • Protocol
    • List all minecraft protocol versions
    • List supported protocol versions
  • Packets
    • Packet registry
    • Basic packets with working read/write on latest version
    • Multiple version support
  • Dimensions
    • Dimension registry
    • Basic dimension support working with latest version
    • Multiple version support
  • Blocks
    • Block registry
    • Basic support for block IDs with latest version
    • Support for getting block properties (displayName, stackSize, hardness, etc)
    • All the above but with support for multiple versions
  • Biomes
    • Biome registry
    • Basic support for biomes working wiht latest version
    • Multiple version support
  • Documentation
    • Document code
    • Create a wiki

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Direction

type Direction int
const (
	ClientBound Direction = iota
	ServerBound
)

func (Direction) String

func (direction Direction) String() string

type State

type State int
const (
	Handshaking State = iota
	Status
	Login
	Play
)

func (State) String

func (state State) String() string

type Version

type Version int
const (
	Unknown Version = -1

	V1_8    Version = 47
	V1_9    Version = 107
	V1_9_1  Version = 108
	V1_9_2  Version = 109
	V1_9_3  Version = 110
	V1_10   Version = 210
	V1_11   Version = 315
	V1_11_1 Version = 316
	V1_12   Version = 335
	V1_12_1 Version = 338
	V1_12_2 Version = 340
	V1_13   Version = 393
	V1_13_1 Version = 401
	V1_13_2 Version = 404
	V1_14   Version = 477
	V1_14_1 Version = 480
	V1_14_2 Version = 485
	V1_14_3 Version = 490
	V1_14_4 Version = 498
	V1_15   Version = 573
	V1_15_1 Version = 575
	V1_15_2 Version = 578
	V1_16   Version = 735
	V1_16_1 Version = 736
	V1_16_2 Version = 751
	V1_16_3 Version = 753
	V1_16_4 Version = 754
	V1_17   Version = 755
	V1_17_1 Version = 756
	V1_18   Version = 757
)

Jump to

Keyboard shortcuts

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