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