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

     1  package biome
     2  
     3  // Taiga ...
     4  type Taiga struct{}
     5  
     6  // Temperature ...
     7  func (Taiga) Temperature() float64 {
     8  	return 0.25
     9  }
    10  
    11  // Rainfall ...
    12  func (Taiga) Rainfall() float64 {
    13  	return 0.8
    14  }
    15  
    16  // String ...
    17  func (Taiga) String() string {
    18  	return "taiga"
    19  }
    20  
    21  // EncodeBiome ...
    22  func (Taiga) EncodeBiome() int {
    23  	return 5
    24  }