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