player

package
v0.0.0-...-07cd40f Latest Latest
Warning

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

Go to latest
Published: May 25, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientSettings

type ClientSettings struct {
	Locale               string // e.g. en_US
	ViewDistance         int8   // Client-side render distance, in chunks.
	ChatMode             int32  // 0: enabled, 1: commands only, 2: hidden.
	ChatColors           bool   // Can chat be colored?
	DisplayedSkinParts   uint8  // Flags in a comment below
	MainHand             int32  // 0: Left, 1: Right.
	TextFilteringEnabled bool   // Enables filtering of text on signs and written book titles.
	AllowServerListing   bool   // Should the player show in the status player sample
}

type Player

type Player struct {
	Name       string
	UUID       [16]byte
	Properties []types.Property

	Settings *ClientSettings
}

Jump to

Keyboard shortcuts

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