state

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2020 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Breathing

type Breathing struct{}

Breathing makes an entity breath: This state will not show up for entities other than players.

type Invisible

type Invisible struct{}

Invisible makes an entity invisible, so that other players won't be able to see it.

type Sneaking

type Sneaking struct{}

Sneaking makes the entity show up as if it is sneaking.

type Sprinting

type Sprinting struct{}

Sprinting makes an entity show up as if it is sprinting: Particles will show up when the entity moves around the world.

type State

type State interface {
	// contains filtered or unexported methods
}

State represents a part of the state of an entity. Entities may hold a combination of these to indicate things such as whether it is sprinting or on fire.

type Swimming

type Swimming struct{}

Swimming makes an entity show up as if it is swimming.

Jump to

Keyboard shortcuts

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