Files
mc/server/world/biome/swamp_hills.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
829 B
Go

package biome
import "image/color"
// SwampHills ...
type SwampHills struct{}
// Temperature ...
func (SwampHills) Temperature() float64 {
return 0.8
}
// Rainfall ...
func (SwampHills) Rainfall() float64 {
return 0.5
}
// Depth ...
func (SwampHills) Depth() float64 {
return -0.1
}
// Scale ...
func (SwampHills) Scale() float64 {
return 0.3
}
// WaterColour ...
func (SwampHills) WaterColour() color.RGBA {
return color.RGBA{R: 0x61, G: 0x7b, B: 0x64, A: 0xa5}
}
// Tags ...
func (SwampHills) Tags() []string {
return []string{"animal", "monster", "mutated", "swamp", "overworld_generation", "spawns_slimes_on_surface", "slime", "swamp_water_huge_mushroom"}
}
// String ...
func (SwampHills) String() string {
return "swampland_mutated"
}
// EncodeBiome ...
func (SwampHills) EncodeBiome() int {
return 134
}