github.com/df-mc/dragonfly@v0.9.13/server/world/biome/mushroom_field_shore.go (about) 1 package biome 2 3 // MushroomFieldShore ... 4 type MushroomFieldShore struct{} 5 6 // Temperature ... 7 func (MushroomFieldShore) Temperature() float64 { 8 return 0.9 9 } 10 11 // Rainfall ... 12 func (MushroomFieldShore) Rainfall() float64 { 13 return 1 14 } 15 16 // String ... 17 func (MushroomFieldShore) String() string { 18 return "mushroom_island_shore" 19 } 20 21 // EncodeBiome ... 22 func (MushroomFieldShore) EncodeBiome() int { 23 return 15 24 }