up3
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
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
This commit is contained in:
@@ -0,0 +1,46 @@
|
||||
package biome
|
||||
|
||||
import "image/color"
|
||||
|
||||
// MangroveSwamp ...
|
||||
type MangroveSwamp struct{}
|
||||
|
||||
// Temperature ...
|
||||
func (MangroveSwamp) Temperature() float64 {
|
||||
return 0.8
|
||||
}
|
||||
|
||||
// Rainfall ...
|
||||
func (MangroveSwamp) Rainfall() float64 {
|
||||
return 0.9
|
||||
}
|
||||
|
||||
// Depth ...
|
||||
func (MangroveSwamp) Depth() float64 {
|
||||
return -0.2
|
||||
}
|
||||
|
||||
// Scale ...
|
||||
func (MangroveSwamp) Scale() float64 {
|
||||
return 0.1
|
||||
}
|
||||
|
||||
// WaterColour ...
|
||||
func (MangroveSwamp) WaterColour() color.RGBA {
|
||||
return color.RGBA{R: 0x60, G: 0xb7, B: 0xff, A: 0xa6}
|
||||
}
|
||||
|
||||
// Tags ...
|
||||
func (MangroveSwamp) Tags() []string {
|
||||
return []string{"mangrove_swamp", "overworld", "monster", "spawns_slimes_on_surface", "spawns_warm_variant_farm_animals", "spawns_warm_variant_frogs", "slime"}
|
||||
}
|
||||
|
||||
// String ...
|
||||
func (MangroveSwamp) String() string {
|
||||
return "mangrove_swamp"
|
||||
}
|
||||
|
||||
// EncodeBiome ...
|
||||
func (MangroveSwamp) EncodeBiome() int {
|
||||
return 191
|
||||
}
|
||||
Reference in New Issue
Block a user