26ed99fda6
Build and deploy / Build (push) Has been cancelled
Build and deploy / Update Contributors (push) Has been cancelled
Build and deploy / Deploy (push) Has been cancelled
47 lines
800 B
Go
47 lines
800 B
Go
package biome
|
|
|
|
import "image/color"
|
|
|
|
// DesertHills ...
|
|
type DesertHills struct{}
|
|
|
|
// Temperature ...
|
|
func (DesertHills) Temperature() float64 {
|
|
return 2
|
|
}
|
|
|
|
// Rainfall ...
|
|
func (DesertHills) Rainfall() float64 {
|
|
return 0
|
|
}
|
|
|
|
// Depth ...
|
|
func (DesertHills) Depth() float64 {
|
|
return 0.45
|
|
}
|
|
|
|
// Scale ...
|
|
func (DesertHills) Scale() float64 {
|
|
return 0.3
|
|
}
|
|
|
|
// WaterColour ...
|
|
func (DesertHills) WaterColour() color.RGBA {
|
|
return color.RGBA{R: 0x1a, G: 0x7a, B: 0xa1, A: 0xa5}
|
|
}
|
|
|
|
// Tags ...
|
|
func (DesertHills) Tags() []string {
|
|
return []string{"desert", "hills", "monster", "overworld", "spawns_gold_rabbits", "spawns_warm_variant_farm_animals"}
|
|
}
|
|
|
|
// String ...
|
|
func (DesertHills) String() string {
|
|
return "desert_hills"
|
|
}
|
|
|
|
// EncodeBiome ...
|
|
func (DesertHills) EncodeBiome() int {
|
|
return 17
|
|
}
|