basic

package
v0.0.0-...-18e7427 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Jacket
	LeftSleeve
	RightSleeve
	LeftPantsLeg
	RightPantsLeg
	Hat
)

Used by Settings.DisplayedSkinParts. For each bit set if shows match part.

Variables

View Source
var DefaultSettings = Settings{
	Locale:             "en_us",
	ViewDistance:       32,
	ChatMode:           0,
	DisplayedSkinParts: Jacket | LeftSleeve | RightSleeve | LeftPantsLeg | RightPantsLeg | Hat,
	MainHand:           1,

	EnableTextFiltering: false,
	AllowListing:        true,

	Brand: "vanilla",
}

DefaultSettings are the default settings of client

Functions

This section is empty.

Types

type Settings

type Settings struct {
	Locale             string
	ViewDistance       int
	ChatMode           int
	ChatColors         bool
	DisplayedSkinParts uint8
	MainHand           int

	// Enables filtering of text on signs and written book titles.
	// Currently, always false (i.e. the filtering is disabled)
	EnableTextFiltering bool
	AllowListing        bool

	// The brand string presented to the server.
	Brand string
}

Settings of client

Jump to

Keyboard shortcuts

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