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"
|
||||
|
||||
// Badlands ...
|
||||
type Badlands struct{}
|
||||
|
||||
// Temperature ...
|
||||
func (Badlands) Temperature() float64 {
|
||||
return 2
|
||||
}
|
||||
|
||||
// Rainfall ...
|
||||
func (Badlands) Rainfall() float64 {
|
||||
return 0
|
||||
}
|
||||
|
||||
// Depth ...
|
||||
func (Badlands) Depth() float64 {
|
||||
return 0.1
|
||||
}
|
||||
|
||||
// Scale ...
|
||||
func (Badlands) Scale() float64 {
|
||||
return 0.2
|
||||
}
|
||||
|
||||
// WaterColour ...
|
||||
func (Badlands) WaterColour() color.RGBA {
|
||||
return color.RGBA{R: 0x4e, G: 0x7f, B: 0x81, A: 0xa5}
|
||||
}
|
||||
|
||||
// Tags ...
|
||||
func (Badlands) Tags() []string {
|
||||
return []string{"animal", "mesa", "monster", "overworld", "spawns_mesa_mobs", "spawns_warm_variant_farm_animals", "surface_mineshaft"}
|
||||
}
|
||||
|
||||
// String ...
|
||||
func (Badlands) String() string {
|
||||
return "mesa"
|
||||
}
|
||||
|
||||
// EncodeBiome ...
|
||||
func (Badlands) EncodeBiome() int {
|
||||
return 37
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
package biome
|
||||
|
||||
import "image/color"
|
||||
|
||||
// BadlandsPlateau ...
|
||||
type BadlandsPlateau struct{}
|
||||
|
||||
// Temperature ...
|
||||
func (BadlandsPlateau) Temperature() float64 {
|
||||
return 2
|
||||
}
|
||||
|
||||
// Rainfall ...
|
||||
func (BadlandsPlateau) Rainfall() float64 {
|
||||
return 0
|
||||
}
|
||||
|
||||
// Depth ...
|
||||
func (BadlandsPlateau) Depth() float64 {
|
||||
return 1.5
|
||||
}
|
||||
|
||||
// Scale ...
|
||||
func (BadlandsPlateau) Scale() float64 {
|
||||
return 0.025
|
||||
}
|
||||
|
||||
// WaterColour ...
|
||||
func (BadlandsPlateau) WaterColour() color.RGBA {
|
||||
return color.RGBA{R: 0x55, G: 0x80, B: 0x9e, A: 0xa5}
|
||||
}
|
||||
|
||||
// Tags ...
|
||||
func (BadlandsPlateau) Tags() []string {
|
||||
return []string{"animal", "mesa", "monster", "overworld", "plateau", "rare", "spawns_mesa_mobs", "spawns_warm_variant_farm_animals", "surface_mineshaft"}
|
||||
}
|
||||
|
||||
// String ...
|
||||
func (BadlandsPlateau) String() string {
|
||||
return "mesa_plateau"
|
||||
}
|
||||
|
||||
// EncodeBiome ...
|
||||
func (BadlandsPlateau) EncodeBiome() int {
|
||||
return 39
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
package biome
|
||||
|
||||
import "image/color"
|
||||
|
||||
// BambooJungle ...
|
||||
type BambooJungle struct{}
|
||||
|
||||
// Temperature ...
|
||||
func (BambooJungle) Temperature() float64 {
|
||||
return 0.95
|
||||
}
|
||||
|
||||
// Rainfall ...
|
||||
func (BambooJungle) Rainfall() float64 {
|
||||
return 0.9
|
||||
}
|
||||
|
||||
// Depth ...
|
||||
func (BambooJungle) Depth() float64 {
|
||||
return 0.1
|
||||
}
|
||||
|
||||
// Scale ...
|
||||
func (BambooJungle) Scale() float64 {
|
||||
return 0.2
|
||||
}
|
||||
|
||||
// WaterColour ...
|
||||
func (BambooJungle) WaterColour() color.RGBA {
|
||||
return color.RGBA{R: 0x14, G: 0xa2, B: 0xc5, A: 0xa5}
|
||||
}
|
||||
|
||||
// Tags ...
|
||||
func (BambooJungle) Tags() []string {
|
||||
return []string{"animal", "bamboo", "jungle", "monster", "overworld", "spawns_jungle_mobs", "spawns_warm_variant_farm_animals"}
|
||||
}
|
||||
|
||||
// String ...
|
||||
func (BambooJungle) String() string {
|
||||
return "bamboo_jungle"
|
||||
}
|
||||
|
||||
// EncodeBiome ...
|
||||
func (BambooJungle) EncodeBiome() int {
|
||||
return 48
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
package biome
|
||||
|
||||
import "image/color"
|
||||
|
||||
// BambooJungleHills ...
|
||||
type BambooJungleHills struct{}
|
||||
|
||||
// Temperature ...
|
||||
func (BambooJungleHills) Temperature() float64 {
|
||||
return 0.95
|
||||
}
|
||||
|
||||
// Rainfall ...
|
||||
func (BambooJungleHills) Rainfall() float64 {
|
||||
return 0.9
|
||||
}
|
||||
|
||||
// Depth ...
|
||||
func (BambooJungleHills) Depth() float64 {
|
||||
return 0.45
|
||||
}
|
||||
|
||||
// Scale ...
|
||||
func (BambooJungleHills) Scale() float64 {
|
||||
return 0.3
|
||||
}
|
||||
|
||||
// WaterColour ...
|
||||
func (BambooJungleHills) WaterColour() color.RGBA {
|
||||
return color.RGBA{R: 0x1b, G: 0x9e, B: 0xd8, A: 0xa5}
|
||||
}
|
||||
|
||||
// Tags ...
|
||||
func (BambooJungleHills) Tags() []string {
|
||||
return []string{"animal", "bamboo", "hills", "jungle", "monster", "overworld", "spawns_jungle_mobs", "spawns_warm_variant_farm_animals"}
|
||||
}
|
||||
|
||||
// String ...
|
||||
func (BambooJungleHills) String() string {
|
||||
return "bamboo_jungle_hills"
|
||||
}
|
||||
|
||||
// EncodeBiome ...
|
||||
func (BambooJungleHills) EncodeBiome() int {
|
||||
return 49
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
package biome
|
||||
|
||||
import "image/color"
|
||||
|
||||
// BasaltDeltas ...
|
||||
type BasaltDeltas struct{}
|
||||
|
||||
// Temperature ...
|
||||
func (BasaltDeltas) Temperature() float64 {
|
||||
return 2
|
||||
}
|
||||
|
||||
// Rainfall ...
|
||||
func (BasaltDeltas) Rainfall() float64 {
|
||||
return 0
|
||||
}
|
||||
|
||||
// Depth ...
|
||||
func (BasaltDeltas) Depth() float64 {
|
||||
return 0.1
|
||||
}
|
||||
|
||||
// Scale ...
|
||||
func (BasaltDeltas) Scale() float64 {
|
||||
return 0.2
|
||||
}
|
||||
|
||||
// WaterColour ...
|
||||
func (BasaltDeltas) WaterColour() color.RGBA {
|
||||
return color.RGBA{R: 0x3f, G: 0x76, B: 0xe4, A: 0xa5}
|
||||
}
|
||||
|
||||
// Tags ...
|
||||
func (BasaltDeltas) Tags() []string {
|
||||
return []string{"nether", "basalt_deltas", "spawn_many_magma_cubes", "spawn_ghast", "spawns_warm_variant_farm_animals"}
|
||||
}
|
||||
|
||||
// String ...
|
||||
func (BasaltDeltas) String() string {
|
||||
return "basalt_deltas"
|
||||
}
|
||||
|
||||
// EncodeBiome ...
|
||||
func (BasaltDeltas) EncodeBiome() int {
|
||||
return 181
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
package biome
|
||||
|
||||
import "image/color"
|
||||
|
||||
// Beach ...
|
||||
type Beach struct{}
|
||||
|
||||
// Temperature ...
|
||||
func (Beach) Temperature() float64 {
|
||||
return 0.8
|
||||
}
|
||||
|
||||
// Rainfall ...
|
||||
func (Beach) Rainfall() float64 {
|
||||
return 0.4
|
||||
}
|
||||
|
||||
// Depth ...
|
||||
func (Beach) Depth() float64 {
|
||||
return 0
|
||||
}
|
||||
|
||||
// Scale ...
|
||||
func (Beach) Scale() float64 {
|
||||
return 0.025
|
||||
}
|
||||
|
||||
// WaterColour ...
|
||||
func (Beach) WaterColour() color.RGBA {
|
||||
return color.RGBA{R: 0x15, G: 0x7c, B: 0xab, A: 0xa5}
|
||||
}
|
||||
|
||||
// Tags ...
|
||||
func (Beach) Tags() []string {
|
||||
return []string{"beach", "monster", "overworld", "warm"}
|
||||
}
|
||||
|
||||
// String ...
|
||||
func (Beach) String() string {
|
||||
return "beach"
|
||||
}
|
||||
|
||||
// EncodeBiome ...
|
||||
func (Beach) EncodeBiome() int {
|
||||
return 16
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
package biome
|
||||
|
||||
import "image/color"
|
||||
|
||||
// BirchForest ...
|
||||
type BirchForest struct{}
|
||||
|
||||
// Temperature ...
|
||||
func (BirchForest) Temperature() float64 {
|
||||
return 0.6
|
||||
}
|
||||
|
||||
// Rainfall ...
|
||||
func (BirchForest) Rainfall() float64 {
|
||||
return 0.6
|
||||
}
|
||||
|
||||
// Depth ...
|
||||
func (BirchForest) Depth() float64 {
|
||||
return 0.1
|
||||
}
|
||||
|
||||
// Scale ...
|
||||
func (BirchForest) Scale() float64 {
|
||||
return 0.2
|
||||
}
|
||||
|
||||
// WaterColour ...
|
||||
func (BirchForest) WaterColour() color.RGBA {
|
||||
return color.RGBA{R: 0x06, G: 0x77, B: 0xce, A: 0xa5}
|
||||
}
|
||||
|
||||
// Tags ...
|
||||
func (BirchForest) Tags() []string {
|
||||
return []string{"animal", "birch", "forest", "monster", "overworld", "bee_habitat"}
|
||||
}
|
||||
|
||||
// String ...
|
||||
func (BirchForest) String() string {
|
||||
return "birch_forest"
|
||||
}
|
||||
|
||||
// EncodeBiome ...
|
||||
func (BirchForest) EncodeBiome() int {
|
||||
return 27
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
package biome
|
||||
|
||||
import "image/color"
|
||||
|
||||
// BirchForestHills ...
|
||||
type BirchForestHills struct{}
|
||||
|
||||
// Temperature ...
|
||||
func (BirchForestHills) Temperature() float64 {
|
||||
return 0.6
|
||||
}
|
||||
|
||||
// Rainfall ...
|
||||
func (BirchForestHills) Rainfall() float64 {
|
||||
return 0.6
|
||||
}
|
||||
|
||||
// Depth ...
|
||||
func (BirchForestHills) Depth() float64 {
|
||||
return 0.45
|
||||
}
|
||||
|
||||
// Scale ...
|
||||
func (BirchForestHills) Scale() float64 {
|
||||
return 0.3
|
||||
}
|
||||
|
||||
// WaterColour ...
|
||||
func (BirchForestHills) WaterColour() color.RGBA {
|
||||
return color.RGBA{R: 0x0a, G: 0x74, B: 0xc4, A: 0xa5}
|
||||
}
|
||||
|
||||
// Tags ...
|
||||
func (BirchForestHills) Tags() []string {
|
||||
return []string{"animal", "birch", "forest", "hills", "monster", "overworld", "bee_habitat"}
|
||||
}
|
||||
|
||||
// String ...
|
||||
func (BirchForestHills) String() string {
|
||||
return "birch_forest_hills"
|
||||
}
|
||||
|
||||
// EncodeBiome ...
|
||||
func (BirchForestHills) EncodeBiome() int {
|
||||
return 28
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
package biome
|
||||
|
||||
import "image/color"
|
||||
|
||||
// CherryGrove ...
|
||||
type CherryGrove struct{}
|
||||
|
||||
// Temperature ...
|
||||
func (CherryGrove) Temperature() float64 {
|
||||
return 0.3
|
||||
}
|
||||
|
||||
// Rainfall ...
|
||||
func (CherryGrove) Rainfall() float64 {
|
||||
return 0.8
|
||||
}
|
||||
|
||||
// Depth ...
|
||||
func (CherryGrove) Depth() float64 {
|
||||
return 0.1
|
||||
}
|
||||
|
||||
// Scale ...
|
||||
func (CherryGrove) Scale() float64 {
|
||||
return 0.2
|
||||
}
|
||||
|
||||
// WaterColour ...
|
||||
func (CherryGrove) WaterColour() color.RGBA {
|
||||
return color.RGBA{R: 0x60, G: 0xb7, B: 0xff, A: 0xa6}
|
||||
}
|
||||
|
||||
// Tags ...
|
||||
func (CherryGrove) Tags() []string {
|
||||
return []string{"mountains", "monster", "overworld", "cherry_grove", "bee_habitat"}
|
||||
}
|
||||
|
||||
// String ...
|
||||
func (CherryGrove) String() string {
|
||||
return "cherry_grove"
|
||||
}
|
||||
|
||||
// EncodeBiome ...
|
||||
func (CherryGrove) EncodeBiome() int {
|
||||
return 192
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
package biome
|
||||
|
||||
import "image/color"
|
||||
|
||||
// ColdOcean ...
|
||||
type ColdOcean struct{}
|
||||
|
||||
// Temperature ...
|
||||
func (ColdOcean) Temperature() float64 {
|
||||
return 0.5
|
||||
}
|
||||
|
||||
// Rainfall ...
|
||||
func (ColdOcean) Rainfall() float64 {
|
||||
return 0.5
|
||||
}
|
||||
|
||||
// Depth ...
|
||||
func (ColdOcean) Depth() float64 {
|
||||
return -1
|
||||
}
|
||||
|
||||
// Scale ...
|
||||
func (ColdOcean) Scale() float64 {
|
||||
return 0.1
|
||||
}
|
||||
|
||||
// WaterColour ...
|
||||
func (ColdOcean) WaterColour() color.RGBA {
|
||||
return color.RGBA{R: 0x20, G: 0x80, B: 0xc9, A: 0xa5}
|
||||
}
|
||||
|
||||
// Tags ...
|
||||
func (ColdOcean) Tags() []string {
|
||||
return []string{"cold", "monster", "ocean", "overworld", "spawns_cold_variant_farm_animals", "fast_fishing", "high_seas"}
|
||||
}
|
||||
|
||||
// String ...
|
||||
func (ColdOcean) String() string {
|
||||
return "cold_ocean"
|
||||
}
|
||||
|
||||
// EncodeBiome ...
|
||||
func (ColdOcean) EncodeBiome() int {
|
||||
return 44
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
package biome
|
||||
|
||||
import "image/color"
|
||||
|
||||
// CrimsonForest ...
|
||||
type CrimsonForest struct{}
|
||||
|
||||
// Temperature ...
|
||||
func (CrimsonForest) Temperature() float64 {
|
||||
return 2
|
||||
}
|
||||
|
||||
// Rainfall ...
|
||||
func (CrimsonForest) Rainfall() float64 {
|
||||
return 0
|
||||
}
|
||||
|
||||
// Depth ...
|
||||
func (CrimsonForest) Depth() float64 {
|
||||
return 0.1
|
||||
}
|
||||
|
||||
// Scale ...
|
||||
func (CrimsonForest) Scale() float64 {
|
||||
return 0.2
|
||||
}
|
||||
|
||||
// WaterColour ...
|
||||
func (CrimsonForest) WaterColour() color.RGBA {
|
||||
return color.RGBA{R: 0x90, G: 0x59, B: 0x57, A: 0xa5}
|
||||
}
|
||||
|
||||
// Tags ...
|
||||
func (CrimsonForest) Tags() []string {
|
||||
return []string{"nether", "netherwart_forest", "crimson_forest", "spawn_few_zombified_piglins", "spawn_piglin", "spawns_warm_variant_farm_animals"}
|
||||
}
|
||||
|
||||
// String ...
|
||||
func (CrimsonForest) String() string {
|
||||
return "crimson_forest"
|
||||
}
|
||||
|
||||
// EncodeBiome ...
|
||||
func (CrimsonForest) EncodeBiome() int {
|
||||
return 179
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
package biome
|
||||
|
||||
import "image/color"
|
||||
|
||||
// DarkForest ...
|
||||
type DarkForest struct{}
|
||||
|
||||
// Temperature ...
|
||||
func (DarkForest) Temperature() float64 {
|
||||
return 0.7
|
||||
}
|
||||
|
||||
// Rainfall ...
|
||||
func (DarkForest) Rainfall() float64 {
|
||||
return 0.8
|
||||
}
|
||||
|
||||
// Depth ...
|
||||
func (DarkForest) Depth() float64 {
|
||||
return 0.1
|
||||
}
|
||||
|
||||
// Scale ...
|
||||
func (DarkForest) Scale() float64 {
|
||||
return 0.2
|
||||
}
|
||||
|
||||
// WaterColour ...
|
||||
func (DarkForest) WaterColour() color.RGBA {
|
||||
return color.RGBA{R: 0x3b, G: 0x6c, B: 0xd1, A: 0xa5}
|
||||
}
|
||||
|
||||
// Tags ...
|
||||
func (DarkForest) Tags() []string {
|
||||
return []string{"animal", "forest", "monster", "no_legacy_worldgen", "overworld", "roofed"}
|
||||
}
|
||||
|
||||
// String ...
|
||||
func (DarkForest) String() string {
|
||||
return "roofed_forest"
|
||||
}
|
||||
|
||||
// EncodeBiome ...
|
||||
func (DarkForest) EncodeBiome() int {
|
||||
return 29
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
package biome
|
||||
|
||||
import "image/color"
|
||||
|
||||
// DarkForestHills ...
|
||||
type DarkForestHills struct{}
|
||||
|
||||
// Temperature ...
|
||||
func (DarkForestHills) Temperature() float64 {
|
||||
return 0.7
|
||||
}
|
||||
|
||||
// Rainfall ...
|
||||
func (DarkForestHills) Rainfall() float64 {
|
||||
return 0.8
|
||||
}
|
||||
|
||||
// Depth ...
|
||||
func (DarkForestHills) Depth() float64 {
|
||||
return 0.2
|
||||
}
|
||||
|
||||
// Scale ...
|
||||
func (DarkForestHills) Scale() float64 {
|
||||
return 0.4
|
||||
}
|
||||
|
||||
// WaterColour ...
|
||||
func (DarkForestHills) WaterColour() color.RGBA {
|
||||
return color.RGBA{R: 0x3b, G: 0x6c, B: 0xd1, A: 0xa5}
|
||||
}
|
||||
|
||||
// Tags ...
|
||||
func (DarkForestHills) Tags() []string {
|
||||
return []string{"animal", "forest", "monster", "mutated", "roofed", "overworld_generation"}
|
||||
}
|
||||
|
||||
// String ...
|
||||
func (DarkForestHills) String() string {
|
||||
return "roofed_forest_mutated"
|
||||
}
|
||||
|
||||
// EncodeBiome ...
|
||||
func (DarkForestHills) EncodeBiome() int {
|
||||
return 157
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
package biome
|
||||
|
||||
import "image/color"
|
||||
|
||||
// DeepColdOcean ...
|
||||
type DeepColdOcean struct{}
|
||||
|
||||
// Temperature ...
|
||||
func (DeepColdOcean) Temperature() float64 {
|
||||
return 0.5
|
||||
}
|
||||
|
||||
// Rainfall ...
|
||||
func (DeepColdOcean) Rainfall() float64 {
|
||||
return 0.5
|
||||
}
|
||||
|
||||
// Depth ...
|
||||
func (DeepColdOcean) Depth() float64 {
|
||||
return -1.8
|
||||
}
|
||||
|
||||
// Scale ...
|
||||
func (DeepColdOcean) Scale() float64 {
|
||||
return 0.1
|
||||
}
|
||||
|
||||
// WaterColour ...
|
||||
func (DeepColdOcean) WaterColour() color.RGBA {
|
||||
return color.RGBA{R: 0x20, G: 0x80, B: 0xc9, A: 0xa5}
|
||||
}
|
||||
|
||||
// Tags ...
|
||||
func (DeepColdOcean) Tags() []string {
|
||||
return []string{"cold", "deep", "monster", "ocean", "overworld", "spawns_cold_variant_farm_animals", "fast_fishing", "high_seas"}
|
||||
}
|
||||
|
||||
// String ...
|
||||
func (DeepColdOcean) String() string {
|
||||
return "deep_cold_ocean"
|
||||
}
|
||||
|
||||
// EncodeBiome ...
|
||||
func (DeepColdOcean) EncodeBiome() int {
|
||||
return 45
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
package biome
|
||||
|
||||
import "image/color"
|
||||
|
||||
// DeepDark ...
|
||||
type DeepDark struct{}
|
||||
|
||||
// Temperature ...
|
||||
func (DeepDark) Temperature() float64 {
|
||||
return 0.8
|
||||
}
|
||||
|
||||
// Rainfall ...
|
||||
func (DeepDark) Rainfall() float64 {
|
||||
return 0.4
|
||||
}
|
||||
|
||||
// Depth ...
|
||||
func (DeepDark) Depth() float64 {
|
||||
return 0.1
|
||||
}
|
||||
|
||||
// Scale ...
|
||||
func (DeepDark) Scale() float64 {
|
||||
return 0.2
|
||||
}
|
||||
|
||||
// WaterColour ...
|
||||
func (DeepDark) WaterColour() color.RGBA {
|
||||
return color.RGBA{R: 0x60, G: 0xb7, B: 0xff, A: 0xa6}
|
||||
}
|
||||
|
||||
// Tags ...
|
||||
func (DeepDark) Tags() []string {
|
||||
return []string{"caves", "deep_dark", "overworld", "spawns_cold_variant_farm_animals", "spawns_cold_variant_frogs"}
|
||||
}
|
||||
|
||||
// String ...
|
||||
func (DeepDark) String() string {
|
||||
return "deep_dark"
|
||||
}
|
||||
|
||||
// EncodeBiome ...
|
||||
func (DeepDark) EncodeBiome() int {
|
||||
return 190
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
package biome
|
||||
|
||||
import "image/color"
|
||||
|
||||
// DeepFrozenOcean ...
|
||||
type DeepFrozenOcean struct{}
|
||||
|
||||
// Temperature ...
|
||||
func (DeepFrozenOcean) Temperature() float64 {
|
||||
return 0.5
|
||||
}
|
||||
|
||||
// Rainfall ...
|
||||
func (DeepFrozenOcean) Rainfall() float64 {
|
||||
return 0.5
|
||||
}
|
||||
|
||||
// Depth ...
|
||||
func (DeepFrozenOcean) Depth() float64 {
|
||||
return -1.8
|
||||
}
|
||||
|
||||
// Scale ...
|
||||
func (DeepFrozenOcean) Scale() float64 {
|
||||
return 0.1
|
||||
}
|
||||
|
||||
// WaterColour ...
|
||||
func (DeepFrozenOcean) WaterColour() color.RGBA {
|
||||
return color.RGBA{R: 0x25, G: 0x70, B: 0xb5, A: 0xa5}
|
||||
}
|
||||
|
||||
// Tags ...
|
||||
func (DeepFrozenOcean) Tags() []string {
|
||||
return []string{"deep", "frozen", "monster", "ocean", "overworld", "spawns_cold_variant_farm_animals", "spawns_cold_variant_frogs", "spawns_polar_bears_on_alternate_blocks", "fast_fishing", "high_seas"}
|
||||
}
|
||||
|
||||
// String ...
|
||||
func (DeepFrozenOcean) String() string {
|
||||
return "deep_frozen_ocean"
|
||||
}
|
||||
|
||||
// EncodeBiome ...
|
||||
func (DeepFrozenOcean) EncodeBiome() int {
|
||||
return 47
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
package biome
|
||||
|
||||
import "image/color"
|
||||
|
||||
// DeepLukewarmOcean ...
|
||||
type DeepLukewarmOcean struct{}
|
||||
|
||||
// Temperature ...
|
||||
func (DeepLukewarmOcean) Temperature() float64 {
|
||||
return 0.5
|
||||
}
|
||||
|
||||
// Rainfall ...
|
||||
func (DeepLukewarmOcean) Rainfall() float64 {
|
||||
return 0.5
|
||||
}
|
||||
|
||||
// Depth ...
|
||||
func (DeepLukewarmOcean) Depth() float64 {
|
||||
return -1.8
|
||||
}
|
||||
|
||||
// Scale ...
|
||||
func (DeepLukewarmOcean) Scale() float64 {
|
||||
return 0.1
|
||||
}
|
||||
|
||||
// WaterColour ...
|
||||
func (DeepLukewarmOcean) WaterColour() color.RGBA {
|
||||
return color.RGBA{R: 0x0d, G: 0x96, B: 0xdb, A: 0xa5}
|
||||
}
|
||||
|
||||
// Tags ...
|
||||
func (DeepLukewarmOcean) Tags() []string {
|
||||
return []string{"deep", "lukewarm", "monster", "ocean", "overworld", "spawns_warm_variant_farm_animals", "fast_fishing", "high_seas"}
|
||||
}
|
||||
|
||||
// String ...
|
||||
func (DeepLukewarmOcean) String() string {
|
||||
return "deep_lukewarm_ocean"
|
||||
}
|
||||
|
||||
// EncodeBiome ...
|
||||
func (DeepLukewarmOcean) EncodeBiome() int {
|
||||
return 43
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
package biome
|
||||
|
||||
import "image/color"
|
||||
|
||||
// DeepOcean ...
|
||||
type DeepOcean struct{}
|
||||
|
||||
// Temperature ...
|
||||
func (DeepOcean) Temperature() float64 {
|
||||
return 0.5
|
||||
}
|
||||
|
||||
// Rainfall ...
|
||||
func (DeepOcean) Rainfall() float64 {
|
||||
return 0.5
|
||||
}
|
||||
|
||||
// Depth ...
|
||||
func (DeepOcean) Depth() float64 {
|
||||
return -1.8
|
||||
}
|
||||
|
||||
// Scale ...
|
||||
func (DeepOcean) Scale() float64 {
|
||||
return 0.1
|
||||
}
|
||||
|
||||
// WaterColour ...
|
||||
func (DeepOcean) WaterColour() color.RGBA {
|
||||
return color.RGBA{R: 0x17, G: 0x87, B: 0xd4, A: 0xa5}
|
||||
}
|
||||
|
||||
// Tags ...
|
||||
func (DeepOcean) Tags() []string {
|
||||
return []string{"deep", "monster", "ocean", "overworld", "spawns_warm_variant_farm_animals", "fast_fishing", "high_seas"}
|
||||
}
|
||||
|
||||
// String ...
|
||||
func (DeepOcean) String() string {
|
||||
return "deep_ocean"
|
||||
}
|
||||
|
||||
// EncodeBiome ...
|
||||
func (DeepOcean) EncodeBiome() int {
|
||||
return 24
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
package biome
|
||||
|
||||
import "image/color"
|
||||
|
||||
// DeepWarmOcean ...
|
||||
type DeepWarmOcean struct{}
|
||||
|
||||
// Temperature ...
|
||||
func (DeepWarmOcean) Temperature() float64 {
|
||||
return 0.5
|
||||
}
|
||||
|
||||
// Rainfall ...
|
||||
func (DeepWarmOcean) Rainfall() float64 {
|
||||
return 0.5
|
||||
}
|
||||
|
||||
// Depth ...
|
||||
func (DeepWarmOcean) Depth() float64 {
|
||||
return -1.8
|
||||
}
|
||||
|
||||
// Scale ...
|
||||
func (DeepWarmOcean) Scale() float64 {
|
||||
return 0.1
|
||||
}
|
||||
|
||||
// WaterColour ...
|
||||
func (DeepWarmOcean) WaterColour() color.RGBA {
|
||||
return color.RGBA{R: 0x02, G: 0xb0, B: 0xe5, A: 0xa5}
|
||||
}
|
||||
|
||||
// Tags ...
|
||||
func (DeepWarmOcean) Tags() []string {
|
||||
return []string{"deep", "monster", "ocean", "overworld", "warm", "spawns_warm_variant_farm_animals", "fast_fishing", "high_seas"}
|
||||
}
|
||||
|
||||
// String ...
|
||||
func (DeepWarmOcean) String() string {
|
||||
return "deep_warm_ocean"
|
||||
}
|
||||
|
||||
// EncodeBiome ...
|
||||
func (DeepWarmOcean) EncodeBiome() int {
|
||||
return 41
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
package biome
|
||||
|
||||
import "image/color"
|
||||
|
||||
// Desert ...
|
||||
type Desert struct{}
|
||||
|
||||
// Temperature ...
|
||||
func (Desert) Temperature() float64 {
|
||||
return 2
|
||||
}
|
||||
|
||||
// Rainfall ...
|
||||
func (Desert) Rainfall() float64 {
|
||||
return 0
|
||||
}
|
||||
|
||||
// Depth ...
|
||||
func (Desert) Depth() float64 {
|
||||
return 0.125
|
||||
}
|
||||
|
||||
// Scale ...
|
||||
func (Desert) Scale() float64 {
|
||||
return 0.05
|
||||
}
|
||||
|
||||
// WaterColour ...
|
||||
func (Desert) WaterColour() color.RGBA {
|
||||
return color.RGBA{R: 0x32, G: 0xa5, B: 0x98, A: 0xa5}
|
||||
}
|
||||
|
||||
// Tags ...
|
||||
func (Desert) Tags() []string {
|
||||
return []string{"desert", "monster", "overworld", "spawns_gold_rabbits", "spawns_warm_variant_farm_animals", "spawns_warm_variant_frogs"}
|
||||
}
|
||||
|
||||
// String ...
|
||||
func (Desert) String() string {
|
||||
return "desert"
|
||||
}
|
||||
|
||||
// EncodeBiome ...
|
||||
func (Desert) EncodeBiome() int {
|
||||
return 2
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
package biome
|
||||
|
||||
import "image/color"
|
||||
|
||||
// DesertHills ...
|
||||
type DesertHills struct{}
|
||||
|
||||
// Temperature ...
|
||||
func (DesertHills) Temperature() float64 {
|
||||
return 2
|
||||
}
|
||||
|
||||
// Rainfall ...
|
||||
func (DesertHills) Rainfall() float64 {
|
||||
return 0
|
||||
}
|
||||
|
||||
// Depth ...
|
||||
func (DesertHills) Depth() float64 {
|
||||
return 0.45
|
||||
}
|
||||
|
||||
// Scale ...
|
||||
func (DesertHills) Scale() float64 {
|
||||
return 0.3
|
||||
}
|
||||
|
||||
// WaterColour ...
|
||||
func (DesertHills) WaterColour() color.RGBA {
|
||||
return color.RGBA{R: 0x1a, G: 0x7a, B: 0xa1, A: 0xa5}
|
||||
}
|
||||
|
||||
// Tags ...
|
||||
func (DesertHills) Tags() []string {
|
||||
return []string{"desert", "hills", "monster", "overworld", "spawns_gold_rabbits", "spawns_warm_variant_farm_animals"}
|
||||
}
|
||||
|
||||
// String ...
|
||||
func (DesertHills) String() string {
|
||||
return "desert_hills"
|
||||
}
|
||||
|
||||
// EncodeBiome ...
|
||||
func (DesertHills) EncodeBiome() int {
|
||||
return 17
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
package biome
|
||||
|
||||
import "image/color"
|
||||
|
||||
// DesertLakes ...
|
||||
type DesertLakes struct{}
|
||||
|
||||
// Temperature ...
|
||||
func (DesertLakes) Temperature() float64 {
|
||||
return 2
|
||||
}
|
||||
|
||||
// Rainfall ...
|
||||
func (DesertLakes) Rainfall() float64 {
|
||||
return 0
|
||||
}
|
||||
|
||||
// Depth ...
|
||||
func (DesertLakes) Depth() float64 {
|
||||
return 0.225
|
||||
}
|
||||
|
||||
// Scale ...
|
||||
func (DesertLakes) Scale() float64 {
|
||||
return 0.25
|
||||
}
|
||||
|
||||
// WaterColour ...
|
||||
func (DesertLakes) WaterColour() color.RGBA {
|
||||
return color.RGBA{R: 0x32, G: 0xa5, B: 0x98, A: 0xa5}
|
||||
}
|
||||
|
||||
// Tags ...
|
||||
func (DesertLakes) Tags() []string {
|
||||
return []string{"desert", "monster", "mutated", "overworld_generation", "spawns_gold_rabbits", "spawns_warm_variant_farm_animals"}
|
||||
}
|
||||
|
||||
// String ...
|
||||
func (DesertLakes) String() string {
|
||||
return "desert_mutated"
|
||||
}
|
||||
|
||||
// EncodeBiome ...
|
||||
func (DesertLakes) EncodeBiome() int {
|
||||
return 130
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
package biome
|
||||
|
||||
import "image/color"
|
||||
|
||||
// DripstoneCaves ...
|
||||
type DripstoneCaves struct{}
|
||||
|
||||
// Temperature ...
|
||||
func (DripstoneCaves) Temperature() float64 {
|
||||
return 0.2
|
||||
}
|
||||
|
||||
// Rainfall ...
|
||||
func (DripstoneCaves) Rainfall() float64 {
|
||||
return 0
|
||||
}
|
||||
|
||||
// Depth ...
|
||||
func (DripstoneCaves) Depth() float64 {
|
||||
return 0.1
|
||||
}
|
||||
|
||||
// Scale ...
|
||||
func (DripstoneCaves) Scale() float64 {
|
||||
return 0.2
|
||||
}
|
||||
|
||||
// WaterColour ...
|
||||
func (DripstoneCaves) WaterColour() color.RGBA {
|
||||
return color.RGBA{R: 0x60, G: 0xb7, B: 0xff, A: 0xa6}
|
||||
}
|
||||
|
||||
// Tags ...
|
||||
func (DripstoneCaves) Tags() []string {
|
||||
return []string{"caves", "overworld", "dripstone_caves", "monster"}
|
||||
}
|
||||
|
||||
// String ...
|
||||
func (DripstoneCaves) String() string {
|
||||
return "dripstone_caves"
|
||||
}
|
||||
|
||||
// EncodeBiome ...
|
||||
func (DripstoneCaves) EncodeBiome() int {
|
||||
return 188
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
package biome
|
||||
|
||||
import "image/color"
|
||||
|
||||
// End ...
|
||||
type End struct{}
|
||||
|
||||
// Temperature ...
|
||||
func (End) Temperature() float64 {
|
||||
return 0.5
|
||||
}
|
||||
|
||||
// Rainfall ...
|
||||
func (End) Rainfall() float64 {
|
||||
return 0.5
|
||||
}
|
||||
|
||||
// Depth ...
|
||||
func (End) Depth() float64 {
|
||||
return 0.1
|
||||
}
|
||||
|
||||
// Scale ...
|
||||
func (End) Scale() float64 {
|
||||
return 0.2
|
||||
}
|
||||
|
||||
// WaterColour ...
|
||||
func (End) WaterColour() color.RGBA {
|
||||
return color.RGBA{R: 0x62, G: 0x52, B: 0x9e, A: 0xa5}
|
||||
}
|
||||
|
||||
// Tags ...
|
||||
func (End) Tags() []string {
|
||||
return []string{"the_end", "spawns_cold_variant_farm_animals", "spawns_cold_variant_frogs"}
|
||||
}
|
||||
|
||||
// String ...
|
||||
func (End) String() string {
|
||||
return "the_end"
|
||||
}
|
||||
|
||||
// EncodeBiome ...
|
||||
func (End) EncodeBiome() int {
|
||||
return 9
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
package biome
|
||||
|
||||
import "image/color"
|
||||
|
||||
// ErodedBadlands ...
|
||||
type ErodedBadlands struct{}
|
||||
|
||||
// Temperature ...
|
||||
func (ErodedBadlands) Temperature() float64 {
|
||||
return 2
|
||||
}
|
||||
|
||||
// Rainfall ...
|
||||
func (ErodedBadlands) Rainfall() float64 {
|
||||
return 0
|
||||
}
|
||||
|
||||
// Depth ...
|
||||
func (ErodedBadlands) Depth() float64 {
|
||||
return 0.1
|
||||
}
|
||||
|
||||
// Scale ...
|
||||
func (ErodedBadlands) Scale() float64 {
|
||||
return 0.2
|
||||
}
|
||||
|
||||
// WaterColour ...
|
||||
func (ErodedBadlands) WaterColour() color.RGBA {
|
||||
return color.RGBA{R: 0x14, G: 0xa2, B: 0xc5, A: 0xa5}
|
||||
}
|
||||
|
||||
// Tags ...
|
||||
func (ErodedBadlands) Tags() []string {
|
||||
return []string{"animal", "mesa", "monster", "mutated", "overworld", "spawns_mesa_mobs", "spawns_warm_variant_farm_animals", "surface_mineshaft"}
|
||||
}
|
||||
|
||||
// String ...
|
||||
func (ErodedBadlands) String() string {
|
||||
return "mesa_bryce"
|
||||
}
|
||||
|
||||
// EncodeBiome ...
|
||||
func (ErodedBadlands) EncodeBiome() int {
|
||||
return 165
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
package biome
|
||||
|
||||
import "image/color"
|
||||
|
||||
// FlowerForest ...
|
||||
type FlowerForest struct{}
|
||||
|
||||
// Temperature ...
|
||||
func (FlowerForest) Temperature() float64 {
|
||||
return 0.7
|
||||
}
|
||||
|
||||
// Rainfall ...
|
||||
func (FlowerForest) Rainfall() float64 {
|
||||
return 0.8
|
||||
}
|
||||
|
||||
// Depth ...
|
||||
func (FlowerForest) Depth() float64 {
|
||||
return 0.1
|
||||
}
|
||||
|
||||
// Scale ...
|
||||
func (FlowerForest) Scale() float64 {
|
||||
return 0.4
|
||||
}
|
||||
|
||||
// WaterColour ...
|
||||
func (FlowerForest) WaterColour() color.RGBA {
|
||||
return color.RGBA{R: 0x20, G: 0xa3, B: 0xcc, A: 0xa5}
|
||||
}
|
||||
|
||||
// Tags ...
|
||||
func (FlowerForest) Tags() []string {
|
||||
return []string{"animal", "flower_forest", "monster", "mutated", "overworld", "bee_habitat"}
|
||||
}
|
||||
|
||||
// String ...
|
||||
func (FlowerForest) String() string {
|
||||
return "flower_forest"
|
||||
}
|
||||
|
||||
// EncodeBiome ...
|
||||
func (FlowerForest) EncodeBiome() int {
|
||||
return 132
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
package biome
|
||||
|
||||
import "image/color"
|
||||
|
||||
// Forest ...
|
||||
type Forest struct{}
|
||||
|
||||
// Temperature ...
|
||||
func (Forest) Temperature() float64 {
|
||||
return 0.7
|
||||
}
|
||||
|
||||
// Rainfall ...
|
||||
func (Forest) Rainfall() float64 {
|
||||
return 0.8
|
||||
}
|
||||
|
||||
// Depth ...
|
||||
func (Forest) Depth() float64 {
|
||||
return 0.1
|
||||
}
|
||||
|
||||
// Scale ...
|
||||
func (Forest) Scale() float64 {
|
||||
return 0.2
|
||||
}
|
||||
|
||||
// WaterColour ...
|
||||
func (Forest) WaterColour() color.RGBA {
|
||||
return color.RGBA{R: 0x1e, G: 0x97, B: 0xf2, A: 0xa5}
|
||||
}
|
||||
|
||||
// Tags ...
|
||||
func (Forest) Tags() []string {
|
||||
return []string{"animal", "forest", "monster", "overworld", "bee_habitat"}
|
||||
}
|
||||
|
||||
// String ...
|
||||
func (Forest) String() string {
|
||||
return "forest"
|
||||
}
|
||||
|
||||
// EncodeBiome ...
|
||||
func (Forest) EncodeBiome() int {
|
||||
return 4
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
package biome
|
||||
|
||||
import "image/color"
|
||||
|
||||
// FrozenOcean ...
|
||||
type FrozenOcean struct{}
|
||||
|
||||
// Temperature ...
|
||||
func (FrozenOcean) Temperature() float64 {
|
||||
return 0
|
||||
}
|
||||
|
||||
// Rainfall ...
|
||||
func (FrozenOcean) Rainfall() float64 {
|
||||
return 0.5
|
||||
}
|
||||
|
||||
// Depth ...
|
||||
func (FrozenOcean) Depth() float64 {
|
||||
return -1
|
||||
}
|
||||
|
||||
// Scale ...
|
||||
func (FrozenOcean) Scale() float64 {
|
||||
return 0.1
|
||||
}
|
||||
|
||||
// WaterColour ...
|
||||
func (FrozenOcean) WaterColour() color.RGBA {
|
||||
return color.RGBA{R: 0x25, G: 0x70, B: 0xb5, A: 0xa5}
|
||||
}
|
||||
|
||||
// Tags ...
|
||||
func (FrozenOcean) Tags() []string {
|
||||
return []string{"frozen", "monster", "ocean", "overworld", "spawns_polar_bears_on_alternate_blocks", "spawns_cold_variant_farm_animals", "spawns_cold_variant_frogs", "spawns_snow_foxes", "spawns_white_rabbits", "fast_fishing", "high_seas"}
|
||||
}
|
||||
|
||||
// String ...
|
||||
func (FrozenOcean) String() string {
|
||||
return "frozen_ocean"
|
||||
}
|
||||
|
||||
// EncodeBiome ...
|
||||
func (FrozenOcean) EncodeBiome() int {
|
||||
return 46
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
package biome
|
||||
|
||||
import "image/color"
|
||||
|
||||
// FrozenPeaks ...
|
||||
type FrozenPeaks struct{}
|
||||
|
||||
// Temperature ...
|
||||
func (FrozenPeaks) Temperature() float64 {
|
||||
return -0.7
|
||||
}
|
||||
|
||||
// Rainfall ...
|
||||
func (FrozenPeaks) Rainfall() float64 {
|
||||
return 0.9
|
||||
}
|
||||
|
||||
// Depth ...
|
||||
func (FrozenPeaks) Depth() float64 {
|
||||
return 0.1
|
||||
}
|
||||
|
||||
// Scale ...
|
||||
func (FrozenPeaks) Scale() float64 {
|
||||
return 0.2
|
||||
}
|
||||
|
||||
// WaterColour ...
|
||||
func (FrozenPeaks) WaterColour() color.RGBA {
|
||||
return color.RGBA{R: 0x60, G: 0xb7, B: 0xff, A: 0xa6}
|
||||
}
|
||||
|
||||
// Tags ...
|
||||
func (FrozenPeaks) Tags() []string {
|
||||
return []string{"mountains", "monster", "overworld", "frozen", "frozen_peaks", "spawns_cold_variant_farm_animals", "spawns_cold_variant_frogs", "spawns_snow_foxes", "spawns_white_rabbits"}
|
||||
}
|
||||
|
||||
// String ...
|
||||
func (FrozenPeaks) String() string {
|
||||
return "frozen_peaks"
|
||||
}
|
||||
|
||||
// EncodeBiome ...
|
||||
func (FrozenPeaks) EncodeBiome() int {
|
||||
return 183
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
package biome
|
||||
|
||||
import "image/color"
|
||||
|
||||
// FrozenRiver ...
|
||||
type FrozenRiver struct{}
|
||||
|
||||
// Temperature ...
|
||||
func (FrozenRiver) Temperature() float64 {
|
||||
return 0
|
||||
}
|
||||
|
||||
// Rainfall ...
|
||||
func (FrozenRiver) Rainfall() float64 {
|
||||
return 0.5
|
||||
}
|
||||
|
||||
// Depth ...
|
||||
func (FrozenRiver) Depth() float64 {
|
||||
return -0.5
|
||||
}
|
||||
|
||||
// Scale ...
|
||||
func (FrozenRiver) Scale() float64 {
|
||||
return 0
|
||||
}
|
||||
|
||||
// WaterColour ...
|
||||
func (FrozenRiver) WaterColour() color.RGBA {
|
||||
return color.RGBA{R: 0x18, G: 0x53, B: 0x90, A: 0xa5}
|
||||
}
|
||||
|
||||
// Tags ...
|
||||
func (FrozenRiver) Tags() []string {
|
||||
return []string{"frozen", "overworld", "river", "spawns_cold_variant_farm_animals", "spawns_cold_variant_frogs", "spawns_river_mobs", "spawns_snow_foxes", "spawns_white_rabbits"}
|
||||
}
|
||||
|
||||
// String ...
|
||||
func (FrozenRiver) String() string {
|
||||
return "frozen_river"
|
||||
}
|
||||
|
||||
// EncodeBiome ...
|
||||
func (FrozenRiver) EncodeBiome() int {
|
||||
return 11
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
package biome
|
||||
|
||||
import "image/color"
|
||||
|
||||
// GiantSpruceTaigaHills ...
|
||||
type GiantSpruceTaigaHills struct{}
|
||||
|
||||
// Temperature ...
|
||||
func (GiantSpruceTaigaHills) Temperature() float64 {
|
||||
return 0.3
|
||||
}
|
||||
|
||||
// Rainfall ...
|
||||
func (GiantSpruceTaigaHills) Rainfall() float64 {
|
||||
return 0.8
|
||||
}
|
||||
|
||||
// Depth ...
|
||||
func (GiantSpruceTaigaHills) Depth() float64 {
|
||||
return 0.55
|
||||
}
|
||||
|
||||
// Scale ...
|
||||
func (GiantSpruceTaigaHills) Scale() float64 {
|
||||
return 0.5
|
||||
}
|
||||
|
||||
// WaterColour ...
|
||||
func (GiantSpruceTaigaHills) WaterColour() color.RGBA {
|
||||
return color.RGBA{R: 0x28, G: 0x63, B: 0x78, A: 0xa5}
|
||||
}
|
||||
|
||||
// Tags ...
|
||||
func (GiantSpruceTaigaHills) Tags() []string {
|
||||
return []string{"animal", "forest", "hills", "mega", "monster", "mutated", "taiga", "overworld_generation", "spawns_cold_variant_farm_animals"}
|
||||
}
|
||||
|
||||
// String ...
|
||||
func (GiantSpruceTaigaHills) String() string {
|
||||
return "redwood_taiga_hills_mutated"
|
||||
}
|
||||
|
||||
// EncodeBiome ...
|
||||
func (GiantSpruceTaigaHills) EncodeBiome() int {
|
||||
return 161
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
package biome
|
||||
|
||||
import "image/color"
|
||||
|
||||
// GiantTreeTaigaHills ...
|
||||
type GiantTreeTaigaHills struct{}
|
||||
|
||||
// Temperature ...
|
||||
func (GiantTreeTaigaHills) Temperature() float64 {
|
||||
return 0.3
|
||||
}
|
||||
|
||||
// Rainfall ...
|
||||
func (GiantTreeTaigaHills) Rainfall() float64 {
|
||||
return 0.8
|
||||
}
|
||||
|
||||
// Depth ...
|
||||
func (GiantTreeTaigaHills) Depth() float64 {
|
||||
return 0.45
|
||||
}
|
||||
|
||||
// Scale ...
|
||||
func (GiantTreeTaigaHills) Scale() float64 {
|
||||
return 0.3
|
||||
}
|
||||
|
||||
// WaterColour ...
|
||||
func (GiantTreeTaigaHills) WaterColour() color.RGBA {
|
||||
return color.RGBA{R: 0x28, G: 0x63, B: 0x78, A: 0xa5}
|
||||
}
|
||||
|
||||
// Tags ...
|
||||
func (GiantTreeTaigaHills) Tags() []string {
|
||||
return []string{"animal", "forest", "hills", "mega", "monster", "overworld", "taiga", "spawns_cold_variant_farm_animals"}
|
||||
}
|
||||
|
||||
// String ...
|
||||
func (GiantTreeTaigaHills) String() string {
|
||||
return "mega_taiga_hills"
|
||||
}
|
||||
|
||||
// EncodeBiome ...
|
||||
func (GiantTreeTaigaHills) EncodeBiome() int {
|
||||
return 33
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
package biome
|
||||
|
||||
import "image/color"
|
||||
|
||||
// GravellyMountainsPlus ...
|
||||
type GravellyMountainsPlus struct{}
|
||||
|
||||
// Temperature ...
|
||||
func (GravellyMountainsPlus) Temperature() float64 {
|
||||
return 0.2
|
||||
}
|
||||
|
||||
// Rainfall ...
|
||||
func (GravellyMountainsPlus) Rainfall() float64 {
|
||||
return 0.3
|
||||
}
|
||||
|
||||
// Depth ...
|
||||
func (GravellyMountainsPlus) Depth() float64 {
|
||||
return 1
|
||||
}
|
||||
|
||||
// Scale ...
|
||||
func (GravellyMountainsPlus) Scale() float64 {
|
||||
return 0.5
|
||||
}
|
||||
|
||||
// WaterColour ...
|
||||
func (GravellyMountainsPlus) WaterColour() color.RGBA {
|
||||
return color.RGBA{R: 0x0e, G: 0x63, B: 0xab, A: 0xa5}
|
||||
}
|
||||
|
||||
// Tags ...
|
||||
func (GravellyMountainsPlus) Tags() []string {
|
||||
return []string{"animal", "extreme_hills", "forest", "monster", "mutated", "overworld", "spawns_cold_variant_farm_animals"}
|
||||
}
|
||||
|
||||
// String ...
|
||||
func (GravellyMountainsPlus) String() string {
|
||||
return "extreme_hills_plus_trees_mutated"
|
||||
}
|
||||
|
||||
// EncodeBiome ...
|
||||
func (GravellyMountainsPlus) EncodeBiome() int {
|
||||
return 162
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
package biome
|
||||
|
||||
import "image/color"
|
||||
|
||||
// Grove ...
|
||||
type Grove struct{}
|
||||
|
||||
// Temperature ...
|
||||
func (Grove) Temperature() float64 {
|
||||
return -0.2
|
||||
}
|
||||
|
||||
// Rainfall ...
|
||||
func (Grove) Rainfall() float64 {
|
||||
return 0.8
|
||||
}
|
||||
|
||||
// Depth ...
|
||||
func (Grove) Depth() float64 {
|
||||
return 0.1
|
||||
}
|
||||
|
||||
// Scale ...
|
||||
func (Grove) Scale() float64 {
|
||||
return 0.2
|
||||
}
|
||||
|
||||
// WaterColour ...
|
||||
func (Grove) WaterColour() color.RGBA {
|
||||
return color.RGBA{R: 0x60, G: 0xb7, B: 0xff, A: 0xa6}
|
||||
}
|
||||
|
||||
// Tags ...
|
||||
func (Grove) Tags() []string {
|
||||
return []string{"mountains", "cold", "monster", "overworld", "grove", "spawns_cold_variant_farm_animals", "spawns_cold_variant_frogs", "spawns_snow_foxes", "spawns_white_rabbits"}
|
||||
}
|
||||
|
||||
// String ...
|
||||
func (Grove) String() string {
|
||||
return "grove"
|
||||
}
|
||||
|
||||
// EncodeBiome ...
|
||||
func (Grove) EncodeBiome() int {
|
||||
return 185
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
package biome
|
||||
|
||||
import "image/color"
|
||||
|
||||
// IceSpikes ...
|
||||
type IceSpikes struct{}
|
||||
|
||||
// Temperature ...
|
||||
func (IceSpikes) Temperature() float64 {
|
||||
return 0
|
||||
}
|
||||
|
||||
// Rainfall ...
|
||||
func (IceSpikes) Rainfall() float64 {
|
||||
return 1
|
||||
}
|
||||
|
||||
// Depth ...
|
||||
func (IceSpikes) Depth() float64 {
|
||||
return 0.425
|
||||
}
|
||||
|
||||
// Scale ...
|
||||
func (IceSpikes) Scale() float64 {
|
||||
return 0.45
|
||||
}
|
||||
|
||||
// WaterColour ...
|
||||
func (IceSpikes) WaterColour() color.RGBA {
|
||||
return color.RGBA{R: 0x60, G: 0xb7, B: 0xff, A: 0xa6}
|
||||
}
|
||||
|
||||
// Tags ...
|
||||
func (IceSpikes) Tags() []string {
|
||||
return []string{"frozen", "ice_plains", "monster", "mutated", "overworld", "spawns_cold_variant_farm_animals", "spawns_cold_variant_frogs", "spawns_white_rabbits"}
|
||||
}
|
||||
|
||||
// String ...
|
||||
func (IceSpikes) String() string {
|
||||
return "ice_plains_spikes"
|
||||
}
|
||||
|
||||
// EncodeBiome ...
|
||||
func (IceSpikes) EncodeBiome() int {
|
||||
return 140
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
package biome
|
||||
|
||||
import "image/color"
|
||||
|
||||
// JaggedPeaks ...
|
||||
type JaggedPeaks struct{}
|
||||
|
||||
// Temperature ...
|
||||
func (JaggedPeaks) Temperature() float64 {
|
||||
return -0.7
|
||||
}
|
||||
|
||||
// Rainfall ...
|
||||
func (JaggedPeaks) Rainfall() float64 {
|
||||
return 0.9
|
||||
}
|
||||
|
||||
// Depth ...
|
||||
func (JaggedPeaks) Depth() float64 {
|
||||
return 0.1
|
||||
}
|
||||
|
||||
// Scale ...
|
||||
func (JaggedPeaks) Scale() float64 {
|
||||
return 0.2
|
||||
}
|
||||
|
||||
// WaterColour ...
|
||||
func (JaggedPeaks) WaterColour() color.RGBA {
|
||||
return color.RGBA{R: 0x60, G: 0xb7, B: 0xff, A: 0xa6}
|
||||
}
|
||||
|
||||
// Tags ...
|
||||
func (JaggedPeaks) Tags() []string {
|
||||
return []string{"mountains", "monster", "overworld", "frozen", "jagged_peaks", "spawns_cold_variant_farm_animals", "spawns_cold_variant_frogs", "spawns_snow_foxes", "spawns_white_rabbits"}
|
||||
}
|
||||
|
||||
// String ...
|
||||
func (JaggedPeaks) String() string {
|
||||
return "jagged_peaks"
|
||||
}
|
||||
|
||||
// EncodeBiome ...
|
||||
func (JaggedPeaks) EncodeBiome() int {
|
||||
return 182
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
package biome
|
||||
|
||||
import "image/color"
|
||||
|
||||
// Jungle ...
|
||||
type Jungle struct{}
|
||||
|
||||
// Temperature ...
|
||||
func (Jungle) Temperature() float64 {
|
||||
return 0.95
|
||||
}
|
||||
|
||||
// Rainfall ...
|
||||
func (Jungle) Rainfall() float64 {
|
||||
return 0.9
|
||||
}
|
||||
|
||||
// Depth ...
|
||||
func (Jungle) Depth() float64 {
|
||||
return 0.1
|
||||
}
|
||||
|
||||
// Scale ...
|
||||
func (Jungle) Scale() float64 {
|
||||
return 0.2
|
||||
}
|
||||
|
||||
// WaterColour ...
|
||||
func (Jungle) WaterColour() color.RGBA {
|
||||
return color.RGBA{R: 0x14, G: 0xa2, B: 0xc5, A: 0xa5}
|
||||
}
|
||||
|
||||
// Tags ...
|
||||
func (Jungle) Tags() []string {
|
||||
return []string{"animal", "has_structure_trail_ruins", "jungle", "monster", "overworld", "rare", "spawns_jungle_mobs", "spawns_warm_variant_farm_animals"}
|
||||
}
|
||||
|
||||
// String ...
|
||||
func (Jungle) String() string {
|
||||
return "jungle"
|
||||
}
|
||||
|
||||
// EncodeBiome ...
|
||||
func (Jungle) EncodeBiome() int {
|
||||
return 21
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
package biome
|
||||
|
||||
import "image/color"
|
||||
|
||||
// JungleEdge ...
|
||||
type JungleEdge struct{}
|
||||
|
||||
// Temperature ...
|
||||
func (JungleEdge) Temperature() float64 {
|
||||
return 0.95
|
||||
}
|
||||
|
||||
// Rainfall ...
|
||||
func (JungleEdge) Rainfall() float64 {
|
||||
return 0.8
|
||||
}
|
||||
|
||||
// Depth ...
|
||||
func (JungleEdge) Depth() float64 {
|
||||
return 0.1
|
||||
}
|
||||
|
||||
// Scale ...
|
||||
func (JungleEdge) Scale() float64 {
|
||||
return 0.2
|
||||
}
|
||||
|
||||
// WaterColour ...
|
||||
func (JungleEdge) WaterColour() color.RGBA {
|
||||
return color.RGBA{R: 0x0d, G: 0x8a, B: 0xe3, A: 0xa5}
|
||||
}
|
||||
|
||||
// Tags ...
|
||||
func (JungleEdge) Tags() []string {
|
||||
return []string{"animal", "edge", "jungle", "monster", "overworld", "spawns_jungle_mobs", "spawns_warm_variant_farm_animals"}
|
||||
}
|
||||
|
||||
// String ...
|
||||
func (JungleEdge) String() string {
|
||||
return "jungle_edge"
|
||||
}
|
||||
|
||||
// EncodeBiome ...
|
||||
func (JungleEdge) EncodeBiome() int {
|
||||
return 23
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
package biome
|
||||
|
||||
import "image/color"
|
||||
|
||||
// JungleHills ...
|
||||
type JungleHills struct{}
|
||||
|
||||
// Temperature ...
|
||||
func (JungleHills) Temperature() float64 {
|
||||
return 0.95
|
||||
}
|
||||
|
||||
// Rainfall ...
|
||||
func (JungleHills) Rainfall() float64 {
|
||||
return 0.9
|
||||
}
|
||||
|
||||
// Depth ...
|
||||
func (JungleHills) Depth() float64 {
|
||||
return 0.45
|
||||
}
|
||||
|
||||
// Scale ...
|
||||
func (JungleHills) Scale() float64 {
|
||||
return 0.3
|
||||
}
|
||||
|
||||
// WaterColour ...
|
||||
func (JungleHills) WaterColour() color.RGBA {
|
||||
return color.RGBA{R: 0x1b, G: 0x9e, B: 0xd8, A: 0xa5}
|
||||
}
|
||||
|
||||
// Tags ...
|
||||
func (JungleHills) Tags() []string {
|
||||
return []string{"animal", "hills", "jungle", "monster", "overworld", "spawns_jungle_mobs", "spawns_warm_variant_farm_animals"}
|
||||
}
|
||||
|
||||
// String ...
|
||||
func (JungleHills) String() string {
|
||||
return "jungle_hills"
|
||||
}
|
||||
|
||||
// EncodeBiome ...
|
||||
func (JungleHills) EncodeBiome() int {
|
||||
return 22
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
package biome
|
||||
|
||||
import "image/color"
|
||||
|
||||
// LegacyFrozenOcean ...
|
||||
type LegacyFrozenOcean struct{}
|
||||
|
||||
// Temperature ...
|
||||
func (LegacyFrozenOcean) Temperature() float64 {
|
||||
return 0
|
||||
}
|
||||
|
||||
// Rainfall ...
|
||||
func (LegacyFrozenOcean) Rainfall() float64 {
|
||||
return 0.5
|
||||
}
|
||||
|
||||
// Depth ...
|
||||
func (LegacyFrozenOcean) Depth() float64 {
|
||||
return -1
|
||||
}
|
||||
|
||||
// Scale ...
|
||||
func (LegacyFrozenOcean) Scale() float64 {
|
||||
return 0.1
|
||||
}
|
||||
|
||||
// WaterColour ...
|
||||
func (LegacyFrozenOcean) WaterColour() color.RGBA {
|
||||
return color.RGBA{R: 0x60, G: 0xb7, B: 0xff, A: 0xa6}
|
||||
}
|
||||
|
||||
// Tags ...
|
||||
func (LegacyFrozenOcean) Tags() []string {
|
||||
return []string{"legacy", "frozen", "ocean", "overworld", "spawns_cold_variant_farm_animals", "spawns_polar_bears_on_alternate_blocks", "fast_fishing", "high_seas"}
|
||||
}
|
||||
|
||||
// String ...
|
||||
func (LegacyFrozenOcean) String() string {
|
||||
return "legacy_frozen_ocean"
|
||||
}
|
||||
|
||||
// EncodeBiome ...
|
||||
func (LegacyFrozenOcean) EncodeBiome() int {
|
||||
return 10
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
package biome
|
||||
|
||||
import "image/color"
|
||||
|
||||
// LukewarmOcean ...
|
||||
type LukewarmOcean struct{}
|
||||
|
||||
// Temperature ...
|
||||
func (LukewarmOcean) Temperature() float64 {
|
||||
return 0.5
|
||||
}
|
||||
|
||||
// Rainfall ...
|
||||
func (LukewarmOcean) Rainfall() float64 {
|
||||
return 0.5
|
||||
}
|
||||
|
||||
// Depth ...
|
||||
func (LukewarmOcean) Depth() float64 {
|
||||
return -1
|
||||
}
|
||||
|
||||
// Scale ...
|
||||
func (LukewarmOcean) Scale() float64 {
|
||||
return 0.1
|
||||
}
|
||||
|
||||
// WaterColour ...
|
||||
func (LukewarmOcean) WaterColour() color.RGBA {
|
||||
return color.RGBA{R: 0x0d, G: 0x96, B: 0xdb, A: 0xa5}
|
||||
}
|
||||
|
||||
// Tags ...
|
||||
func (LukewarmOcean) Tags() []string {
|
||||
return []string{"lukewarm", "monster", "ocean", "overworld", "spawns_warm_variant_farm_animals", "fast_fishing", "high_seas"}
|
||||
}
|
||||
|
||||
// String ...
|
||||
func (LukewarmOcean) String() string {
|
||||
return "lukewarm_ocean"
|
||||
}
|
||||
|
||||
// EncodeBiome ...
|
||||
func (LukewarmOcean) EncodeBiome() int {
|
||||
return 42
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
package biome
|
||||
|
||||
import "image/color"
|
||||
|
||||
// LushCaves ...
|
||||
type LushCaves struct{}
|
||||
|
||||
// Temperature ...
|
||||
func (LushCaves) Temperature() float64 {
|
||||
return 0.9
|
||||
}
|
||||
|
||||
// Rainfall ...
|
||||
func (LushCaves) Rainfall() float64 {
|
||||
return 0
|
||||
}
|
||||
|
||||
// Depth ...
|
||||
func (LushCaves) Depth() float64 {
|
||||
return 0.1
|
||||
}
|
||||
|
||||
// Scale ...
|
||||
func (LushCaves) Scale() float64 {
|
||||
return 0.2
|
||||
}
|
||||
|
||||
// WaterColour ...
|
||||
func (LushCaves) WaterColour() color.RGBA {
|
||||
return color.RGBA{R: 0x60, G: 0xb7, B: 0xff, A: 0xa6}
|
||||
}
|
||||
|
||||
// Tags ...
|
||||
func (LushCaves) Tags() []string {
|
||||
return []string{"caves", "lush_caves", "overworld", "monster", "spawns_tropical_fish_at_any_height"}
|
||||
}
|
||||
|
||||
// String ...
|
||||
func (LushCaves) String() string {
|
||||
return "lush_caves"
|
||||
}
|
||||
|
||||
// EncodeBiome ...
|
||||
func (LushCaves) EncodeBiome() int {
|
||||
return 187
|
||||
}
|
||||
@@ -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
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
package biome
|
||||
|
||||
import "image/color"
|
||||
|
||||
// Meadow ...
|
||||
type Meadow struct{}
|
||||
|
||||
// Temperature ...
|
||||
func (Meadow) Temperature() float64 {
|
||||
return 0.3
|
||||
}
|
||||
|
||||
// Rainfall ...
|
||||
func (Meadow) Rainfall() float64 {
|
||||
return 0.8
|
||||
}
|
||||
|
||||
// Depth ...
|
||||
func (Meadow) Depth() float64 {
|
||||
return 0.1
|
||||
}
|
||||
|
||||
// Scale ...
|
||||
func (Meadow) Scale() float64 {
|
||||
return 0.2
|
||||
}
|
||||
|
||||
// WaterColour ...
|
||||
func (Meadow) WaterColour() color.RGBA {
|
||||
return color.RGBA{R: 0x60, G: 0xb7, B: 0xff, A: 0xa6}
|
||||
}
|
||||
|
||||
// Tags ...
|
||||
func (Meadow) Tags() []string {
|
||||
return []string{"mountains", "monster", "overworld", "meadow", "bee_habitat"}
|
||||
}
|
||||
|
||||
// String ...
|
||||
func (Meadow) String() string {
|
||||
return "meadow"
|
||||
}
|
||||
|
||||
// EncodeBiome ...
|
||||
func (Meadow) EncodeBiome() int {
|
||||
return 186
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
package biome
|
||||
|
||||
import "image/color"
|
||||
|
||||
// ModifiedBadlandsPlateau ...
|
||||
type ModifiedBadlandsPlateau struct{}
|
||||
|
||||
// Temperature ...
|
||||
func (ModifiedBadlandsPlateau) Temperature() float64 {
|
||||
return 2
|
||||
}
|
||||
|
||||
// Rainfall ...
|
||||
func (ModifiedBadlandsPlateau) Rainfall() float64 {
|
||||
return 0
|
||||
}
|
||||
|
||||
// Depth ...
|
||||
func (ModifiedBadlandsPlateau) Depth() float64 {
|
||||
return 0.45
|
||||
}
|
||||
|
||||
// Scale ...
|
||||
func (ModifiedBadlandsPlateau) Scale() float64 {
|
||||
return 0.3
|
||||
}
|
||||
|
||||
// WaterColour ...
|
||||
func (ModifiedBadlandsPlateau) WaterColour() color.RGBA {
|
||||
return color.RGBA{R: 0x55, G: 0x80, B: 0x9e, A: 0xa5}
|
||||
}
|
||||
|
||||
// Tags ...
|
||||
func (ModifiedBadlandsPlateau) Tags() []string {
|
||||
return []string{"animal", "mesa", "monster", "mutated", "overworld", "plateau", "stone", "spawns_mesa_mobs", "spawns_warm_variant_farm_animals", "surface_mineshaft"}
|
||||
}
|
||||
|
||||
// String ...
|
||||
func (ModifiedBadlandsPlateau) String() string {
|
||||
return "mesa_plateau_mutated"
|
||||
}
|
||||
|
||||
// EncodeBiome ...
|
||||
func (ModifiedBadlandsPlateau) EncodeBiome() int {
|
||||
return 167
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
package biome
|
||||
|
||||
import "image/color"
|
||||
|
||||
// ModifiedJungle ...
|
||||
type ModifiedJungle struct{}
|
||||
|
||||
// Temperature ...
|
||||
func (ModifiedJungle) Temperature() float64 {
|
||||
return 0.95
|
||||
}
|
||||
|
||||
// Rainfall ...
|
||||
func (ModifiedJungle) Rainfall() float64 {
|
||||
return 0.9
|
||||
}
|
||||
|
||||
// Depth ...
|
||||
func (ModifiedJungle) Depth() float64 {
|
||||
return 0.2
|
||||
}
|
||||
|
||||
// Scale ...
|
||||
func (ModifiedJungle) Scale() float64 {
|
||||
return 0.4
|
||||
}
|
||||
|
||||
// WaterColour ...
|
||||
func (ModifiedJungle) WaterColour() color.RGBA {
|
||||
return color.RGBA{R: 0x1b, G: 0x9e, B: 0xd8, A: 0xa5}
|
||||
}
|
||||
|
||||
// Tags ...
|
||||
func (ModifiedJungle) Tags() []string {
|
||||
return []string{"animal", "jungle", "monster", "mutated", "overworld_generation", "spawns_warm_variant_farm_animals"}
|
||||
}
|
||||
|
||||
// String ...
|
||||
func (ModifiedJungle) String() string {
|
||||
return "jungle_mutated"
|
||||
}
|
||||
|
||||
// EncodeBiome ...
|
||||
func (ModifiedJungle) EncodeBiome() int {
|
||||
return 149
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
package biome
|
||||
|
||||
import "image/color"
|
||||
|
||||
// ModifiedJungleEdge ...
|
||||
type ModifiedJungleEdge struct{}
|
||||
|
||||
// Temperature ...
|
||||
func (ModifiedJungleEdge) Temperature() float64 {
|
||||
return 0.95
|
||||
}
|
||||
|
||||
// Rainfall ...
|
||||
func (ModifiedJungleEdge) Rainfall() float64 {
|
||||
return 0.8
|
||||
}
|
||||
|
||||
// Depth ...
|
||||
func (ModifiedJungleEdge) Depth() float64 {
|
||||
return 0.2
|
||||
}
|
||||
|
||||
// Scale ...
|
||||
func (ModifiedJungleEdge) Scale() float64 {
|
||||
return 0.4
|
||||
}
|
||||
|
||||
// WaterColour ...
|
||||
func (ModifiedJungleEdge) WaterColour() color.RGBA {
|
||||
return color.RGBA{R: 0x0d, G: 0x8a, B: 0xe3, A: 0xa5}
|
||||
}
|
||||
|
||||
// Tags ...
|
||||
func (ModifiedJungleEdge) Tags() []string {
|
||||
return []string{"animal", "edge", "jungle", "monster", "mutated", "overworld_generation", "spawns_jungle_mobs", "spawns_warm_variant_farm_animals"}
|
||||
}
|
||||
|
||||
// String ...
|
||||
func (ModifiedJungleEdge) String() string {
|
||||
return "jungle_edge_mutated"
|
||||
}
|
||||
|
||||
// EncodeBiome ...
|
||||
func (ModifiedJungleEdge) EncodeBiome() int {
|
||||
return 151
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
package biome
|
||||
|
||||
import "image/color"
|
||||
|
||||
// ModifiedWoodedBadlandsPlateau ...
|
||||
type ModifiedWoodedBadlandsPlateau struct{}
|
||||
|
||||
// Temperature ...
|
||||
func (ModifiedWoodedBadlandsPlateau) Temperature() float64 {
|
||||
return 2
|
||||
}
|
||||
|
||||
// Rainfall ...
|
||||
func (ModifiedWoodedBadlandsPlateau) Rainfall() float64 {
|
||||
return 0
|
||||
}
|
||||
|
||||
// Depth ...
|
||||
func (ModifiedWoodedBadlandsPlateau) Depth() float64 {
|
||||
return 0.45
|
||||
}
|
||||
|
||||
// Scale ...
|
||||
func (ModifiedWoodedBadlandsPlateau) Scale() float64 {
|
||||
return 0.3
|
||||
}
|
||||
|
||||
// WaterColour ...
|
||||
func (ModifiedWoodedBadlandsPlateau) WaterColour() color.RGBA {
|
||||
return color.RGBA{R: 0x55, G: 0x80, B: 0x9e, A: 0xa5}
|
||||
}
|
||||
|
||||
// Tags ...
|
||||
func (ModifiedWoodedBadlandsPlateau) Tags() []string {
|
||||
return []string{"animal", "mesa", "monster", "mutated", "overworld", "plateau", "spawns_mesa_mobs", "spawns_warm_variant_farm_animals", "surface_mineshaft"}
|
||||
}
|
||||
|
||||
// String ...
|
||||
func (ModifiedWoodedBadlandsPlateau) String() string {
|
||||
return "mesa_plateau_stone_mutated"
|
||||
}
|
||||
|
||||
// EncodeBiome ...
|
||||
func (ModifiedWoodedBadlandsPlateau) EncodeBiome() int {
|
||||
return 166
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
package biome
|
||||
|
||||
import "image/color"
|
||||
|
||||
// MountainEdge ...
|
||||
type MountainEdge struct{}
|
||||
|
||||
// Temperature ...
|
||||
func (MountainEdge) Temperature() float64 {
|
||||
return 0.2
|
||||
}
|
||||
|
||||
// Rainfall ...
|
||||
func (MountainEdge) Rainfall() float64 {
|
||||
return 0.3
|
||||
}
|
||||
|
||||
// Depth ...
|
||||
func (MountainEdge) Depth() float64 {
|
||||
return 0.8
|
||||
}
|
||||
|
||||
// Scale ...
|
||||
func (MountainEdge) Scale() float64 {
|
||||
return 0.4
|
||||
}
|
||||
|
||||
// WaterColour ...
|
||||
func (MountainEdge) WaterColour() color.RGBA {
|
||||
return color.RGBA{R: 0x04, G: 0x5c, B: 0xd5, A: 0xa5}
|
||||
}
|
||||
|
||||
// Tags ...
|
||||
func (MountainEdge) Tags() []string {
|
||||
return []string{"animal", "edge", "extreme_hills", "monster", "mountain", "overworld", "spawns_cold_variant_farm_animals"}
|
||||
}
|
||||
|
||||
// String ...
|
||||
func (MountainEdge) String() string {
|
||||
return "extreme_hills_edge"
|
||||
}
|
||||
|
||||
// EncodeBiome ...
|
||||
func (MountainEdge) EncodeBiome() int {
|
||||
return 20
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
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
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
package biome
|
||||
|
||||
import "image/color"
|
||||
|
||||
// MushroomFields ...
|
||||
type MushroomFields struct{}
|
||||
|
||||
// Temperature ...
|
||||
func (MushroomFields) Temperature() float64 {
|
||||
return 0.9
|
||||
}
|
||||
|
||||
// Rainfall ...
|
||||
func (MushroomFields) Rainfall() float64 {
|
||||
return 1
|
||||
}
|
||||
|
||||
// Depth ...
|
||||
func (MushroomFields) Depth() float64 {
|
||||
return 0.2
|
||||
}
|
||||
|
||||
// Scale ...
|
||||
func (MushroomFields) Scale() float64 {
|
||||
return 0.3
|
||||
}
|
||||
|
||||
// WaterColour ...
|
||||
func (MushroomFields) WaterColour() color.RGBA {
|
||||
return color.RGBA{R: 0x8a, G: 0x89, B: 0x97, A: 0xa5}
|
||||
}
|
||||
|
||||
// Tags ...
|
||||
func (MushroomFields) Tags() []string {
|
||||
return []string{"mooshroom_island", "overworld", "spawns_without_patrols"}
|
||||
}
|
||||
|
||||
// String ...
|
||||
func (MushroomFields) String() string {
|
||||
return "mushroom_island"
|
||||
}
|
||||
|
||||
// EncodeBiome ...
|
||||
func (MushroomFields) EncodeBiome() int {
|
||||
return 14
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
package biome
|
||||
|
||||
import "image/color"
|
||||
|
||||
// NetherWastes ...
|
||||
type NetherWastes struct{}
|
||||
|
||||
// Temperature ...
|
||||
func (NetherWastes) Temperature() float64 {
|
||||
return 2
|
||||
}
|
||||
|
||||
// Rainfall ...
|
||||
func (NetherWastes) Rainfall() float64 {
|
||||
return 0
|
||||
}
|
||||
|
||||
// Depth ...
|
||||
func (NetherWastes) Depth() float64 {
|
||||
return 0.1
|
||||
}
|
||||
|
||||
// Scale ...
|
||||
func (NetherWastes) Scale() float64 {
|
||||
return 0.2
|
||||
}
|
||||
|
||||
// WaterColour ...
|
||||
func (NetherWastes) WaterColour() color.RGBA {
|
||||
return color.RGBA{R: 0x90, G: 0x59, B: 0x57, A: 0xa5}
|
||||
}
|
||||
|
||||
// Tags ...
|
||||
func (NetherWastes) Tags() []string {
|
||||
return []string{"nether", "nether_wastes", "spawn_endermen", "spawn_few_piglins", "spawn_ghast", "spawn_magma_cubes", "spawns_nether_mobs", "spawn_zombified_piglin", "spawns_warm_variant_farm_animals"}
|
||||
}
|
||||
|
||||
// String ...
|
||||
func (NetherWastes) String() string {
|
||||
return "hell"
|
||||
}
|
||||
|
||||
// EncodeBiome ...
|
||||
func (NetherWastes) EncodeBiome() int {
|
||||
return 8
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
package biome
|
||||
|
||||
import "image/color"
|
||||
|
||||
// Ocean ...
|
||||
type Ocean struct{}
|
||||
|
||||
// Temperature ...
|
||||
func (Ocean) Temperature() float64 {
|
||||
return 0.5
|
||||
}
|
||||
|
||||
// Rainfall ...
|
||||
func (Ocean) Rainfall() float64 {
|
||||
return 0.5
|
||||
}
|
||||
|
||||
// Depth ...
|
||||
func (Ocean) Depth() float64 {
|
||||
return -1
|
||||
}
|
||||
|
||||
// Scale ...
|
||||
func (Ocean) Scale() float64 {
|
||||
return 0.1
|
||||
}
|
||||
|
||||
// WaterColour ...
|
||||
func (Ocean) WaterColour() color.RGBA {
|
||||
return color.RGBA{R: 0x17, G: 0x87, B: 0xd4, A: 0xa5}
|
||||
}
|
||||
|
||||
// Tags ...
|
||||
func (Ocean) Tags() []string {
|
||||
return []string{"monster", "ocean", "overworld", "fast_fishing", "high_seas"}
|
||||
}
|
||||
|
||||
// String ...
|
||||
func (Ocean) String() string {
|
||||
return "ocean"
|
||||
}
|
||||
|
||||
// EncodeBiome ...
|
||||
func (Ocean) EncodeBiome() int {
|
||||
return 0
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
package biome
|
||||
|
||||
import "image/color"
|
||||
|
||||
// OldGrowthBirchForest ...
|
||||
type OldGrowthBirchForest struct{}
|
||||
|
||||
// Temperature ...
|
||||
func (OldGrowthBirchForest) Temperature() float64 {
|
||||
return 0.6
|
||||
}
|
||||
|
||||
// Rainfall ...
|
||||
func (OldGrowthBirchForest) Rainfall() float64 {
|
||||
return 0.6
|
||||
}
|
||||
|
||||
// Depth ...
|
||||
func (OldGrowthBirchForest) Depth() float64 {
|
||||
return 0.2
|
||||
}
|
||||
|
||||
// Scale ...
|
||||
func (OldGrowthBirchForest) Scale() float64 {
|
||||
return 0.4
|
||||
}
|
||||
|
||||
// WaterColour ...
|
||||
func (OldGrowthBirchForest) WaterColour() color.RGBA {
|
||||
return color.RGBA{R: 0x06, G: 0x77, B: 0xce, A: 0xa5}
|
||||
}
|
||||
|
||||
// Tags ...
|
||||
func (OldGrowthBirchForest) Tags() []string {
|
||||
return []string{"animal", "birch", "forest", "monster", "mutated", "bee_habitat", "overworld_generation", "has_structure_trail_ruins"}
|
||||
}
|
||||
|
||||
// String ...
|
||||
func (OldGrowthBirchForest) String() string {
|
||||
return "birch_forest_mutated"
|
||||
}
|
||||
|
||||
// EncodeBiome ...
|
||||
func (OldGrowthBirchForest) EncodeBiome() int {
|
||||
return 155
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
package biome
|
||||
|
||||
import "image/color"
|
||||
|
||||
// OldGrowthPineTaiga ...
|
||||
type OldGrowthPineTaiga struct{}
|
||||
|
||||
// Temperature ...
|
||||
func (OldGrowthPineTaiga) Temperature() float64 {
|
||||
return 0.3
|
||||
}
|
||||
|
||||
// Rainfall ...
|
||||
func (OldGrowthPineTaiga) Rainfall() float64 {
|
||||
return 0.8
|
||||
}
|
||||
|
||||
// Depth ...
|
||||
func (OldGrowthPineTaiga) Depth() float64 {
|
||||
return 0.2
|
||||
}
|
||||
|
||||
// Scale ...
|
||||
func (OldGrowthPineTaiga) Scale() float64 {
|
||||
return 0.2
|
||||
}
|
||||
|
||||
// WaterColour ...
|
||||
func (OldGrowthPineTaiga) WaterColour() color.RGBA {
|
||||
return color.RGBA{R: 0x2d, G: 0x6d, B: 0x77, A: 0xa5}
|
||||
}
|
||||
|
||||
// Tags ...
|
||||
func (OldGrowthPineTaiga) Tags() []string {
|
||||
return []string{"animal", "forest", "mega", "monster", "overworld", "rare", "taiga", "has_structure_trail_ruins", "spawns_cold_variant_farm_animals"}
|
||||
}
|
||||
|
||||
// String ...
|
||||
func (OldGrowthPineTaiga) String() string {
|
||||
return "mega_taiga"
|
||||
}
|
||||
|
||||
// EncodeBiome ...
|
||||
func (OldGrowthPineTaiga) EncodeBiome() int {
|
||||
return 32
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
package biome
|
||||
|
||||
import "image/color"
|
||||
|
||||
// OldGrowthSpruceTaiga ...
|
||||
type OldGrowthSpruceTaiga struct{}
|
||||
|
||||
// Temperature ...
|
||||
func (OldGrowthSpruceTaiga) Temperature() float64 {
|
||||
return 0.25
|
||||
}
|
||||
|
||||
// Rainfall ...
|
||||
func (OldGrowthSpruceTaiga) Rainfall() float64 {
|
||||
return 0.8
|
||||
}
|
||||
|
||||
// Depth ...
|
||||
func (OldGrowthSpruceTaiga) Depth() float64 {
|
||||
return 0.2
|
||||
}
|
||||
|
||||
// Scale ...
|
||||
func (OldGrowthSpruceTaiga) Scale() float64 {
|
||||
return 0.2
|
||||
}
|
||||
|
||||
// WaterColour ...
|
||||
func (OldGrowthSpruceTaiga) WaterColour() color.RGBA {
|
||||
return color.RGBA{R: 0x2d, G: 0x6d, B: 0x77, A: 0xa5}
|
||||
}
|
||||
|
||||
// Tags ...
|
||||
func (OldGrowthSpruceTaiga) Tags() []string {
|
||||
return []string{"animal", "forest", "mega", "monster", "mutated", "overworld", "taiga", "has_structure_trail_ruins", "spawns_cold_variant_farm_animals"}
|
||||
}
|
||||
|
||||
// String ...
|
||||
func (OldGrowthSpruceTaiga) String() string {
|
||||
return "redwood_taiga_mutated"
|
||||
}
|
||||
|
||||
// EncodeBiome ...
|
||||
func (OldGrowthSpruceTaiga) EncodeBiome() int {
|
||||
return 160
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
package biome
|
||||
|
||||
import "image/color"
|
||||
|
||||
// PaleGarden ...
|
||||
type PaleGarden struct{}
|
||||
|
||||
// Temperature ...
|
||||
func (PaleGarden) Temperature() float64 {
|
||||
return 0.7
|
||||
}
|
||||
|
||||
// Rainfall ...
|
||||
func (PaleGarden) Rainfall() float64 {
|
||||
return 0.8
|
||||
}
|
||||
|
||||
// Depth ...
|
||||
func (PaleGarden) Depth() float64 {
|
||||
return 0.1
|
||||
}
|
||||
|
||||
// Scale ...
|
||||
func (PaleGarden) Scale() float64 {
|
||||
return 0.2
|
||||
}
|
||||
|
||||
// WaterColour ...
|
||||
func (PaleGarden) WaterColour() color.RGBA {
|
||||
return color.RGBA{R: 0x60, G: 0xb7, B: 0xff, A: 0xa6}
|
||||
}
|
||||
|
||||
// Tags ...
|
||||
func (PaleGarden) Tags() []string {
|
||||
return []string{"monster", "overworld", "pale_garden"}
|
||||
}
|
||||
|
||||
// String ...
|
||||
func (PaleGarden) String() string {
|
||||
return "pale_garden"
|
||||
}
|
||||
|
||||
// EncodeBiome ...
|
||||
func (PaleGarden) EncodeBiome() int {
|
||||
return 193
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
package biome
|
||||
|
||||
import "image/color"
|
||||
|
||||
// Plains ...
|
||||
type Plains struct{}
|
||||
|
||||
// Temperature ...
|
||||
func (Plains) Temperature() float64 {
|
||||
return 0.8
|
||||
}
|
||||
|
||||
// Rainfall ...
|
||||
func (Plains) Rainfall() float64 {
|
||||
return 0.4
|
||||
}
|
||||
|
||||
// Depth ...
|
||||
func (Plains) Depth() float64 {
|
||||
return 0.125
|
||||
}
|
||||
|
||||
// Scale ...
|
||||
func (Plains) Scale() float64 {
|
||||
return 0.05
|
||||
}
|
||||
|
||||
// WaterColour ...
|
||||
func (Plains) WaterColour() color.RGBA {
|
||||
return color.RGBA{R: 0x44, G: 0xaf, B: 0xf5, A: 0xa5}
|
||||
}
|
||||
|
||||
// Tags ...
|
||||
func (Plains) Tags() []string {
|
||||
return []string{"animal", "monster", "overworld", "plains", "bee_habitat"}
|
||||
}
|
||||
|
||||
// String ...
|
||||
func (Plains) String() string {
|
||||
return "plains"
|
||||
}
|
||||
|
||||
// EncodeBiome ...
|
||||
func (Plains) EncodeBiome() int {
|
||||
return 1
|
||||
}
|
||||
@@ -0,0 +1,106 @@
|
||||
package biome
|
||||
|
||||
import (
|
||||
_ "unsafe"
|
||||
|
||||
"github.com/df-mc/dragonfly/server/world"
|
||||
)
|
||||
|
||||
// init registers all biomes that can be used in a world.World.
|
||||
func init() {
|
||||
world.RegisterBiome(BadlandsPlateau{})
|
||||
world.RegisterBiome(Badlands{})
|
||||
world.RegisterBiome(BambooJungleHills{})
|
||||
world.RegisterBiome(BambooJungle{})
|
||||
world.RegisterBiome(BasaltDeltas{})
|
||||
world.RegisterBiome(Beach{})
|
||||
world.RegisterBiome(BirchForestHills{})
|
||||
world.RegisterBiome(BirchForest{})
|
||||
world.RegisterBiome(CherryGrove{})
|
||||
world.RegisterBiome(ColdOcean{})
|
||||
world.RegisterBiome(CrimsonForest{})
|
||||
world.RegisterBiome(DarkForestHills{})
|
||||
world.RegisterBiome(DarkForest{})
|
||||
world.RegisterBiome(DeepColdOcean{})
|
||||
world.RegisterBiome(DeepDark{})
|
||||
world.RegisterBiome(DeepFrozenOcean{})
|
||||
world.RegisterBiome(DeepLukewarmOcean{})
|
||||
world.RegisterBiome(DeepOcean{})
|
||||
world.RegisterBiome(DeepWarmOcean{})
|
||||
world.RegisterBiome(DesertHills{})
|
||||
world.RegisterBiome(DesertLakes{})
|
||||
world.RegisterBiome(Desert{})
|
||||
world.RegisterBiome(DripstoneCaves{})
|
||||
world.RegisterBiome(End{})
|
||||
world.RegisterBiome(ErodedBadlands{})
|
||||
world.RegisterBiome(FlowerForest{})
|
||||
world.RegisterBiome(Forest{})
|
||||
world.RegisterBiome(FrozenOcean{})
|
||||
world.RegisterBiome(FrozenPeaks{})
|
||||
world.RegisterBiome(FrozenRiver{})
|
||||
world.RegisterBiome(GiantSpruceTaigaHills{})
|
||||
world.RegisterBiome(GiantTreeTaigaHills{})
|
||||
world.RegisterBiome(GravellyMountainsPlus{})
|
||||
world.RegisterBiome(Grove{})
|
||||
world.RegisterBiome(IceSpikes{})
|
||||
world.RegisterBiome(JaggedPeaks{})
|
||||
world.RegisterBiome(JungleEdge{})
|
||||
world.RegisterBiome(JungleHills{})
|
||||
world.RegisterBiome(Jungle{})
|
||||
world.RegisterBiome(LegacyFrozenOcean{})
|
||||
world.RegisterBiome(LukewarmOcean{})
|
||||
world.RegisterBiome(LushCaves{})
|
||||
world.RegisterBiome(MangroveSwamp{})
|
||||
world.RegisterBiome(Meadow{})
|
||||
world.RegisterBiome(ModifiedBadlandsPlateau{})
|
||||
world.RegisterBiome(ModifiedJungleEdge{})
|
||||
world.RegisterBiome(ModifiedJungle{})
|
||||
world.RegisterBiome(ModifiedWoodedBadlandsPlateau{})
|
||||
world.RegisterBiome(MountainEdge{})
|
||||
world.RegisterBiome(MushroomFieldShore{})
|
||||
world.RegisterBiome(MushroomFields{})
|
||||
world.RegisterBiome(NetherWastes{})
|
||||
world.RegisterBiome(Ocean{})
|
||||
world.RegisterBiome(OldGrowthBirchForest{})
|
||||
world.RegisterBiome(OldGrowthPineTaiga{})
|
||||
world.RegisterBiome(OldGrowthSpruceTaiga{})
|
||||
world.RegisterBiome(PaleGarden{})
|
||||
world.RegisterBiome(Plains{})
|
||||
world.RegisterBiome(River{})
|
||||
world.RegisterBiome(SavannaPlateau{})
|
||||
world.RegisterBiome(Savanna{})
|
||||
world.RegisterBiome(ShatteredSavannaPlateau{})
|
||||
world.RegisterBiome(SnowyBeach{})
|
||||
world.RegisterBiome(SnowyMountains{})
|
||||
world.RegisterBiome(SnowyPlains{})
|
||||
world.RegisterBiome(SnowySlopes{})
|
||||
world.RegisterBiome(SnowyTaigaHills{})
|
||||
world.RegisterBiome(SnowyTaigaMountains{})
|
||||
world.RegisterBiome(SnowyTaiga{})
|
||||
world.RegisterBiome(SoulSandValley{})
|
||||
world.RegisterBiome(StonyPeaks{})
|
||||
world.RegisterBiome(StonyShore{})
|
||||
world.RegisterBiome(SulfurCaves{})
|
||||
world.RegisterBiome(SunflowerPlains{})
|
||||
world.RegisterBiome(SwampHills{})
|
||||
world.RegisterBiome(Swamp{})
|
||||
world.RegisterBiome(TaigaHills{})
|
||||
world.RegisterBiome(TaigaMountains{})
|
||||
world.RegisterBiome(Taiga{})
|
||||
world.RegisterBiome(TallBirchHills{})
|
||||
world.RegisterBiome(WarmOcean{})
|
||||
world.RegisterBiome(WarpedForest{})
|
||||
world.RegisterBiome(WindsweptForest{})
|
||||
world.RegisterBiome(WindsweptGravellyHills{})
|
||||
world.RegisterBiome(WindsweptHills{})
|
||||
world.RegisterBiome(WindsweptSavanna{})
|
||||
world.RegisterBiome(WoodedBadlandsPlateau{})
|
||||
world.RegisterBiome(WoodedHills{})
|
||||
|
||||
world_finaliseBiomeRegistry()
|
||||
}
|
||||
|
||||
// noinspection ALL
|
||||
//
|
||||
//go:linkname world_finaliseBiomeRegistry github.com/df-mc/dragonfly/server/world.finaliseBiomeRegistry
|
||||
func world_finaliseBiomeRegistry()
|
||||
@@ -0,0 +1,46 @@
|
||||
package biome
|
||||
|
||||
import "image/color"
|
||||
|
||||
// River ...
|
||||
type River struct{}
|
||||
|
||||
// Temperature ...
|
||||
func (River) Temperature() float64 {
|
||||
return 0.5
|
||||
}
|
||||
|
||||
// Rainfall ...
|
||||
func (River) Rainfall() float64 {
|
||||
return 0.5
|
||||
}
|
||||
|
||||
// Depth ...
|
||||
func (River) Depth() float64 {
|
||||
return -0.5
|
||||
}
|
||||
|
||||
// Scale ...
|
||||
func (River) Scale() float64 {
|
||||
return 0
|
||||
}
|
||||
|
||||
// WaterColour ...
|
||||
func (River) WaterColour() color.RGBA {
|
||||
return color.RGBA{R: 0x00, G: 0x84, B: 0xff, A: 0xa5}
|
||||
}
|
||||
|
||||
// Tags ...
|
||||
func (River) Tags() []string {
|
||||
return []string{"overworld", "spawns_more_frequent_drowned", "spawns_reduced_water_ambient_mobs", "spawns_river_mobs", "river"}
|
||||
}
|
||||
|
||||
// String ...
|
||||
func (River) String() string {
|
||||
return "river"
|
||||
}
|
||||
|
||||
// EncodeBiome ...
|
||||
func (River) EncodeBiome() int {
|
||||
return 7
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
package biome
|
||||
|
||||
import "image/color"
|
||||
|
||||
// Savanna ...
|
||||
type Savanna struct{}
|
||||
|
||||
// Temperature ...
|
||||
func (Savanna) Temperature() float64 {
|
||||
return 1.2
|
||||
}
|
||||
|
||||
// Rainfall ...
|
||||
func (Savanna) Rainfall() float64 {
|
||||
return 0
|
||||
}
|
||||
|
||||
// Depth ...
|
||||
func (Savanna) Depth() float64 {
|
||||
return 0.125
|
||||
}
|
||||
|
||||
// Scale ...
|
||||
func (Savanna) Scale() float64 {
|
||||
return 0.05
|
||||
}
|
||||
|
||||
// WaterColour ...
|
||||
func (Savanna) WaterColour() color.RGBA {
|
||||
return color.RGBA{R: 0x2c, G: 0x8b, B: 0x9c, A: 0xa5}
|
||||
}
|
||||
|
||||
// Tags ...
|
||||
func (Savanna) Tags() []string {
|
||||
return []string{"animal", "monster", "overworld", "savanna", "spawns_savanna_mobs", "spawns_warm_variant_farm_animals"}
|
||||
}
|
||||
|
||||
// String ...
|
||||
func (Savanna) String() string {
|
||||
return "savanna"
|
||||
}
|
||||
|
||||
// EncodeBiome ...
|
||||
func (Savanna) EncodeBiome() int {
|
||||
return 35
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
package biome
|
||||
|
||||
import "image/color"
|
||||
|
||||
// SavannaPlateau ...
|
||||
type SavannaPlateau struct{}
|
||||
|
||||
// Temperature ...
|
||||
func (SavannaPlateau) Temperature() float64 {
|
||||
return 1
|
||||
}
|
||||
|
||||
// Rainfall ...
|
||||
func (SavannaPlateau) Rainfall() float64 {
|
||||
return 0
|
||||
}
|
||||
|
||||
// Depth ...
|
||||
func (SavannaPlateau) Depth() float64 {
|
||||
return 1.5
|
||||
}
|
||||
|
||||
// Scale ...
|
||||
func (SavannaPlateau) Scale() float64 {
|
||||
return 0.025
|
||||
}
|
||||
|
||||
// WaterColour ...
|
||||
func (SavannaPlateau) WaterColour() color.RGBA {
|
||||
return color.RGBA{R: 0x25, G: 0x90, B: 0xa8, A: 0xa5}
|
||||
}
|
||||
|
||||
// Tags ...
|
||||
func (SavannaPlateau) Tags() []string {
|
||||
return []string{"animal", "monster", "overworld", "plateau", "savanna", "spawns_savanna_mobs", "spawns_warm_variant_farm_animals"}
|
||||
}
|
||||
|
||||
// String ...
|
||||
func (SavannaPlateau) String() string {
|
||||
return "savanna_plateau"
|
||||
}
|
||||
|
||||
// EncodeBiome ...
|
||||
func (SavannaPlateau) EncodeBiome() int {
|
||||
return 36
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
package biome
|
||||
|
||||
import "image/color"
|
||||
|
||||
// ShatteredSavannaPlateau ...
|
||||
type ShatteredSavannaPlateau struct{}
|
||||
|
||||
// Temperature ...
|
||||
func (ShatteredSavannaPlateau) Temperature() float64 {
|
||||
return 1
|
||||
}
|
||||
|
||||
// Rainfall ...
|
||||
func (ShatteredSavannaPlateau) Rainfall() float64 {
|
||||
return 0.5
|
||||
}
|
||||
|
||||
// Depth ...
|
||||
func (ShatteredSavannaPlateau) Depth() float64 {
|
||||
return 1.05
|
||||
}
|
||||
|
||||
// Scale ...
|
||||
func (ShatteredSavannaPlateau) Scale() float64 {
|
||||
return 1.212
|
||||
}
|
||||
|
||||
// WaterColour ...
|
||||
func (ShatteredSavannaPlateau) WaterColour() color.RGBA {
|
||||
return color.RGBA{R: 0x60, G: 0xb7, B: 0xff, A: 0xa6}
|
||||
}
|
||||
|
||||
// Tags ...
|
||||
func (ShatteredSavannaPlateau) Tags() []string {
|
||||
return []string{"animal", "monster", "mutated", "overworld", "plateau", "savanna", "spawns_savanna_mobs", "spawns_warm_variant_farm_animals"}
|
||||
}
|
||||
|
||||
// String ...
|
||||
func (ShatteredSavannaPlateau) String() string {
|
||||
return "savanna_plateau_mutated"
|
||||
}
|
||||
|
||||
// EncodeBiome ...
|
||||
func (ShatteredSavannaPlateau) EncodeBiome() int {
|
||||
return 164
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
package biome
|
||||
|
||||
import "image/color"
|
||||
|
||||
// SnowyBeach ...
|
||||
type SnowyBeach struct{}
|
||||
|
||||
// Temperature ...
|
||||
func (SnowyBeach) Temperature() float64 {
|
||||
return 0.05
|
||||
}
|
||||
|
||||
// Rainfall ...
|
||||
func (SnowyBeach) Rainfall() float64 {
|
||||
return 0.3
|
||||
}
|
||||
|
||||
// Depth ...
|
||||
func (SnowyBeach) Depth() float64 {
|
||||
return 0
|
||||
}
|
||||
|
||||
// Scale ...
|
||||
func (SnowyBeach) Scale() float64 {
|
||||
return 0.025
|
||||
}
|
||||
|
||||
// WaterColour ...
|
||||
func (SnowyBeach) WaterColour() color.RGBA {
|
||||
return color.RGBA{R: 0x14, G: 0x63, B: 0xa5, A: 0xa5}
|
||||
}
|
||||
|
||||
// Tags ...
|
||||
func (SnowyBeach) Tags() []string {
|
||||
return []string{"beach", "cold", "monster", "overworld", "spawns_cold_variant_farm_animals", "spawns_cold_variant_frogs", "spawns_snow_foxes", "spawns_white_rabbits"}
|
||||
}
|
||||
|
||||
// String ...
|
||||
func (SnowyBeach) String() string {
|
||||
return "cold_beach"
|
||||
}
|
||||
|
||||
// EncodeBiome ...
|
||||
func (SnowyBeach) EncodeBiome() int {
|
||||
return 26
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
package biome
|
||||
|
||||
import "image/color"
|
||||
|
||||
// SnowyMountains ...
|
||||
type SnowyMountains struct{}
|
||||
|
||||
// Temperature ...
|
||||
func (SnowyMountains) Temperature() float64 {
|
||||
return 0
|
||||
}
|
||||
|
||||
// Rainfall ...
|
||||
func (SnowyMountains) Rainfall() float64 {
|
||||
return 0.5
|
||||
}
|
||||
|
||||
// Depth ...
|
||||
func (SnowyMountains) Depth() float64 {
|
||||
return 0.45
|
||||
}
|
||||
|
||||
// Scale ...
|
||||
func (SnowyMountains) Scale() float64 {
|
||||
return 0.3
|
||||
}
|
||||
|
||||
// WaterColour ...
|
||||
func (SnowyMountains) WaterColour() color.RGBA {
|
||||
return color.RGBA{R: 0x11, G: 0x56, B: 0xa7, A: 0xa5}
|
||||
}
|
||||
|
||||
// Tags ...
|
||||
func (SnowyMountains) Tags() []string {
|
||||
return []string{"frozen", "ice", "mountain", "overworld", "spawns_cold_variant_farm_animals", "spawns_cold_variant_frogs", "spawns_snow_foxes", "spawns_white_rabbits"}
|
||||
}
|
||||
|
||||
// String ...
|
||||
func (SnowyMountains) String() string {
|
||||
return "ice_mountains"
|
||||
}
|
||||
|
||||
// EncodeBiome ...
|
||||
func (SnowyMountains) EncodeBiome() int {
|
||||
return 13
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
package biome
|
||||
|
||||
import "image/color"
|
||||
|
||||
// SnowyPlains ...
|
||||
type SnowyPlains struct{}
|
||||
|
||||
// Temperature ...
|
||||
func (SnowyPlains) Temperature() float64 {
|
||||
return 0
|
||||
}
|
||||
|
||||
// Rainfall ...
|
||||
func (SnowyPlains) Rainfall() float64 {
|
||||
return 0.5
|
||||
}
|
||||
|
||||
// Depth ...
|
||||
func (SnowyPlains) Depth() float64 {
|
||||
return 0.125
|
||||
}
|
||||
|
||||
// Scale ...
|
||||
func (SnowyPlains) Scale() float64 {
|
||||
return 0.05
|
||||
}
|
||||
|
||||
// WaterColour ...
|
||||
func (SnowyPlains) WaterColour() color.RGBA {
|
||||
return color.RGBA{R: 0x14, G: 0x55, B: 0x9b, A: 0xa5}
|
||||
}
|
||||
|
||||
// Tags ...
|
||||
func (SnowyPlains) Tags() []string {
|
||||
return []string{"frozen", "ice", "ice_plains", "overworld", "spawns_cold_variant_farm_animals", "spawns_cold_variant_frogs", "spawns_snow_foxes", "spawns_white_rabbits"}
|
||||
}
|
||||
|
||||
// String ...
|
||||
func (SnowyPlains) String() string {
|
||||
return "ice_plains"
|
||||
}
|
||||
|
||||
// EncodeBiome ...
|
||||
func (SnowyPlains) EncodeBiome() int {
|
||||
return 12
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
package biome
|
||||
|
||||
import "image/color"
|
||||
|
||||
// SnowySlopes ...
|
||||
type SnowySlopes struct{}
|
||||
|
||||
// Temperature ...
|
||||
func (SnowySlopes) Temperature() float64 {
|
||||
return -0.3
|
||||
}
|
||||
|
||||
// Rainfall ...
|
||||
func (SnowySlopes) Rainfall() float64 {
|
||||
return 0.9
|
||||
}
|
||||
|
||||
// Depth ...
|
||||
func (SnowySlopes) Depth() float64 {
|
||||
return 0.1
|
||||
}
|
||||
|
||||
// Scale ...
|
||||
func (SnowySlopes) Scale() float64 {
|
||||
return 0.2
|
||||
}
|
||||
|
||||
// WaterColour ...
|
||||
func (SnowySlopes) WaterColour() color.RGBA {
|
||||
return color.RGBA{R: 0x60, G: 0xb7, B: 0xff, A: 0xa6}
|
||||
}
|
||||
|
||||
// Tags ...
|
||||
func (SnowySlopes) Tags() []string {
|
||||
return []string{"mountains", "monster", "overworld", "frozen", "spawns_cold_variant_frogs", "spawns_snow_foxes", "spawns_white_rabbits", "snowy_slopes", "spawns_cold_variant_farm_animals"}
|
||||
}
|
||||
|
||||
// String ...
|
||||
func (SnowySlopes) String() string {
|
||||
return "snowy_slopes"
|
||||
}
|
||||
|
||||
// EncodeBiome ...
|
||||
func (SnowySlopes) EncodeBiome() int {
|
||||
return 184
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
package biome
|
||||
|
||||
import "image/color"
|
||||
|
||||
// SnowyTaiga ...
|
||||
type SnowyTaiga struct{}
|
||||
|
||||
// Temperature ...
|
||||
func (SnowyTaiga) Temperature() float64 {
|
||||
return -0.5
|
||||
}
|
||||
|
||||
// Rainfall ...
|
||||
func (SnowyTaiga) Rainfall() float64 {
|
||||
return 0.4
|
||||
}
|
||||
|
||||
// Depth ...
|
||||
func (SnowyTaiga) Depth() float64 {
|
||||
return 0.2
|
||||
}
|
||||
|
||||
// Scale ...
|
||||
func (SnowyTaiga) Scale() float64 {
|
||||
return 0.2
|
||||
}
|
||||
|
||||
// WaterColour ...
|
||||
func (SnowyTaiga) WaterColour() color.RGBA {
|
||||
return color.RGBA{R: 0x20, G: 0x5e, B: 0x83, A: 0xa5}
|
||||
}
|
||||
|
||||
// Tags ...
|
||||
func (SnowyTaiga) Tags() []string {
|
||||
return []string{"animal", "cold", "forest", "monster", "overworld", "taiga", "has_structure_trail_ruins", "spawns_cold_variant_farm_animals"}
|
||||
}
|
||||
|
||||
// String ...
|
||||
func (SnowyTaiga) String() string {
|
||||
return "cold_taiga"
|
||||
}
|
||||
|
||||
// EncodeBiome ...
|
||||
func (SnowyTaiga) EncodeBiome() int {
|
||||
return 30
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
package biome
|
||||
|
||||
import "image/color"
|
||||
|
||||
// SnowyTaigaHills ...
|
||||
type SnowyTaigaHills struct{}
|
||||
|
||||
// Temperature ...
|
||||
func (SnowyTaigaHills) Temperature() float64 {
|
||||
return -0.5
|
||||
}
|
||||
|
||||
// Rainfall ...
|
||||
func (SnowyTaigaHills) Rainfall() float64 {
|
||||
return 0.4
|
||||
}
|
||||
|
||||
// Depth ...
|
||||
func (SnowyTaigaHills) Depth() float64 {
|
||||
return 0.45
|
||||
}
|
||||
|
||||
// Scale ...
|
||||
func (SnowyTaigaHills) Scale() float64 {
|
||||
return 0.3
|
||||
}
|
||||
|
||||
// WaterColour ...
|
||||
func (SnowyTaigaHills) WaterColour() color.RGBA {
|
||||
return color.RGBA{R: 0x24, G: 0x5b, B: 0x78, A: 0xa5}
|
||||
}
|
||||
|
||||
// Tags ...
|
||||
func (SnowyTaigaHills) Tags() []string {
|
||||
return []string{"animal", "cold", "forest", "hills", "monster", "overworld", "taiga", "spawns_cold_variant_farm_animals", "spawns_cold_variant_frogs", "spawns_white_rabbits"}
|
||||
}
|
||||
|
||||
// String ...
|
||||
func (SnowyTaigaHills) String() string {
|
||||
return "cold_taiga_hills"
|
||||
}
|
||||
|
||||
// EncodeBiome ...
|
||||
func (SnowyTaigaHills) EncodeBiome() int {
|
||||
return 31
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
package biome
|
||||
|
||||
import "image/color"
|
||||
|
||||
// SnowyTaigaMountains ...
|
||||
type SnowyTaigaMountains struct{}
|
||||
|
||||
// Temperature ...
|
||||
func (SnowyTaigaMountains) Temperature() float64 {
|
||||
return -0.5
|
||||
}
|
||||
|
||||
// Rainfall ...
|
||||
func (SnowyTaigaMountains) Rainfall() float64 {
|
||||
return 0.4
|
||||
}
|
||||
|
||||
// Depth ...
|
||||
func (SnowyTaigaMountains) Depth() float64 {
|
||||
return 0.3
|
||||
}
|
||||
|
||||
// Scale ...
|
||||
func (SnowyTaigaMountains) Scale() float64 {
|
||||
return 0.4
|
||||
}
|
||||
|
||||
// WaterColour ...
|
||||
func (SnowyTaigaMountains) WaterColour() color.RGBA {
|
||||
return color.RGBA{R: 0x20, G: 0x5e, B: 0x83, A: 0xa5}
|
||||
}
|
||||
|
||||
// Tags ...
|
||||
func (SnowyTaigaMountains) Tags() []string {
|
||||
return []string{"animal", "cold", "forest", "monster", "mutated", "taiga", "overworld_generation", "spawns_cold_variant_farm_animals"}
|
||||
}
|
||||
|
||||
// String ...
|
||||
func (SnowyTaigaMountains) String() string {
|
||||
return "cold_taiga_mutated"
|
||||
}
|
||||
|
||||
// EncodeBiome ...
|
||||
func (SnowyTaigaMountains) EncodeBiome() int {
|
||||
return 158
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
package biome
|
||||
|
||||
import "image/color"
|
||||
|
||||
// SoulSandValley ...
|
||||
type SoulSandValley struct{}
|
||||
|
||||
// Temperature ...
|
||||
func (SoulSandValley) Temperature() float64 {
|
||||
return 2
|
||||
}
|
||||
|
||||
// Rainfall ...
|
||||
func (SoulSandValley) Rainfall() float64 {
|
||||
return 0
|
||||
}
|
||||
|
||||
// Depth ...
|
||||
func (SoulSandValley) Depth() float64 {
|
||||
return 0.1
|
||||
}
|
||||
|
||||
// Scale ...
|
||||
func (SoulSandValley) Scale() float64 {
|
||||
return 0.2
|
||||
}
|
||||
|
||||
// WaterColour ...
|
||||
func (SoulSandValley) WaterColour() color.RGBA {
|
||||
return color.RGBA{R: 0x90, G: 0x59, B: 0x57, A: 0xa5}
|
||||
}
|
||||
|
||||
// Tags ...
|
||||
func (SoulSandValley) Tags() []string {
|
||||
return []string{"nether", "soulsand_valley", "spawn_ghast", "spawn_endermen", "spawns_warm_variant_farm_animals"}
|
||||
}
|
||||
|
||||
// String ...
|
||||
func (SoulSandValley) String() string {
|
||||
return "soulsand_valley"
|
||||
}
|
||||
|
||||
// EncodeBiome ...
|
||||
func (SoulSandValley) EncodeBiome() int {
|
||||
return 178
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
package biome
|
||||
|
||||
import "image/color"
|
||||
|
||||
// StonyPeaks ...
|
||||
type StonyPeaks struct{}
|
||||
|
||||
// Temperature ...
|
||||
func (StonyPeaks) Temperature() float64 {
|
||||
return 1
|
||||
}
|
||||
|
||||
// Rainfall ...
|
||||
func (StonyPeaks) Rainfall() float64 {
|
||||
return 0.3
|
||||
}
|
||||
|
||||
// Depth ...
|
||||
func (StonyPeaks) Depth() float64 {
|
||||
return 0.1
|
||||
}
|
||||
|
||||
// Scale ...
|
||||
func (StonyPeaks) Scale() float64 {
|
||||
return 0.2
|
||||
}
|
||||
|
||||
// WaterColour ...
|
||||
func (StonyPeaks) WaterColour() color.RGBA {
|
||||
return color.RGBA{R: 0x60, G: 0xb7, B: 0xff, A: 0xa6}
|
||||
}
|
||||
|
||||
// Tags ...
|
||||
func (StonyPeaks) Tags() []string {
|
||||
return []string{"mountains", "monster", "overworld", "spawns_cold_variant_farm_animals"}
|
||||
}
|
||||
|
||||
// String ...
|
||||
func (StonyPeaks) String() string {
|
||||
return "stony_peaks"
|
||||
}
|
||||
|
||||
// EncodeBiome ...
|
||||
func (StonyPeaks) EncodeBiome() int {
|
||||
return 189
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
package biome
|
||||
|
||||
import "image/color"
|
||||
|
||||
// StonyShore ...
|
||||
type StonyShore struct{}
|
||||
|
||||
// Temperature ...
|
||||
func (StonyShore) Temperature() float64 {
|
||||
return 0.2
|
||||
}
|
||||
|
||||
// Rainfall ...
|
||||
func (StonyShore) Rainfall() float64 {
|
||||
return 0.3
|
||||
}
|
||||
|
||||
// Depth ...
|
||||
func (StonyShore) Depth() float64 {
|
||||
return 0.1
|
||||
}
|
||||
|
||||
// Scale ...
|
||||
func (StonyShore) Scale() float64 {
|
||||
return 0.8
|
||||
}
|
||||
|
||||
// WaterColour ...
|
||||
func (StonyShore) WaterColour() color.RGBA {
|
||||
return color.RGBA{R: 0x0d, G: 0x67, B: 0xbb, A: 0xa5}
|
||||
}
|
||||
|
||||
// Tags ...
|
||||
func (StonyShore) Tags() []string {
|
||||
return []string{"beach", "monster", "overworld", "stone"}
|
||||
}
|
||||
|
||||
// String ...
|
||||
func (StonyShore) String() string {
|
||||
return "stone_beach"
|
||||
}
|
||||
|
||||
// EncodeBiome ...
|
||||
func (StonyShore) EncodeBiome() int {
|
||||
return 25
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
package biome
|
||||
|
||||
import "image/color"
|
||||
|
||||
// SulfurCaves ...
|
||||
type SulfurCaves struct{}
|
||||
|
||||
// Temperature ...
|
||||
func (SulfurCaves) Temperature() float64 {
|
||||
return 0.8
|
||||
}
|
||||
|
||||
// Rainfall ...
|
||||
func (SulfurCaves) Rainfall() float64 {
|
||||
return 0.4
|
||||
}
|
||||
|
||||
// Depth ...
|
||||
func (SulfurCaves) Depth() float64 {
|
||||
return 0.1
|
||||
}
|
||||
|
||||
// Scale ...
|
||||
func (SulfurCaves) Scale() float64 {
|
||||
return 0.2
|
||||
}
|
||||
|
||||
// WaterColour ...
|
||||
func (SulfurCaves) WaterColour() color.RGBA {
|
||||
return color.RGBA{R: 0x60, G: 0xb7, B: 0xff, A: 0xa6}
|
||||
}
|
||||
|
||||
// Tags ...
|
||||
func (SulfurCaves) Tags() []string {
|
||||
return []string{"caves", "sulfur_caves", "overworld", "monster"}
|
||||
}
|
||||
|
||||
// String ...
|
||||
func (SulfurCaves) String() string {
|
||||
return "sulfur_caves"
|
||||
}
|
||||
|
||||
// EncodeBiome ...
|
||||
func (SulfurCaves) EncodeBiome() int {
|
||||
return 194
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
package biome
|
||||
|
||||
import "image/color"
|
||||
|
||||
// SunflowerPlains ...
|
||||
type SunflowerPlains struct{}
|
||||
|
||||
// Temperature ...
|
||||
func (SunflowerPlains) Temperature() float64 {
|
||||
return 0.8
|
||||
}
|
||||
|
||||
// Rainfall ...
|
||||
func (SunflowerPlains) Rainfall() float64 {
|
||||
return 0.4
|
||||
}
|
||||
|
||||
// Depth ...
|
||||
func (SunflowerPlains) Depth() float64 {
|
||||
return 0.125
|
||||
}
|
||||
|
||||
// Scale ...
|
||||
func (SunflowerPlains) Scale() float64 {
|
||||
return 0.05
|
||||
}
|
||||
|
||||
// WaterColour ...
|
||||
func (SunflowerPlains) WaterColour() color.RGBA {
|
||||
return color.RGBA{R: 0x60, G: 0xb7, B: 0xff, A: 0xa6}
|
||||
}
|
||||
|
||||
// Tags ...
|
||||
func (SunflowerPlains) Tags() []string {
|
||||
return []string{"animal", "monster", "mutated", "overworld", "plains", "bee_habitat"}
|
||||
}
|
||||
|
||||
// String ...
|
||||
func (SunflowerPlains) String() string {
|
||||
return "sunflower_plains"
|
||||
}
|
||||
|
||||
// EncodeBiome ...
|
||||
func (SunflowerPlains) EncodeBiome() int {
|
||||
return 129
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
package biome
|
||||
|
||||
import "image/color"
|
||||
|
||||
// Swamp ...
|
||||
type Swamp struct{}
|
||||
|
||||
// Temperature ...
|
||||
func (Swamp) Temperature() float64 {
|
||||
return 0.8
|
||||
}
|
||||
|
||||
// Rainfall ...
|
||||
func (Swamp) Rainfall() float64 {
|
||||
return 0.9
|
||||
}
|
||||
|
||||
// Depth ...
|
||||
func (Swamp) Depth() float64 {
|
||||
return -0.2
|
||||
}
|
||||
|
||||
// Scale ...
|
||||
func (Swamp) Scale() float64 {
|
||||
return 0.1
|
||||
}
|
||||
|
||||
// WaterColour ...
|
||||
func (Swamp) WaterColour() color.RGBA {
|
||||
return color.RGBA{R: 0x61, G: 0x7b, B: 0x64, A: 0xa5}
|
||||
}
|
||||
|
||||
// Tags ...
|
||||
func (Swamp) Tags() []string {
|
||||
return []string{"animal", "monster", "overworld", "swamp", "spawns_slimes_on_surface", "slime", "swamp_water_huge_mushroom"}
|
||||
}
|
||||
|
||||
// String ...
|
||||
func (Swamp) String() string {
|
||||
return "swampland"
|
||||
}
|
||||
|
||||
// EncodeBiome ...
|
||||
func (Swamp) EncodeBiome() int {
|
||||
return 6
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
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
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
package biome
|
||||
|
||||
import "image/color"
|
||||
|
||||
// Taiga ...
|
||||
type Taiga struct{}
|
||||
|
||||
// Temperature ...
|
||||
func (Taiga) Temperature() float64 {
|
||||
return 0.25
|
||||
}
|
||||
|
||||
// Rainfall ...
|
||||
func (Taiga) Rainfall() float64 {
|
||||
return 0.8
|
||||
}
|
||||
|
||||
// Depth ...
|
||||
func (Taiga) Depth() float64 {
|
||||
return 0.1
|
||||
}
|
||||
|
||||
// Scale ...
|
||||
func (Taiga) Scale() float64 {
|
||||
return 0.2
|
||||
}
|
||||
|
||||
// WaterColour ...
|
||||
func (Taiga) WaterColour() color.RGBA {
|
||||
return color.RGBA{R: 0x28, G: 0x70, B: 0x82, A: 0xa5}
|
||||
}
|
||||
|
||||
// Tags ...
|
||||
func (Taiga) Tags() []string {
|
||||
return []string{"animal", "forest", "monster", "overworld", "taiga", "has_structure_trail_ruins", "spawns_cold_variant_farm_animals"}
|
||||
}
|
||||
|
||||
// String ...
|
||||
func (Taiga) String() string {
|
||||
return "taiga"
|
||||
}
|
||||
|
||||
// EncodeBiome ...
|
||||
func (Taiga) EncodeBiome() int {
|
||||
return 5
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
package biome
|
||||
|
||||
import "image/color"
|
||||
|
||||
// TaigaHills ...
|
||||
type TaigaHills struct{}
|
||||
|
||||
// Temperature ...
|
||||
func (TaigaHills) Temperature() float64 {
|
||||
return 0.25
|
||||
}
|
||||
|
||||
// Rainfall ...
|
||||
func (TaigaHills) Rainfall() float64 {
|
||||
return 0.8
|
||||
}
|
||||
|
||||
// Depth ...
|
||||
func (TaigaHills) Depth() float64 {
|
||||
return 0.45
|
||||
}
|
||||
|
||||
// Scale ...
|
||||
func (TaigaHills) Scale() float64 {
|
||||
return 0.3
|
||||
}
|
||||
|
||||
// WaterColour ...
|
||||
func (TaigaHills) WaterColour() color.RGBA {
|
||||
return color.RGBA{R: 0x23, G: 0x65, B: 0x83, A: 0xa5}
|
||||
}
|
||||
|
||||
// Tags ...
|
||||
func (TaigaHills) Tags() []string {
|
||||
return []string{"animal", "hills", "monster", "overworld", "forest", "taiga", "spawns_cold_variant_farm_animals"}
|
||||
}
|
||||
|
||||
// String ...
|
||||
func (TaigaHills) String() string {
|
||||
return "taiga_hills"
|
||||
}
|
||||
|
||||
// EncodeBiome ...
|
||||
func (TaigaHills) EncodeBiome() int {
|
||||
return 19
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
package biome
|
||||
|
||||
import "image/color"
|
||||
|
||||
// TaigaMountains ...
|
||||
type TaigaMountains struct{}
|
||||
|
||||
// Temperature ...
|
||||
func (TaigaMountains) Temperature() float64 {
|
||||
return 0.25
|
||||
}
|
||||
|
||||
// Rainfall ...
|
||||
func (TaigaMountains) Rainfall() float64 {
|
||||
return 0.8
|
||||
}
|
||||
|
||||
// Depth ...
|
||||
func (TaigaMountains) Depth() float64 {
|
||||
return 0.2
|
||||
}
|
||||
|
||||
// Scale ...
|
||||
func (TaigaMountains) Scale() float64 {
|
||||
return 0.4
|
||||
}
|
||||
|
||||
// WaterColour ...
|
||||
func (TaigaMountains) WaterColour() color.RGBA {
|
||||
return color.RGBA{R: 0x1e, G: 0x6b, B: 0x82, A: 0xa5}
|
||||
}
|
||||
|
||||
// Tags ...
|
||||
func (TaigaMountains) Tags() []string {
|
||||
return []string{"animal", "forest", "monster", "mutated", "taiga", "overworld_generation", "spawns_cold_variant_farm_animals"}
|
||||
}
|
||||
|
||||
// String ...
|
||||
func (TaigaMountains) String() string {
|
||||
return "taiga_mutated"
|
||||
}
|
||||
|
||||
// EncodeBiome ...
|
||||
func (TaigaMountains) EncodeBiome() int {
|
||||
return 133
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
package biome
|
||||
|
||||
import "image/color"
|
||||
|
||||
// TallBirchHills ...
|
||||
type TallBirchHills struct{}
|
||||
|
||||
// Temperature ...
|
||||
func (TallBirchHills) Temperature() float64 {
|
||||
return 0.7
|
||||
}
|
||||
|
||||
// Rainfall ...
|
||||
func (TallBirchHills) Rainfall() float64 {
|
||||
return 0.8
|
||||
}
|
||||
|
||||
// Depth ...
|
||||
func (TallBirchHills) Depth() float64 {
|
||||
return 0.55
|
||||
}
|
||||
|
||||
// Scale ...
|
||||
func (TallBirchHills) Scale() float64 {
|
||||
return 0.5
|
||||
}
|
||||
|
||||
// WaterColour ...
|
||||
func (TallBirchHills) WaterColour() color.RGBA {
|
||||
return color.RGBA{R: 0x0a, G: 0x74, B: 0xc4, A: 0xa5}
|
||||
}
|
||||
|
||||
// Tags ...
|
||||
func (TallBirchHills) Tags() []string {
|
||||
return []string{"animal", "birch", "forest", "hills", "monster", "mutated", "overworld_generation"}
|
||||
}
|
||||
|
||||
// String ...
|
||||
func (TallBirchHills) String() string {
|
||||
return "birch_forest_hills_mutated"
|
||||
}
|
||||
|
||||
// EncodeBiome ...
|
||||
func (TallBirchHills) EncodeBiome() int {
|
||||
return 156
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
package biome
|
||||
|
||||
import "image/color"
|
||||
|
||||
// WarmOcean ...
|
||||
type WarmOcean struct{}
|
||||
|
||||
// Temperature ...
|
||||
func (WarmOcean) Temperature() float64 {
|
||||
return 0.5
|
||||
}
|
||||
|
||||
// Rainfall ...
|
||||
func (WarmOcean) Rainfall() float64 {
|
||||
return 0.5
|
||||
}
|
||||
|
||||
// Depth ...
|
||||
func (WarmOcean) Depth() float64 {
|
||||
return -1
|
||||
}
|
||||
|
||||
// Scale ...
|
||||
func (WarmOcean) Scale() float64 {
|
||||
return 0.1
|
||||
}
|
||||
|
||||
// WaterColour ...
|
||||
func (WarmOcean) WaterColour() color.RGBA {
|
||||
return color.RGBA{R: 0x02, G: 0xb0, B: 0xe5, A: 0xa5}
|
||||
}
|
||||
|
||||
// Tags ...
|
||||
func (WarmOcean) Tags() []string {
|
||||
return []string{"monster", "ocean", "overworld", "warm", "spawns_warm_variant_farm_animals", "spawns_warm_variant_frogs", "fast_fishing", "high_seas"}
|
||||
}
|
||||
|
||||
// String ...
|
||||
func (WarmOcean) String() string {
|
||||
return "warm_ocean"
|
||||
}
|
||||
|
||||
// EncodeBiome ...
|
||||
func (WarmOcean) EncodeBiome() int {
|
||||
return 40
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
package biome
|
||||
|
||||
import "image/color"
|
||||
|
||||
// WarpedForest ...
|
||||
type WarpedForest struct{}
|
||||
|
||||
// Temperature ...
|
||||
func (WarpedForest) Temperature() float64 {
|
||||
return 2
|
||||
}
|
||||
|
||||
// Rainfall ...
|
||||
func (WarpedForest) Rainfall() float64 {
|
||||
return 0
|
||||
}
|
||||
|
||||
// Depth ...
|
||||
func (WarpedForest) Depth() float64 {
|
||||
return 0.1
|
||||
}
|
||||
|
||||
// Scale ...
|
||||
func (WarpedForest) Scale() float64 {
|
||||
return 0.2
|
||||
}
|
||||
|
||||
// WaterColour ...
|
||||
func (WarpedForest) WaterColour() color.RGBA {
|
||||
return color.RGBA{R: 0x90, G: 0x59, B: 0x57, A: 0xa5}
|
||||
}
|
||||
|
||||
// Tags ...
|
||||
func (WarpedForest) Tags() []string {
|
||||
return []string{"nether", "netherwart_forest", "warped_forest", "spawn_endermen", "spawns_warm_variant_farm_animals"}
|
||||
}
|
||||
|
||||
// String ...
|
||||
func (WarpedForest) String() string {
|
||||
return "warped_forest"
|
||||
}
|
||||
|
||||
// EncodeBiome ...
|
||||
func (WarpedForest) EncodeBiome() int {
|
||||
return 180
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
package biome
|
||||
|
||||
import "image/color"
|
||||
|
||||
// WindsweptForest ...
|
||||
type WindsweptForest struct{}
|
||||
|
||||
// Temperature ...
|
||||
func (WindsweptForest) Temperature() float64 {
|
||||
return 0.2
|
||||
}
|
||||
|
||||
// Rainfall ...
|
||||
func (WindsweptForest) Rainfall() float64 {
|
||||
return 0.3
|
||||
}
|
||||
|
||||
// Depth ...
|
||||
func (WindsweptForest) Depth() float64 {
|
||||
return 1
|
||||
}
|
||||
|
||||
// Scale ...
|
||||
func (WindsweptForest) Scale() float64 {
|
||||
return 0.5
|
||||
}
|
||||
|
||||
// WaterColour ...
|
||||
func (WindsweptForest) WaterColour() color.RGBA {
|
||||
return color.RGBA{R: 0x0e, G: 0x63, B: 0xab, A: 0xa5}
|
||||
}
|
||||
|
||||
// Tags ...
|
||||
func (WindsweptForest) Tags() []string {
|
||||
return []string{"animal", "extreme_hills", "forest", "monster", "mountain", "overworld", "spawns_cold_variant_farm_animals"}
|
||||
}
|
||||
|
||||
// String ...
|
||||
func (WindsweptForest) String() string {
|
||||
return "extreme_hills_plus_trees"
|
||||
}
|
||||
|
||||
// EncodeBiome ...
|
||||
func (WindsweptForest) EncodeBiome() int {
|
||||
return 34
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
package biome
|
||||
|
||||
import "image/color"
|
||||
|
||||
// WindsweptGravellyHills ...
|
||||
type WindsweptGravellyHills struct{}
|
||||
|
||||
// Temperature ...
|
||||
func (WindsweptGravellyHills) Temperature() float64 {
|
||||
return 0.2
|
||||
}
|
||||
|
||||
// Rainfall ...
|
||||
func (WindsweptGravellyHills) Rainfall() float64 {
|
||||
return 0.3
|
||||
}
|
||||
|
||||
// Depth ...
|
||||
func (WindsweptGravellyHills) Depth() float64 {
|
||||
return 1
|
||||
}
|
||||
|
||||
// Scale ...
|
||||
func (WindsweptGravellyHills) Scale() float64 {
|
||||
return 0.5
|
||||
}
|
||||
|
||||
// WaterColour ...
|
||||
func (WindsweptGravellyHills) WaterColour() color.RGBA {
|
||||
return color.RGBA{R: 0x0e, G: 0x63, B: 0xab, A: 0xa5}
|
||||
}
|
||||
|
||||
// Tags ...
|
||||
func (WindsweptGravellyHills) Tags() []string {
|
||||
return []string{"animal", "extreme_hills", "monster", "mutated", "overworld", "spawns_cold_variant_farm_animals"}
|
||||
}
|
||||
|
||||
// String ...
|
||||
func (WindsweptGravellyHills) String() string {
|
||||
return "extreme_hills_mutated"
|
||||
}
|
||||
|
||||
// EncodeBiome ...
|
||||
func (WindsweptGravellyHills) EncodeBiome() int {
|
||||
return 131
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
package biome
|
||||
|
||||
import "image/color"
|
||||
|
||||
// WindsweptHills ...
|
||||
type WindsweptHills struct{}
|
||||
|
||||
// Temperature ...
|
||||
func (WindsweptHills) Temperature() float64 {
|
||||
return 0.2
|
||||
}
|
||||
|
||||
// Rainfall ...
|
||||
func (WindsweptHills) Rainfall() float64 {
|
||||
return 0.3
|
||||
}
|
||||
|
||||
// Depth ...
|
||||
func (WindsweptHills) Depth() float64 {
|
||||
return 1
|
||||
}
|
||||
|
||||
// Scale ...
|
||||
func (WindsweptHills) Scale() float64 {
|
||||
return 0.5
|
||||
}
|
||||
|
||||
// WaterColour ...
|
||||
func (WindsweptHills) WaterColour() color.RGBA {
|
||||
return color.RGBA{R: 0x00, G: 0x7b, B: 0xf7, A: 0xa5}
|
||||
}
|
||||
|
||||
// Tags ...
|
||||
func (WindsweptHills) Tags() []string {
|
||||
return []string{"animal", "extreme_hills", "monster", "overworld", "spawns_cold_variant_farm_animals"}
|
||||
}
|
||||
|
||||
// String ...
|
||||
func (WindsweptHills) String() string {
|
||||
return "extreme_hills"
|
||||
}
|
||||
|
||||
// EncodeBiome ...
|
||||
func (WindsweptHills) EncodeBiome() int {
|
||||
return 3
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
package biome
|
||||
|
||||
import "image/color"
|
||||
|
||||
// WindsweptSavanna ...
|
||||
type WindsweptSavanna struct{}
|
||||
|
||||
// Temperature ...
|
||||
func (WindsweptSavanna) Temperature() float64 {
|
||||
return 2
|
||||
}
|
||||
|
||||
// Rainfall ...
|
||||
func (WindsweptSavanna) Rainfall() float64 {
|
||||
return 0
|
||||
}
|
||||
|
||||
// Depth ...
|
||||
func (WindsweptSavanna) Depth() float64 {
|
||||
return 0.363
|
||||
}
|
||||
|
||||
// Scale ...
|
||||
func (WindsweptSavanna) Scale() float64 {
|
||||
return 1.225
|
||||
}
|
||||
|
||||
// WaterColour ...
|
||||
func (WindsweptSavanna) WaterColour() color.RGBA {
|
||||
return color.RGBA{R: 0x60, G: 0xb7, B: 0xff, A: 0xa6}
|
||||
}
|
||||
|
||||
// Tags ...
|
||||
func (WindsweptSavanna) Tags() []string {
|
||||
return []string{"animal", "monster", "mutated", "overworld", "savanna", "spawns_savanna_mobs", "spawns_warm_variant_farm_animals"}
|
||||
}
|
||||
|
||||
// String ...
|
||||
func (WindsweptSavanna) String() string {
|
||||
return "savanna_mutated"
|
||||
}
|
||||
|
||||
// EncodeBiome ...
|
||||
func (WindsweptSavanna) EncodeBiome() int {
|
||||
return 163
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
package biome
|
||||
|
||||
import "image/color"
|
||||
|
||||
// WoodedBadlandsPlateau ...
|
||||
type WoodedBadlandsPlateau struct{}
|
||||
|
||||
// Temperature ...
|
||||
func (WoodedBadlandsPlateau) Temperature() float64 {
|
||||
return 2
|
||||
}
|
||||
|
||||
// Rainfall ...
|
||||
func (WoodedBadlandsPlateau) Rainfall() float64 {
|
||||
return 0
|
||||
}
|
||||
|
||||
// Depth ...
|
||||
func (WoodedBadlandsPlateau) Depth() float64 {
|
||||
return 1.5
|
||||
}
|
||||
|
||||
// Scale ...
|
||||
func (WoodedBadlandsPlateau) Scale() float64 {
|
||||
return 0.025
|
||||
}
|
||||
|
||||
// WaterColour ...
|
||||
func (WoodedBadlandsPlateau) WaterColour() color.RGBA {
|
||||
return color.RGBA{R: 0x55, G: 0x80, B: 0x9e, A: 0xa5}
|
||||
}
|
||||
|
||||
// Tags ...
|
||||
func (WoodedBadlandsPlateau) Tags() []string {
|
||||
return []string{"animal", "mesa", "monster", "overworld", "plateau", "rare", "stone", "spawns_mesa_mobs", "spawns_warm_variant_farm_animals", "surface_mineshaft"}
|
||||
}
|
||||
|
||||
// String ...
|
||||
func (WoodedBadlandsPlateau) String() string {
|
||||
return "mesa_plateau_stone"
|
||||
}
|
||||
|
||||
// EncodeBiome ...
|
||||
func (WoodedBadlandsPlateau) EncodeBiome() int {
|
||||
return 38
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
package biome
|
||||
|
||||
import "image/color"
|
||||
|
||||
// WoodedHills ...
|
||||
type WoodedHills struct{}
|
||||
|
||||
// Temperature ...
|
||||
func (WoodedHills) Temperature() float64 {
|
||||
return 0.7
|
||||
}
|
||||
|
||||
// Rainfall ...
|
||||
func (WoodedHills) Rainfall() float64 {
|
||||
return 0.8
|
||||
}
|
||||
|
||||
// Depth ...
|
||||
func (WoodedHills) Depth() float64 {
|
||||
return 0.45
|
||||
}
|
||||
|
||||
// Scale ...
|
||||
func (WoodedHills) Scale() float64 {
|
||||
return 0.3
|
||||
}
|
||||
|
||||
// WaterColour ...
|
||||
func (WoodedHills) WaterColour() color.RGBA {
|
||||
return color.RGBA{R: 0x05, G: 0x6b, B: 0xd1, A: 0xa5}
|
||||
}
|
||||
|
||||
// Tags ...
|
||||
func (WoodedHills) Tags() []string {
|
||||
return []string{"animal", "hills", "monster", "overworld", "forest", "bee_habitat"}
|
||||
}
|
||||
|
||||
// String ...
|
||||
func (WoodedHills) String() string {
|
||||
return "forest_hills"
|
||||
}
|
||||
|
||||
// EncodeBiome ...
|
||||
func (WoodedHills) EncodeBiome() int {
|
||||
return 18
|
||||
}
|
||||
Reference in New Issue
Block a user