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

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