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

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