package
Version:
v0.0.4
Opens a new window with list of versions in this module.
Published: Jan 30, 2021
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Colour represents the colour of a block. Typically, Minecraft blocks have a total of 16 different colours.
All returns a list of all existing colours.
Black returns the black colour.
Blue returns the blue colour.
Brown returns the brown colour.
Cyan returns the cyan colour.
Green returns the green colour.
Grey returns the grey colour.
LightBlue returns the light blue colour.
LightGrey returns the light grey colour.
Lime returns the lime colour.
Magenta returns the magenta colour.
Orange returns the orange colour.
Pink returns the pink colour.
Purple returns the purple colour.
Red returns the red colour.
White returns the white colour.
Yellow returns the yellow colour.
func (c Colour) FromString(s string) (interface{}, error)
FromString ...
func (c Colour) String() string
String ...
func (c Colour) Uint8() uint8
Uint8 ...
Source Files
¶
Click to show internal directories.
Click to hide internal directories.