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