Files
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
703 B
Go

package biome
import "image/color"
// Forest ...
type Forest struct{}
// Temperature ...
func (Forest) Temperature() float64 {
return 0.7
}
// Rainfall ...
func (Forest) Rainfall() float64 {
return 0.8
}
// Depth ...
func (Forest) Depth() float64 {
return 0.1
}
// Scale ...
func (Forest) Scale() float64 {
return 0.2
}
// WaterColour ...
func (Forest) WaterColour() color.RGBA {
return color.RGBA{R: 0x1e, G: 0x97, B: 0xf2, A: 0xa5}
}
// Tags ...
func (Forest) Tags() []string {
return []string{"animal", "forest", "monster", "overworld", "bee_habitat"}
}
// String ...
func (Forest) String() string {
return "forest"
}
// EncodeBiome ...
func (Forest) EncodeBiome() int {
return 4
}