up3
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

This commit is contained in:
2026-07-09 08:33:57 +08:00
commit 26ed99fda6
845 changed files with 75419 additions and 0 deletions
+46
View File
@@ -0,0 +1,46 @@
package biome
import "image/color"
// Desert ...
type Desert struct{}
// Temperature ...
func (Desert) Temperature() float64 {
return 2
}
// Rainfall ...
func (Desert) Rainfall() float64 {
return 0
}
// Depth ...
func (Desert) Depth() float64 {
return 0.125
}
// Scale ...
func (Desert) Scale() float64 {
return 0.05
}
// WaterColour ...
func (Desert) WaterColour() color.RGBA {
return color.RGBA{R: 0x32, G: 0xa5, B: 0x98, A: 0xa5}
}
// Tags ...
func (Desert) Tags() []string {
return []string{"desert", "monster", "overworld", "spawns_gold_rabbits", "spawns_warm_variant_farm_animals", "spawns_warm_variant_frogs"}
}
// String ...
func (Desert) String() string {
return "desert"
}
// EncodeBiome ...
func (Desert) EncodeBiome() int {
return 2
}