github.com/df-mc/dragonfly@v0.9.13/server/world/biome/soul_sand_valley.go (about)

     1  package biome
     2  
     3  // SoulSandValley ...
     4  type SoulSandValley struct{}
     5  
     6  // Temperature ...
     7  func (SoulSandValley) Temperature() float64 {
     8  	return 2
     9  }
    10  
    11  // Rainfall ...
    12  func (SoulSandValley) Rainfall() float64 {
    13  	return 0
    14  }
    15  
    16  // Ash ...
    17  func (SoulSandValley) Ash() (ash float64, whiteAsh float64) {
    18  	return 0.05, 0
    19  }
    20  
    21  // String ...
    22  func (SoulSandValley) String() string {
    23  	return "soulsand_valley"
    24  }
    25  
    26  // EncodeBiome ...
    27  func (SoulSandValley) EncodeBiome() int {
    28  	return 178
    29  }