Files
mc/server/world/biome/deep_cold_ocean.go
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
839 B
Go

package biome
import "image/color"
// DeepColdOcean ...
type DeepColdOcean struct{}
// Temperature ...
func (DeepColdOcean) Temperature() float64 {
return 0.5
}
// Rainfall ...
func (DeepColdOcean) Rainfall() float64 {
return 0.5
}
// Depth ...
func (DeepColdOcean) Depth() float64 {
return -1.8
}
// Scale ...
func (DeepColdOcean) Scale() float64 {
return 0.1
}
// WaterColour ...
func (DeepColdOcean) WaterColour() color.RGBA {
return color.RGBA{R: 0x20, G: 0x80, B: 0xc9, A: 0xa5}
}
// Tags ...
func (DeepColdOcean) Tags() []string {
return []string{"cold", "deep", "monster", "ocean", "overworld", "spawns_cold_variant_farm_animals", "fast_fishing", "high_seas"}
}
// String ...
func (DeepColdOcean) String() string {
return "deep_cold_ocean"
}
// EncodeBiome ...
func (DeepColdOcean) EncodeBiome() int {
return 45
}