package
Version:
v0.0.5
Opens a new window with list of versions in this module.
Published: May 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
¶
Grass represents a grass plant, which can be placed on top of grass blocks.
All returns all variants of grass.
Fern returns the fern variant of grass.
LargeFern returns the large fern variant of grass.
func NetherSprouts() Grass
NetherSprouts returns the nether sprouts variant of grass.
SmallGrass returns the small grass variant of grass.
TallGrass returns the tall grass variant of grass.
func (g Grass) FromString(s string) (interface{}, error)
FromString ...
Name returns the grass's display name.
func (g Grass) String() string
String ...
func (g Grass) Uint8() uint8
Uint8 converts the grass to an integer that uniquely identifies it's type.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.