Files
mc/server/world/biome/deep_ocean.go
T
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
786 B
Go

package biome
import "image/color"
// DeepOcean ...
type DeepOcean struct{}
// Temperature ...
func (DeepOcean) Temperature() float64 {
return 0.5
}
// Rainfall ...
func (DeepOcean) Rainfall() float64 {
return 0.5
}
// Depth ...
func (DeepOcean) Depth() float64 {
return -1.8
}
// Scale ...
func (DeepOcean) Scale() float64 {
return 0.1
}
// WaterColour ...
func (DeepOcean) WaterColour() color.RGBA {
return color.RGBA{R: 0x17, G: 0x87, B: 0xd4, A: 0xa5}
}
// Tags ...
func (DeepOcean) Tags() []string {
return []string{"deep", "monster", "ocean", "overworld", "spawns_warm_variant_farm_animals", "fast_fishing", "high_seas"}
}
// String ...
func (DeepOcean) String() string {
return "deep_ocean"
}
// EncodeBiome ...
func (DeepOcean) EncodeBiome() int {
return 24
}