fire

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 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 Fire

type Fire struct {
	LightLevel uint8
	// contains filtered or unexported fields
}

Fire represents a type of fire. Used by flaming blocks such as torches, lanterns, fire, and campfires.

func Normal

func Normal() Fire

Normal is the default variant of fires

func Soul

func Soul() Fire

Soul is a turquoise variant of normal fire

func (Fire) FromString

func (f Fire) FromString(s string) (interface{}, error)

FromString ...

func (Fire) Name

func (f Fire) Name() string

Name ...

func (Fire) String

func (f Fire) String() string

String ...

func (Fire) Uint8

func (f Fire) Uint8() uint8

Uint8 returns the fire as a uint8.

Jump to

Keyboard shortcuts

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