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

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