worldgenconfig

package
v0.0.0-...-35ed743 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2024 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 WGConfig

type WGConfig struct {
	GenerateStructures bool
	Dimension          world.Dimension
	WorldSize          WorldSize
	WorldPreset        WorldPreset
}

func DefaultConfig

func DefaultConfig(Dim world.Dimension) WGConfig

type WorldPreset

type WorldPreset int
const (
	PRESET_DEFAULT WorldPreset = iota
	PRESET_SUPERFLAT
	AMPLIFIED
	LARGE_BIOMES
	SINGLE_BIOME
)

type WorldSize

type WorldSize int
const (
	SIZE_INFINITE WorldSize = iota
	SIZE_BORDERED
	SIZE_OLD
)

Jump to

Keyboard shortcuts

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