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
47 lines
876 B
Go
47 lines
876 B
Go
package biome
|
|
|
|
import "image/color"
|
|
|
|
// SnowySlopes ...
|
|
type SnowySlopes struct{}
|
|
|
|
// Temperature ...
|
|
func (SnowySlopes) Temperature() float64 {
|
|
return -0.3
|
|
}
|
|
|
|
// Rainfall ...
|
|
func (SnowySlopes) Rainfall() float64 {
|
|
return 0.9
|
|
}
|
|
|
|
// Depth ...
|
|
func (SnowySlopes) Depth() float64 {
|
|
return 0.1
|
|
}
|
|
|
|
// Scale ...
|
|
func (SnowySlopes) Scale() float64 {
|
|
return 0.2
|
|
}
|
|
|
|
// WaterColour ...
|
|
func (SnowySlopes) WaterColour() color.RGBA {
|
|
return color.RGBA{R: 0x60, G: 0xb7, B: 0xff, A: 0xa6}
|
|
}
|
|
|
|
// Tags ...
|
|
func (SnowySlopes) Tags() []string {
|
|
return []string{"mountains", "monster", "overworld", "frozen", "spawns_cold_variant_frogs", "spawns_snow_foxes", "spawns_white_rabbits", "snowy_slopes", "spawns_cold_variant_farm_animals"}
|
|
}
|
|
|
|
// String ...
|
|
func (SnowySlopes) String() string {
|
|
return "snowy_slopes"
|
|
}
|
|
|
|
// EncodeBiome ...
|
|
func (SnowySlopes) EncodeBiome() int {
|
|
return 184
|
|
}
|