github.com/df-mc/dragonfly@v0.9.13/server/world/biome/crimson_forest.go (about) 1 package biome 2 3 // CrimsonForest ... 4 type CrimsonForest struct{} 5 6 // Temperature ... 7 func (CrimsonForest) Temperature() float64 { 8 return 2 9 } 10 11 // Rainfall ... 12 func (CrimsonForest) Rainfall() float64 { 13 return 0 14 } 15 16 // Spores ... 17 func (CrimsonForest) Spores() (blueSpores float64, redSpores float64) { 18 return 0, 0.25 19 } 20 21 // String ... 22 func (CrimsonForest) String() string { 23 return "crimson_forest" 24 } 25 26 // EncodeBiome ... 27 func (CrimsonForest) EncodeBiome() int { 28 return 179 29 }