github.com/df-mc/dragonfly@v0.9.13/server/world/biome/warm_ocean.go (about) 1 package biome 2 3 // WarmOcean ... 4 type WarmOcean struct{} 5 6 // Temperature ... 7 func (WarmOcean) Temperature() float64 { 8 return 0.5 9 } 10 11 // Rainfall ... 12 func (WarmOcean) Rainfall() float64 { 13 return 0.5 14 } 15 16 // String ... 17 func (WarmOcean) String() string { 18 return "warm_ocean" 19 } 20 21 // EncodeBiome ... 22 func (WarmOcean) EncodeBiome() int { 23 return 40 24 }