Files
mc/server/world/biome/desert_lakes.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
818 B
Go

package biome
import "image/color"
// DesertLakes ...
type DesertLakes struct{}
// Temperature ...
func (DesertLakes) Temperature() float64 {
return 2
}
// Rainfall ...
func (DesertLakes) Rainfall() float64 {
return 0
}
// Depth ...
func (DesertLakes) Depth() float64 {
return 0.225
}
// Scale ...
func (DesertLakes) Scale() float64 {
return 0.25
}
// WaterColour ...
func (DesertLakes) WaterColour() color.RGBA {
return color.RGBA{R: 0x32, G: 0xa5, B: 0x98, A: 0xa5}
}
// Tags ...
func (DesertLakes) Tags() []string {
return []string{"desert", "monster", "mutated", "overworld_generation", "spawns_gold_rabbits", "spawns_warm_variant_farm_animals"}
}
// String ...
func (DesertLakes) String() string {
return "desert_mutated"
}
// EncodeBiome ...
func (DesertLakes) EncodeBiome() int {
return 130
}