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

     1  package biome
     2  
     3  // BasaltDeltas ...
     4  type BasaltDeltas struct{}
     5  
     6  // Temperature ...
     7  func (BasaltDeltas) Temperature() float64 {
     8  	return 2
     9  }
    10  
    11  // Rainfall ...
    12  func (BasaltDeltas) Rainfall() float64 {
    13  	return 0
    14  }
    15  
    16  // Ash ...
    17  func (BasaltDeltas) Ash() (ash float64, whiteAsh float64) {
    18  	return 0, 2
    19  }
    20  
    21  // String ...
    22  func (BasaltDeltas) String() string {
    23  	return "basalt_deltas"
    24  }
    25  
    26  // EncodeBiome ...
    27  func (BasaltDeltas) EncodeBiome() int {
    28  	return 181
    29  }