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
870 B
Go
47 lines
870 B
Go
package biome
|
|
|
|
import "image/color"
|
|
|
|
// WindsweptSavanna ...
|
|
type WindsweptSavanna struct{}
|
|
|
|
// Temperature ...
|
|
func (WindsweptSavanna) Temperature() float64 {
|
|
return 2
|
|
}
|
|
|
|
// Rainfall ...
|
|
func (WindsweptSavanna) Rainfall() float64 {
|
|
return 0
|
|
}
|
|
|
|
// Depth ...
|
|
func (WindsweptSavanna) Depth() float64 {
|
|
return 0.363
|
|
}
|
|
|
|
// Scale ...
|
|
func (WindsweptSavanna) Scale() float64 {
|
|
return 1.225
|
|
}
|
|
|
|
// WaterColour ...
|
|
func (WindsweptSavanna) WaterColour() color.RGBA {
|
|
return color.RGBA{R: 0x60, G: 0xb7, B: 0xff, A: 0xa6}
|
|
}
|
|
|
|
// Tags ...
|
|
func (WindsweptSavanna) Tags() []string {
|
|
return []string{"animal", "monster", "mutated", "overworld", "savanna", "spawns_savanna_mobs", "spawns_warm_variant_farm_animals"}
|
|
}
|
|
|
|
// String ...
|
|
func (WindsweptSavanna) String() string {
|
|
return "savanna_mutated"
|
|
}
|
|
|
|
// EncodeBiome ...
|
|
func (WindsweptSavanna) EncodeBiome() int {
|
|
return 163
|
|
}
|