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