Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Flat ¶
type Flat struct {
// contains filtered or unexported fields
}
Flat is the flat generator of World. It generates flat worlds (like those in vanilla) with no other decoration. It may be constructed by calling NewFlat.
func NewFlat ¶
NewFlat creates a new Flat generator. Chunks generated are completely filled with the world.Biome passed. layers is a list of block layers placed by the Flat generator. The layers are ordered in a way where the last element in the slice is placed as the bottom-most block of the chunk.
Click to show internal directories.
Click to hide internal directories.