colour

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2021 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 Colour

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

Colour represents the colour of a block. Typically, Minecraft blocks have a total of 16 different colours.

func All

func All() []Colour

All returns a list of all existing colours.

func Black

func Black() Colour

Black returns the black colour.

func Blue

func Blue() Colour

Blue returns the blue colour.

func Brown

func Brown() Colour

Brown returns the brown colour.

func Cyan

func Cyan() Colour

Cyan returns the cyan colour.

func Green

func Green() Colour

Green returns the green colour.

func Grey

func Grey() Colour

Grey returns the grey colour.

func LightBlue

func LightBlue() Colour

LightBlue returns the light blue colour.

func LightGrey

func LightGrey() Colour

LightGrey returns the light grey colour.

func Lime

func Lime() Colour

Lime returns the lime colour.

func Magenta

func Magenta() Colour

Magenta returns the magenta colour.

func Orange

func Orange() Colour

Orange returns the orange colour.

func Pink

func Pink() Colour

Pink returns the pink colour.

func Purple

func Purple() Colour

Purple returns the purple colour.

func Red

func Red() Colour

Red returns the red colour.

func White

func White() Colour

White returns the white colour.

func Yellow

func Yellow() Colour

Yellow returns the yellow colour.

func (Colour) FromString

func (c Colour) FromString(s string) (interface{}, error)

FromString ...

func (Colour) String

func (c Colour) String() string

String ...

func (Colour) Uint8

func (c Colour) Uint8() uint8

Uint8 ...

Jump to

Keyboard shortcuts

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