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

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