wood

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 Wood

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

Wood represents a type of wood of a block. Some blocks, such as log blocks, bark blocks, wooden planks and others carry one of these types.

func Acacia

func Acacia() Wood

Acacia returns acacia wood material.

func All

func All() []Wood

All returns a list of all wood types

func Birch

func Birch() Wood

Birch returns birch wood material.

func Crimson

func Crimson() Wood

Crimson returns crimson wood material.

func DarkOak

func DarkOak() Wood

DarkOak returns dark oak wood material.

func Jungle

func Jungle() Wood

Jungle returns jungle wood material.

func Oak

func Oak() Wood

Oak returns oak wood material.

func Spruce

func Spruce() Wood

Spruce returns spruce wood material.

func Warped

func Warped() Wood

Warped returns warped wood material.

func (Wood) Flammable

func (w Wood) Flammable() bool

Flammable returns whether the wood type is flammable.

func (Wood) FromString

func (w Wood) FromString(s string) (interface{}, error)

FromString ...

func (Wood) Name

func (w Wood) Name() string

Name ...

func (Wood) String

func (w Wood) String() string

String ...

func (Wood) Uint8

func (w Wood) Uint8() uint8

Uint8 returns the wood as a uint8.

Jump to

Keyboard shortcuts

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