Files
mc/server/world/biome/mushroom_field_shore.go
T
TarnaWijaya 26ed99fda6
Build and deploy / Build (push) Has been cancelled
Build and deploy / Update Contributors (push) Has been cancelled
Build and deploy / Deploy (push) Has been cancelled
up3
2026-07-09 08:33:57 +08:00

47 lines
846 B
Go

package biome
import "image/color"
// MushroomFieldShore ...
type MushroomFieldShore struct{}
// Temperature ...
func (MushroomFieldShore) Temperature() float64 {
return 0.9
}
// Rainfall ...
func (MushroomFieldShore) Rainfall() float64 {
return 1
}
// Depth ...
func (MushroomFieldShore) Depth() float64 {
return 0
}
// Scale ...
func (MushroomFieldShore) Scale() float64 {
return 0.025
}
// WaterColour ...
func (MushroomFieldShore) WaterColour() color.RGBA {
return color.RGBA{R: 0x81, G: 0x81, B: 0x93, A: 0xa5}
}
// Tags ...
func (MushroomFieldShore) Tags() []string {
return []string{"mooshroom_island", "overworld", "shore", "spawns_without_patrols"}
}
// String ...
func (MushroomFieldShore) String() string {
return "mushroom_island_shore"
}
// EncodeBiome ...
func (MushroomFieldShore) EncodeBiome() int {
return 15
}