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"
// Savanna ...
type Savanna struct{}
// Temperature ...
func (Savanna) Temperature() float64 {
return 1.2
}
// Rainfall ...
func (Savanna) Rainfall() float64 {
return 0
}
// Depth ...
func (Savanna) Depth() float64 {
return 0.125
}
// Scale ...
func (Savanna) Scale() float64 {
return 0.05
}
// WaterColour ...
func (Savanna) WaterColour() color.RGBA {
return color.RGBA{R: 0x2c, G: 0x8b, B: 0x9c, A: 0xa5}
}
// Tags ...
func (Savanna) Tags() []string {
return []string{"animal", "monster", "overworld", "savanna", "spawns_savanna_mobs", "spawns_warm_variant_farm_animals"}
}
// String ...
func (Savanna) String() string {
return "savanna"
}
// EncodeBiome ...
func (Savanna) EncodeBiome() int {
return 35
}