biome

package
v0.0.0-...-f33b5a6 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2020 License: BSD-3-Clause Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TypeOcean = Type(iota)
	TypePlains
	TypeDesert
	TypeHills
	TypeForest
	TypeTaiga
	TypeSwamp
	TypeRiver
	TypeNether
	TypeSky
	TypeSnow
	TypeMushroomIsland
	TypeBeach
	TypeJungle
	TypeStoneBeach
	TypeSavanna
	TypeMesa
	TypeVoid
)

Variables

View Source
var Badlands = &Biome{
	Id:          37,
	Name:        "badlands",
	Type:        TypeMesa,
	Rainfall:    0,
	Temperature: 2,
}
View Source
var BadlandsPlateau = &Biome{
	Id:          39,
	Name:        "badlands_plateau",
	Type:        TypeMesa,
	Rainfall:    0,
	Temperature: 2,
}
View Source
var BambooJungle = &Biome{
	Id:          168,
	Name:        "bamboo_jungle",
	Type:        TypeJungle,
	Rainfall:    0.9,
	Temperature: 0.95,
}
View Source
var BambooJungleHills = &Biome{
	Id:          169,
	Name:        "bamboo_jungle_hills",
	Type:        TypeHills,
	Rainfall:    0.9,
	Temperature: 0.95,
}
View Source
var Beach = &Biome{
	Id:          16,
	Name:        "beach",
	Type:        TypeBeach,
	Rainfall:    0.4,
	Temperature: 0.8,
}
View Source
var BirchForest = &Biome{
	Id:          27,
	Name:        "birch_forest",
	Type:        TypeForest,
	Rainfall:    0.6,
	Temperature: 0.6,
}
View Source
var BirchForestHills = &Biome{
	Id:          28,
	Name:        "birch_forest_hills",
	Type:        TypeHills,
	Rainfall:    0.6,
	Temperature: 0.6,
}
View Source
var ColdOcean = &Biome{
	Id:          46,
	Name:        "cold_ocean",
	Type:        TypeOcean,
	Rainfall:    0.5,
	Temperature: 0.5,
}
View Source
var DarkForest = &Biome{
	Id:          29,
	Name:        "dark_forest",
	Type:        TypeForest,
	Rainfall:    0.8,
	Temperature: 0.7,
}
View Source
var DarkForestHills = &Biome{
	Id:          157,
	Name:        "dark_forest_hills",
	Type:        TypeHills,
	Rainfall:    0.8,
	Temperature: 0.7,
}
View Source
var DeepColdOcean = &Biome{
	Id:          49,
	Name:        "deep_cold_ocean",
	Type:        TypeOcean,
	Rainfall:    0.5,
	Temperature: 0.5,
}
View Source
var DeepFrozenOcean = &Biome{
	Id:          50,
	Name:        "deep_frozen_ocean",
	Type:        TypeOcean,
	Rainfall:    0.5,
	Temperature: 0.5,
}
View Source
var DeepLukewarmOcean = &Biome{
	Id:          48,
	Name:        "deep_lukewarm_ocean",
	Type:        TypeOcean,
	Rainfall:    0.5,
	Temperature: 0.5,
}
View Source
var DeepOcean = &Biome{
	Id:          24,
	Name:        "deep_ocean",
	Type:        TypeOcean,
	Rainfall:    0.5,
	Temperature: 0.5,
}
View Source
var DeepWarmOcean = &Biome{
	Id:          47,
	Name:        "deep_warm_ocean",
	Type:        TypeOcean,
	Rainfall:    0.5,
	Temperature: 0.5,
}
View Source
var Desert = &Biome{
	Id:          2,
	Name:        "desert",
	Type:        TypeDesert,
	Rainfall:    0,
	Temperature: 2,
}
View Source
var DesertHills = &Biome{
	Id:          17,
	Name:        "desert_hills",
	Type:        TypeHills,
	Rainfall:    0,
	Temperature: 2,
}
View Source
var DesertLakes = &Biome{
	Id:          130,
	Name:        "desert_lakes",
	Type:        TypeDesert,
	Rainfall:    0,
	Temperature: 2,
}
View Source
var EndBarrens = &Biome{
	Id:          43,
	Name:        "end_barrens",
	Type:        TypeSky,
	Rainfall:    0.5,
	Temperature: 0.5,
}
View Source
var EndHighlands = &Biome{
	Id:          42,
	Name:        "end_highlands",
	Type:        TypeSky,
	Rainfall:    0.5,
	Temperature: 0.5,
}
View Source
var EndMidlands = &Biome{
	Id:          41,
	Name:        "end_midlands",
	Type:        TypeSky,
	Rainfall:    0.5,
	Temperature: 0.5,
}
View Source
var ErodedBadlands = &Biome{
	Id:          165,
	Name:        "eroded_badlands",
	Type:        TypeMesa,
	Rainfall:    0,
	Temperature: 2,
}
View Source
var FlowerForest = &Biome{
	Id:          132,
	Name:        "flower_forest",
	Type:        TypeForest,
	Rainfall:    0.8,
	Temperature: 0.7,
}
View Source
var Forest = &Biome{
	Id:          4,
	Name:        "forest",
	Type:        TypeForest,
	Rainfall:    0.8,
	Temperature: 0.7,
}
View Source
var FrozenOcean = &Biome{
	Id:          10,
	Name:        "frozen_ocean",
	Type:        TypeOcean,
	Rainfall:    0.5,
	Temperature: 0,
}
View Source
var FrozenRiver = &Biome{
	Id:          11,
	Name:        "frozen_river",
	Type:        TypeRiver,
	Rainfall:    0.5,
	Temperature: 0,
}
View Source
var GiantSpruceTaiga = &Biome{
	Id:          160,
	Name:        "giant_spruce_taiga",
	Type:        TypeTaiga,
	Rainfall:    0.8,
	Temperature: 0.25,
}
View Source
var GiantSpruceTaigaHills = &Biome{
	Id:          161,
	Name:        "giant_spruce_taiga_hills",
	Type:        TypeHills,
	Rainfall:    0.8,
	Temperature: 0.25,
}
View Source
var GiantTreeTaiga = &Biome{
	Id:          32,
	Name:        "giant_tree_taiga",
	Type:        TypeTaiga,
	Rainfall:    0.8,
	Temperature: 0.3,
}
View Source
var GiantTreeTaigaHills = &Biome{
	Id:          33,
	Name:        "giant_tree_taiga_hills",
	Type:        TypeHills,
	Rainfall:    0.8,
	Temperature: 0.3,
}
View Source
var GravellyMountains = &Biome{
	Id:          131,
	Name:        "gravelly_mountains",
	Type:        TypeHills,
	Rainfall:    0.3,
	Temperature: 0.2,
}
View Source
var IceSpikes = &Biome{
	Id:          140,
	Name:        "ice_spikes",
	Type:        TypeSnow,
	Rainfall:    0.5,
	Temperature: 0,
}
View Source
var Jungle = &Biome{
	Id:          21,
	Name:        "jungle",
	Type:        TypeJungle,
	Rainfall:    0.9,
	Temperature: 0.95,
}
View Source
var JungleEdge = &Biome{
	Id:          23,
	Name:        "jungle_edge",
	Type:        TypeJungle,
	Rainfall:    0.8,
	Temperature: 0.95,
}
View Source
var JungleHills = &Biome{
	Id:          22,
	Name:        "jungle_hills",
	Type:        TypeHills,
	Rainfall:    0.9,
	Temperature: 0.95,
}
View Source
var LukewarmOcean = &Biome{
	Id:          45,
	Name:        "lukewarm_ocean",
	Type:        TypeOcean,
	Rainfall:    0.5,
	Temperature: 0.5,
}
View Source
var ModifiedBadlandsPlateau = &Biome{
	Id:          167,
	Name:        "modified_badlands_plateau",
	Type:        TypeMesa,
	Rainfall:    0,
	Temperature: 2,
}
View Source
var ModifiedGravellyMountains = &Biome{
	Id:          162,
	Name:        "modified_gravelly_mountains",
	Type:        TypeHills,
	Rainfall:    0.3,
	Temperature: 0.2,
}
View Source
var ModifiedJungle = &Biome{
	Id:          149,
	Name:        "modified_jungle",
	Type:        TypeJungle,
	Rainfall:    0.9,
	Temperature: 0.95,
}
View Source
var ModifiedJungleEdge = &Biome{
	Id:          151,
	Name:        "modified_jungle_edge",
	Type:        TypeJungle,
	Rainfall:    0.8,
	Temperature: 0.95,
}
View Source
var ModifiedWoodedBadlandsPlateau = &Biome{
	Id:          166,
	Name:        "modified_wooded_badlands_plateau",
	Type:        TypeMesa,
	Rainfall:    0,
	Temperature: 2,
}
View Source
var MountainEdge = &Biome{
	Id:          20,
	Name:        "mountain_edge",
	Type:        TypeHills,
	Rainfall:    0.3,
	Temperature: 0.2,
}
View Source
var Mountains = &Biome{
	Id:          3,
	Name:        "mountains",
	Type:        TypeHills,
	Rainfall:    0.3,
	Temperature: 0.2,
}
View Source
var MushroomFieldShore = &Biome{
	Id:          15,
	Name:        "mushroom_field_shore",
	Type:        TypeMushroomIsland,
	Rainfall:    1,
	Temperature: 0.9,
}
View Source
var MushroomFields = &Biome{
	Id:          14,
	Name:        "mushroom_fields",
	Type:        TypeMushroomIsland,
	Rainfall:    1,
	Temperature: 0.9,
}
View Source
var Nether = &Biome{
	Id:          8,
	Name:        "nether",
	Type:        TypeNether,
	Rainfall:    0,
	Temperature: 2,
}
View Source
var Ocean = &Biome{
	Id:          0,
	Name:        "ocean",
	Type:        TypeOcean,
	Rainfall:    0.5,
	Temperature: 0.5,
}
View Source
var Plains = &Biome{
	Id:          1,
	Name:        "plains",
	Type:        TypePlains,
	Rainfall:    0.4,
	Temperature: 0.8,
}
View Source
var River = &Biome{
	Id:          7,
	Name:        "river",
	Type:        TypeRiver,
	Rainfall:    0.5,
	Temperature: 0.5,
}
View Source
var Savanna = &Biome{
	Id:          35,
	Name:        "savanna",
	Type:        TypeSavanna,
	Rainfall:    0,
	Temperature: 1.2,
}
View Source
var SavannaPlateau = &Biome{
	Id:          36,
	Name:        "savanna_plateau",
	Type:        TypeSavanna,
	Rainfall:    0,
	Temperature: 1,
}
View Source
var ShatteredSavanna = &Biome{
	Id:          163,
	Name:        "shattered_savanna",
	Type:        TypeSavanna,
	Rainfall:    0,
	Temperature: 1.1,
}
View Source
var ShatteredSavannaPlateau = &Biome{
	Id:          164,
	Name:        "shattered_savanna_plateau",
	Type:        TypeSavanna,
	Rainfall:    0,
	Temperature: 1,
}
View Source
var SmallEndIslands = &Biome{
	Id:          40,
	Name:        "small_end_islands",
	Type:        TypeSky,
	Rainfall:    0.5,
	Temperature: 0.5,
}
View Source
var SnowyBeach = &Biome{
	Id:          26,
	Name:        "snowy_beach",
	Type:        TypeSnow,
	Rainfall:    0.3,
	Temperature: 0.05,
}
View Source
var SnowyMountains = &Biome{
	Id:          13,
	Name:        "snowy_mountains",
	Type:        TypeSnow,
	Rainfall:    0.5,
	Temperature: 0,
}
View Source
var SnowyTaiga = &Biome{
	Id:          30,
	Name:        "snowy_taiga",
	Type:        TypeTaiga,
	Rainfall:    0.4,
	Temperature: -0.5,
}
View Source
var SnowyTaigaHills = &Biome{
	Id:          31,
	Name:        "snowy_taiga_hills",
	Type:        TypeHills,
	Rainfall:    0.4,
	Temperature: -0.5,
}
View Source
var SnowyTaigaMountains = &Biome{
	Id:          158,
	Name:        "snowy_taiga_mountains",
	Type:        TypeTaiga,
	Rainfall:    0.4,
	Temperature: -0.5,
}
View Source
var SnowyTundra = &Biome{
	Id:          12,
	Name:        "snowy_tundra",
	Type:        TypeSnow,
	Rainfall:    0.5,
	Temperature: 0,
}
View Source
var StoneShore = &Biome{
	Id:          25,
	Name:        "stone_shore",
	Type:        TypeStoneBeach,
	Rainfall:    0.3,
	Temperature: 0.2,
}
View Source
var SunflowerPlains = &Biome{
	Id:          129,
	Name:        "sunflower_plains",
	Type:        TypePlains,
	Rainfall:    0.4,
	Temperature: 0.8,
}
View Source
var Swamp = &Biome{
	Id:          6,
	Name:        "swamp",
	Type:        TypeSwamp,
	Rainfall:    0.9,
	Temperature: 0.8,
}
View Source
var SwampHills = &Biome{
	Id:          134,
	Name:        "swamp_hills",
	Type:        TypeHills,
	Rainfall:    0.9,
	Temperature: 0.8,
}
View Source
var Taiga = &Biome{
	Id:          5,
	Name:        "taiga",
	Type:        TypeTaiga,
	Rainfall:    0.8,
	Temperature: 0.25,
}
View Source
var TaigaHills = &Biome{
	Id:          19,
	Name:        "taiga_hills",
	Type:        TypeHills,
	Rainfall:    0.8,
	Temperature: 0.25,
}
View Source
var TaigaMountains = &Biome{
	Id:          133,
	Name:        "taiga_mountains",
	Type:        TypeTaiga,
	Rainfall:    0.8,
	Temperature: 0.25,
}
View Source
var TallBirchForest = &Biome{
	Id:          155,
	Name:        "tall_birch_forest",
	Type:        TypeForest,
	Rainfall:    0.6,
	Temperature: 0.6,
}
View Source
var TallBirchHills = &Biome{
	Id:          156,
	Name:        "tall_birch_hills",
	Type:        TypeHills,
	Rainfall:    0.6,
	Temperature: 0.6,
}
View Source
var TheEnd = &Biome{
	Id:          9,
	Name:        "the_end",
	Type:        TypeSky,
	Rainfall:    0.5,
	Temperature: 0.5,
}
View Source
var TheVoid = &Biome{
	Id:          127,
	Name:        "the_void",
	Type:        TypeVoid,
	Rainfall:    0.5,
	Temperature: 0.5,
}
View Source
var WarmOcean = &Biome{
	Id:          44,
	Name:        "warm_ocean",
	Type:        TypeOcean,
	Rainfall:    0.5,
	Temperature: 0.5,
}
View Source
var WoodedBadlandsPlateau = &Biome{
	Id:          38,
	Name:        "wooded_badlands_plateau",
	Type:        TypeMesa,
	Rainfall:    0,
	Temperature: 2,
}
View Source
var WoodedHills = &Biome{
	Id:          18,
	Name:        "wooded_hills",
	Type:        TypeHills,
	Rainfall:    0.8,
	Temperature: 0.7,
}
View Source
var WoodedMountains = &Biome{
	Id:          34,
	Name:        "wooded_mountains",
	Type:        TypeHills,
	Rainfall:    0.3,
	Temperature: 0.2,
}

Functions

func AreSimilar

func AreSimilar(a, b *Biome) bool

func IsDeepOcean

func IsDeepOcean(b *Biome) bool

func IsOceanic

func IsOceanic(b *Biome) bool

func IsShallowOcean

func IsShallowOcean(b *Biome) bool

Types

type Biome

type Biome struct {
	Id          int
	Name        string
	Type        Type
	Rainfall    float32
	Temperature float32
}

type Type

type Type int

Jump to

Keyboard shortcuts

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