Files
mc/server/world/biome/desert_hills.go
T
TarnaWijaya 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
up3
2026-07-09 08:33:57 +08:00

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
}