package
Version:
v0.0.4
Opens a new window with list of versions in this module.
Published: Jan 4, 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
¶
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.
Acacia returns acacia wood material.
All returns a list of all wood types
Birch returns birch wood material.
Crimson returns crimson wood material.
DarkOak returns dark oak wood material.
Jungle returns jungle wood material.
Oak returns oak wood material.
Spruce returns spruce wood material.
Warped returns warped wood material.
func (w Wood) Flammable() bool
Flammable returns whether the wood type is flammable.
func (w Wood) FromString(s string) (interface{}, error)
FromString ...
func (w Wood) Uint8() uint8
Uint8 returns the wood as a uint8.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.