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
785 B
Go
47 lines
785 B
Go
package biome
|
|
|
|
import "image/color"
|
|
|
|
// Jungle ...
|
|
type Jungle struct{}
|
|
|
|
// Temperature ...
|
|
func (Jungle) Temperature() float64 {
|
|
return 0.95
|
|
}
|
|
|
|
// Rainfall ...
|
|
func (Jungle) Rainfall() float64 {
|
|
return 0.9
|
|
}
|
|
|
|
// Depth ...
|
|
func (Jungle) Depth() float64 {
|
|
return 0.1
|
|
}
|
|
|
|
// Scale ...
|
|
func (Jungle) Scale() float64 {
|
|
return 0.2
|
|
}
|
|
|
|
// WaterColour ...
|
|
func (Jungle) WaterColour() color.RGBA {
|
|
return color.RGBA{R: 0x14, G: 0xa2, B: 0xc5, A: 0xa5}
|
|
}
|
|
|
|
// Tags ...
|
|
func (Jungle) Tags() []string {
|
|
return []string{"animal", "has_structure_trail_ruins", "jungle", "monster", "overworld", "rare", "spawns_jungle_mobs", "spawns_warm_variant_farm_animals"}
|
|
}
|
|
|
|
// String ...
|
|
func (Jungle) String() string {
|
|
return "jungle"
|
|
}
|
|
|
|
// EncodeBiome ...
|
|
func (Jungle) EncodeBiome() int {
|
|
return 21
|
|
}
|