diff --git a/build/biome.rs b/build/biome.rs new file mode 100644 index 000000000..1845cddb7 --- /dev/null +++ b/build/biome.rs @@ -0,0 +1,302 @@ +use std::collections::{BTreeMap, HashMap}; + +use heck::{ToPascalCase, ToSnakeCase}; +use proc_macro2::{Ident, TokenStream}; +use quote::quote; +use serde::Deserialize; + +use crate::ident; + +#[derive(Deserialize, Debug)] +struct ParsedBiome { + id: u16, + name: String, + climate: ParsedBiomeClimate, + color: ParsedBiomeColor, + spawn_settings: ParsedBiomeSpawnRates, +} + +#[derive(Debug)] +struct RenamedBiome { + id: u16, + name: String, + rustified_name: Ident, + climate: ParsedBiomeClimate, + color: ParsedBiomeColor, + spawn_rates: ParsedBiomeSpawnRates, +} + +#[derive(Deserialize, Debug)] +struct ParsedBiomeClimate { + precipitation: String, + temperature: f32, + downfall: f32, +} + +#[derive(Deserialize, Debug)] +struct ParsedBiomeColor { + grass_modifier: String, + grass: Option, + foliage: Option, + fog: u32, + sky: u32, + water_fog: u32, + water: u32, +} + +#[derive(Deserialize, Debug)] +struct ParsedBiomeSpawnRates { + probability: f32, + groups: HashMap>, +} + +#[derive(Deserialize, Debug)] +struct ParsedSpawnRate { + name: String, + min_group_size: u32, + max_group_size: u32, + weight: i32, +} + +pub fn build() -> anyhow::Result { + let biomes: Vec = serde_json::from_str(include_str!("../extracted/biomes.json"))?; + + let biomes = biomes + .into_iter() + .map(|biome| RenamedBiome { + id: biome.id, + rustified_name: ident(&biome.name.replace("minecraft:", "").to_pascal_case()), + name: biome.name, + climate: biome.climate, + color: biome.color, + spawn_rates: biome.spawn_settings, + }) + .collect::>(); + + let mut precipitation_types = BTreeMap::<&str, Ident>::new(); + let mut grass_modifier_types = BTreeMap::<&str, Ident>::new(); + let mut class_spawn_fields = BTreeMap::<&str, Ident>::new(); + for biome in biomes.iter() { + precipitation_types + .entry(biome.climate.precipitation.as_str()) + .or_insert_with(|| ident(biome.climate.precipitation.to_pascal_case())); + grass_modifier_types + .entry(biome.color.grass_modifier.as_str()) + .or_insert_with(|| ident(biome.color.grass_modifier.to_pascal_case())); + for class in biome.spawn_rates.groups.keys() { + class_spawn_fields + .entry(class) + .or_insert_with(|| ident(class.to_snake_case())); + } + } + + fn option_to_quote(input: &Option) -> TokenStream { + match input { + Some(value) => quote!(Some(#value)), + None => quote!(None), + } + } + + let biome_kind_definitions = biomes + .iter() + .map(|biome| { + let rustified_name = &biome.rustified_name; + let id = biome.id as isize; + quote! { + #rustified_name = #id, + } + }) + .collect::(); + + let biomekind_id_to_variant_lookup = biomes + .iter() + .map(|biome| { + let rustified_name = &biome.rustified_name; + let id = &biome.id; + quote! { + #id => Some(Self::#rustified_name), + } + }) + .collect::(); + + let biomekind_name_lookup = biomes + .iter() + .map(|biome| { + let rustified_name = &biome.rustified_name; + let name = &biome.name; + quote! { + #name => Some(Self::#rustified_name), + } + }) + .collect::(); + + let biomekind_temperatures_arms = biomes + .iter() + .map(|biome| { + let rustified_name = &biome.rustified_name; + let temp = &biome.climate.temperature; + quote! { + Self::#rustified_name => #temp, + } + }) + .collect::(); + + let biomekind_downfall_arms = biomes + .iter() + .map(|biome| { + let rustified_name = &biome.rustified_name; + let downfall = &biome.climate.downfall; + quote! { + Self::#rustified_name => #downfall, + } + }) + .collect::(); + + let biomekind_to_biome = biomes + .iter() + .map(|biome| { + let rustified_name = &biome.rustified_name; + let name = &biome.name; + let precipitation = ident(&biome.climate.precipitation.to_pascal_case()); + let sky_color = &biome.color.sky; + let water_fog = &biome.color.water_fog; + let fog = &biome.color.fog; + let water_color = &biome.color.water; + let foliage_color = option_to_quote(&biome.color.foliage); + let grass_color = option_to_quote(&biome.color.grass); + let grass_modifier = ident(&biome.color.grass_modifier.to_pascal_case()); + quote! { + Self::#rustified_name => Ok(Biome{ + name: Ident::from_str(#name)?, + precipitation: BiomePrecipitation::#precipitation, + sky_color: #sky_color, + water_fog_color: #water_fog, + fog_color: #fog, + water_color: #water_color, + foliage_color: #foliage_color, + grass_color: #grass_color, + grass_color_modifier: BiomeGrassColorModifier::#grass_modifier, + music: None, + ambient_sound: None, + additions_sound: None, + mood_sound: None, + particle: None, + }), + } + }) + .collect::(); + + let biomekind_spawn_settings_arms = biomes + .iter() + .map(|biome| { + let rustified_name = &biome.rustified_name; + let probability = biome.spawn_rates.probability; + + let fields = biome.spawn_rates.groups.iter().map(|(class, rates)| { + let rates = rates.iter().map(|spawn_rate| { + let name = &spawn_rate.name; + let min_group_size = &spawn_rate.min_group_size; + let max_group_size = &spawn_rate.max_group_size; + let weight = &spawn_rate.weight; + quote! { + SpawnProperty { + name: #name, + min_group_size: #min_group_size, + max_group_size: #max_group_size, + weight: #weight + } + } + }); + let class = ident(class); + quote! { + #class: &[#( #rates ),*] + } + }); + quote! { + Self::#rustified_name => SpawnSettings { + probability: #probability, + #( #fields ),* + }, + } + }) + .collect::(); + + let spawn_classes = class_spawn_fields.values(); + + Ok(quote! { + use super::{Biome,BiomeGrassColorModifier,BiomePrecipitation}; + use crate::ident::{Ident,IdentError}; + use std::str::FromStr; + + #[derive(Debug, Clone, PartialEq, PartialOrd)] + pub struct SpawnProperty { + pub name: &'static str, + pub min_group_size: u32, + pub max_group_size: u32, + pub weight: i32 + } + + #[derive(Debug, Clone, PartialEq, PartialOrd)] + pub struct SpawnSettings { + pub probability: f32, + #( pub #spawn_classes: &'static [SpawnProperty] ),* + } + + #[derive(Debug, Copy, Clone, PartialEq, Eq, PartialOrd, Ord, Hash)] + pub enum BiomeKind { + #biome_kind_definitions + } + + impl BiomeKind { + /// Constructs an `BiomeKind` from a raw biome ID. + /// + /// If the given ID is invalid, `None` is returned. + pub const fn from_raw(id: u16) -> Option { + match id { + #biomekind_id_to_variant_lookup + _ => None + } + } + + /// Returns the raw biome ID. + pub const fn to_raw(self) -> u16 { + self as u16 + } + + pub fn from_ident>(ident: &Ident) -> Option { + if ident.namespace() != "minecraft"{ + return None; + } + match ident.path() { + #biomekind_name_lookup + _ => None + } + } + + pub fn biome(self) -> Result> { + match self{ + #biomekind_to_biome + } + } + + /// Gets the biome spawn rates + pub const fn spawn_rates(self) -> SpawnSettings { + match self{ + #biomekind_spawn_settings_arms + } + } + + pub const fn temperature(self) -> f32 { + match self{ + #biomekind_temperatures_arms + } + } + + pub const fn downfall(self) -> f32 { + match self{ + #biomekind_downfall_arms + } + } + } + }) +} diff --git a/build/main.rs b/build/main.rs index d098a37ec..89e1d1f80 100644 --- a/build/main.rs +++ b/build/main.rs @@ -5,6 +5,7 @@ use std::{env, fs}; use anyhow::Context; use proc_macro2::{Ident, Span}; +mod biome; mod block; mod enchant; mod entity; @@ -20,6 +21,7 @@ pub fn main() -> anyhow::Result<()> { (block::build, "block.rs"), (item::build, "item.rs"), (enchant::build, "enchant.rs"), + (biome::build, "biome.rs"), ]; let out_dir = env::var_os("OUT_DIR").context("can't get OUT_DIR env var")?; diff --git a/extracted/biomes.json b/extracted/biomes.json new file mode 100644 index 000000000..e0571e5d8 --- /dev/null +++ b/extracted/biomes.json @@ -0,0 +1,6537 @@ +[ + { + "name": "the_void", + "id": 0, + "climate": { + "precipitation": "none", + "temperature": 0.5, + "downfall": 0.5 + }, + "color": { + "grass": null, + "grass_modifier": "none", + "foliage": null, + "fog": 12638463, + "sky": 8103167, + "water_fog": 329011, + "water": 4159204 + }, + "spawn_settings": { + "probability": 0.1, + "groups": { + "monster": [], + "creature": [], + "ambient": [], + "axolotls": [], + "underground_water_creature": [], + "water_creature": [], + "water_ambient": [], + "misc": [] + } + } + }, + { + "name": "plains", + "id": 1, + "climate": { + "precipitation": "rain", + "temperature": 0.8, + "downfall": 0.4 + }, + "color": { + "grass": null, + "grass_modifier": "none", + "foliage": null, + "fog": 12638463, + "sky": 7907327, + "water_fog": 329011, + "water": 4159204 + }, + "spawn_settings": { + "probability": 0.1, + "groups": { + "monster": [ + { + "name": "spider", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "zombie", + "min_group_size": 4, + "max_group_size": 4, + "weight": 95 + }, + { + "name": "zombie_villager", + "min_group_size": 1, + "max_group_size": 1, + "weight": 5 + }, + { + "name": "skeleton", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "creeper", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "slime", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "enderman", + "min_group_size": 1, + "max_group_size": 4, + "weight": 10 + }, + { + "name": "witch", + "min_group_size": 1, + "max_group_size": 1, + "weight": 5 + } + ], + "creature": [ + { + "name": "sheep", + "min_group_size": 4, + "max_group_size": 4, + "weight": 12 + }, + { + "name": "pig", + "min_group_size": 4, + "max_group_size": 4, + "weight": 10 + }, + { + "name": "chicken", + "min_group_size": 4, + "max_group_size": 4, + "weight": 10 + }, + { + "name": "cow", + "min_group_size": 4, + "max_group_size": 4, + "weight": 8 + }, + { + "name": "horse", + "min_group_size": 2, + "max_group_size": 6, + "weight": 5 + }, + { + "name": "donkey", + "min_group_size": 1, + "max_group_size": 3, + "weight": 1 + } + ], + "ambient": [ + { + "name": "bat", + "min_group_size": 8, + "max_group_size": 8, + "weight": 10 + } + ], + "axolotls": [], + "underground_water_creature": [ + { + "name": "glow_squid", + "min_group_size": 4, + "max_group_size": 6, + "weight": 10 + } + ], + "water_creature": [], + "water_ambient": [], + "misc": [] + } + } + }, + { + "name": "sunflower_plains", + "id": 2, + "climate": { + "precipitation": "rain", + "temperature": 0.8, + "downfall": 0.4 + }, + "color": { + "grass": null, + "grass_modifier": "none", + "foliage": null, + "fog": 12638463, + "sky": 7907327, + "water_fog": 329011, + "water": 4159204 + }, + "spawn_settings": { + "probability": 0.1, + "groups": { + "monster": [ + { + "name": "spider", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "zombie", + "min_group_size": 4, + "max_group_size": 4, + "weight": 95 + }, + { + "name": "zombie_villager", + "min_group_size": 1, + "max_group_size": 1, + "weight": 5 + }, + { + "name": "skeleton", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "creeper", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "slime", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "enderman", + "min_group_size": 1, + "max_group_size": 4, + "weight": 10 + }, + { + "name": "witch", + "min_group_size": 1, + "max_group_size": 1, + "weight": 5 + } + ], + "creature": [ + { + "name": "sheep", + "min_group_size": 4, + "max_group_size": 4, + "weight": 12 + }, + { + "name": "pig", + "min_group_size": 4, + "max_group_size": 4, + "weight": 10 + }, + { + "name": "chicken", + "min_group_size": 4, + "max_group_size": 4, + "weight": 10 + }, + { + "name": "cow", + "min_group_size": 4, + "max_group_size": 4, + "weight": 8 + }, + { + "name": "horse", + "min_group_size": 2, + "max_group_size": 6, + "weight": 5 + }, + { + "name": "donkey", + "min_group_size": 1, + "max_group_size": 3, + "weight": 1 + } + ], + "ambient": [ + { + "name": "bat", + "min_group_size": 8, + "max_group_size": 8, + "weight": 10 + } + ], + "axolotls": [], + "underground_water_creature": [ + { + "name": "glow_squid", + "min_group_size": 4, + "max_group_size": 6, + "weight": 10 + } + ], + "water_creature": [], + "water_ambient": [], + "misc": [] + } + } + }, + { + "name": "snowy_plains", + "id": 3, + "climate": { + "precipitation": "snow", + "temperature": 0.0, + "downfall": 0.5 + }, + "color": { + "grass": null, + "grass_modifier": "none", + "foliage": null, + "fog": 12638463, + "sky": 8364543, + "water_fog": 329011, + "water": 4159204 + }, + "spawn_settings": { + "probability": 0.07, + "groups": { + "monster": [ + { + "name": "spider", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "zombie", + "min_group_size": 4, + "max_group_size": 4, + "weight": 95 + }, + { + "name": "zombie_villager", + "min_group_size": 1, + "max_group_size": 1, + "weight": 5 + }, + { + "name": "skeleton", + "min_group_size": 4, + "max_group_size": 4, + "weight": 20 + }, + { + "name": "creeper", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "slime", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "enderman", + "min_group_size": 1, + "max_group_size": 4, + "weight": 10 + }, + { + "name": "witch", + "min_group_size": 1, + "max_group_size": 1, + "weight": 5 + }, + { + "name": "stray", + "min_group_size": 4, + "max_group_size": 4, + "weight": 80 + } + ], + "creature": [ + { + "name": "rabbit", + "min_group_size": 2, + "max_group_size": 3, + "weight": 10 + }, + { + "name": "polar_bear", + "min_group_size": 1, + "max_group_size": 2, + "weight": 1 + } + ], + "ambient": [ + { + "name": "bat", + "min_group_size": 8, + "max_group_size": 8, + "weight": 10 + } + ], + "axolotls": [], + "underground_water_creature": [ + { + "name": "glow_squid", + "min_group_size": 4, + "max_group_size": 6, + "weight": 10 + } + ], + "water_creature": [], + "water_ambient": [], + "misc": [] + } + } + }, + { + "name": "ice_spikes", + "id": 4, + "climate": { + "precipitation": "snow", + "temperature": 0.0, + "downfall": 0.5 + }, + "color": { + "grass": null, + "grass_modifier": "none", + "foliage": null, + "fog": 12638463, + "sky": 8364543, + "water_fog": 329011, + "water": 4159204 + }, + "spawn_settings": { + "probability": 0.07, + "groups": { + "monster": [ + { + "name": "spider", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "zombie", + "min_group_size": 4, + "max_group_size": 4, + "weight": 95 + }, + { + "name": "zombie_villager", + "min_group_size": 1, + "max_group_size": 1, + "weight": 5 + }, + { + "name": "skeleton", + "min_group_size": 4, + "max_group_size": 4, + "weight": 20 + }, + { + "name": "creeper", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "slime", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "enderman", + "min_group_size": 1, + "max_group_size": 4, + "weight": 10 + }, + { + "name": "witch", + "min_group_size": 1, + "max_group_size": 1, + "weight": 5 + }, + { + "name": "stray", + "min_group_size": 4, + "max_group_size": 4, + "weight": 80 + } + ], + "creature": [ + { + "name": "rabbit", + "min_group_size": 2, + "max_group_size": 3, + "weight": 10 + }, + { + "name": "polar_bear", + "min_group_size": 1, + "max_group_size": 2, + "weight": 1 + } + ], + "ambient": [ + { + "name": "bat", + "min_group_size": 8, + "max_group_size": 8, + "weight": 10 + } + ], + "axolotls": [], + "underground_water_creature": [ + { + "name": "glow_squid", + "min_group_size": 4, + "max_group_size": 6, + "weight": 10 + } + ], + "water_creature": [], + "water_ambient": [], + "misc": [] + } + } + }, + { + "name": "desert", + "id": 5, + "climate": { + "precipitation": "none", + "temperature": 2.0, + "downfall": 0.0 + }, + "color": { + "grass": null, + "grass_modifier": "none", + "foliage": null, + "fog": 12638463, + "sky": 7254527, + "water_fog": 329011, + "water": 4159204 + }, + "spawn_settings": { + "probability": 0.1, + "groups": { + "monster": [ + { + "name": "spider", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "zombie", + "min_group_size": 4, + "max_group_size": 4, + "weight": 19 + }, + { + "name": "zombie_villager", + "min_group_size": 1, + "max_group_size": 1, + "weight": 1 + }, + { + "name": "skeleton", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "creeper", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "slime", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "enderman", + "min_group_size": 1, + "max_group_size": 4, + "weight": 10 + }, + { + "name": "witch", + "min_group_size": 1, + "max_group_size": 1, + "weight": 5 + }, + { + "name": "husk", + "min_group_size": 4, + "max_group_size": 4, + "weight": 80 + } + ], + "creature": [ + { + "name": "rabbit", + "min_group_size": 2, + "max_group_size": 3, + "weight": 4 + } + ], + "ambient": [ + { + "name": "bat", + "min_group_size": 8, + "max_group_size": 8, + "weight": 10 + } + ], + "axolotls": [], + "underground_water_creature": [ + { + "name": "glow_squid", + "min_group_size": 4, + "max_group_size": 6, + "weight": 10 + } + ], + "water_creature": [], + "water_ambient": [], + "misc": [] + } + } + }, + { + "name": "swamp", + "id": 6, + "climate": { + "precipitation": "rain", + "temperature": 0.8, + "downfall": 0.9 + }, + "color": { + "grass": null, + "grass_modifier": "swamp", + "foliage": 6975545, + "fog": 12638463, + "sky": 7907327, + "water_fog": 2302743, + "water": 6388580 + }, + "spawn_settings": { + "probability": 0.1, + "groups": { + "monster": [ + { + "name": "spider", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "zombie", + "min_group_size": 4, + "max_group_size": 4, + "weight": 95 + }, + { + "name": "zombie_villager", + "min_group_size": 1, + "max_group_size": 1, + "weight": 5 + }, + { + "name": "skeleton", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "creeper", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "slime", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "enderman", + "min_group_size": 1, + "max_group_size": 4, + "weight": 10 + }, + { + "name": "witch", + "min_group_size": 1, + "max_group_size": 1, + "weight": 5 + }, + { + "name": "slime", + "min_group_size": 1, + "max_group_size": 1, + "weight": 1 + } + ], + "creature": [ + { + "name": "sheep", + "min_group_size": 4, + "max_group_size": 4, + "weight": 12 + }, + { + "name": "pig", + "min_group_size": 4, + "max_group_size": 4, + "weight": 10 + }, + { + "name": "chicken", + "min_group_size": 4, + "max_group_size": 4, + "weight": 10 + }, + { + "name": "cow", + "min_group_size": 4, + "max_group_size": 4, + "weight": 8 + }, + { + "name": "frog", + "min_group_size": 2, + "max_group_size": 5, + "weight": 10 + } + ], + "ambient": [ + { + "name": "bat", + "min_group_size": 8, + "max_group_size": 8, + "weight": 10 + } + ], + "axolotls": [], + "underground_water_creature": [ + { + "name": "glow_squid", + "min_group_size": 4, + "max_group_size": 6, + "weight": 10 + } + ], + "water_creature": [], + "water_ambient": [], + "misc": [] + } + } + }, + { + "name": "mangrove_swamp", + "id": 7, + "climate": { + "precipitation": "rain", + "temperature": 0.8, + "downfall": 0.9 + }, + "color": { + "grass": null, + "grass_modifier": "swamp", + "foliage": 9285927, + "fog": 12638463, + "sky": 7907327, + "water_fog": 5077600, + "water": 3832426 + }, + "spawn_settings": { + "probability": 0.1, + "groups": { + "monster": [ + { + "name": "spider", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "zombie", + "min_group_size": 4, + "max_group_size": 4, + "weight": 95 + }, + { + "name": "zombie_villager", + "min_group_size": 1, + "max_group_size": 1, + "weight": 5 + }, + { + "name": "skeleton", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "creeper", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "slime", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "enderman", + "min_group_size": 1, + "max_group_size": 4, + "weight": 10 + }, + { + "name": "witch", + "min_group_size": 1, + "max_group_size": 1, + "weight": 5 + }, + { + "name": "slime", + "min_group_size": 1, + "max_group_size": 1, + "weight": 1 + } + ], + "creature": [ + { + "name": "frog", + "min_group_size": 2, + "max_group_size": 5, + "weight": 10 + } + ], + "ambient": [ + { + "name": "bat", + "min_group_size": 8, + "max_group_size": 8, + "weight": 10 + } + ], + "axolotls": [], + "underground_water_creature": [ + { + "name": "glow_squid", + "min_group_size": 4, + "max_group_size": 6, + "weight": 10 + } + ], + "water_creature": [], + "water_ambient": [ + { + "name": "tropical_fish", + "min_group_size": 8, + "max_group_size": 8, + "weight": 25 + } + ], + "misc": [] + } + } + }, + { + "name": "forest", + "id": 8, + "climate": { + "precipitation": "rain", + "temperature": 0.7, + "downfall": 0.8 + }, + "color": { + "grass": null, + "grass_modifier": "none", + "foliage": null, + "fog": 12638463, + "sky": 7972607, + "water_fog": 329011, + "water": 4159204 + }, + "spawn_settings": { + "probability": 0.1, + "groups": { + "monster": [ + { + "name": "spider", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "zombie", + "min_group_size": 4, + "max_group_size": 4, + "weight": 95 + }, + { + "name": "zombie_villager", + "min_group_size": 1, + "max_group_size": 1, + "weight": 5 + }, + { + "name": "skeleton", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "creeper", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "slime", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "enderman", + "min_group_size": 1, + "max_group_size": 4, + "weight": 10 + }, + { + "name": "witch", + "min_group_size": 1, + "max_group_size": 1, + "weight": 5 + } + ], + "creature": [ + { + "name": "sheep", + "min_group_size": 4, + "max_group_size": 4, + "weight": 12 + }, + { + "name": "pig", + "min_group_size": 4, + "max_group_size": 4, + "weight": 10 + }, + { + "name": "chicken", + "min_group_size": 4, + "max_group_size": 4, + "weight": 10 + }, + { + "name": "cow", + "min_group_size": 4, + "max_group_size": 4, + "weight": 8 + }, + { + "name": "wolf", + "min_group_size": 4, + "max_group_size": 4, + "weight": 5 + } + ], + "ambient": [ + { + "name": "bat", + "min_group_size": 8, + "max_group_size": 8, + "weight": 10 + } + ], + "axolotls": [], + "underground_water_creature": [ + { + "name": "glow_squid", + "min_group_size": 4, + "max_group_size": 6, + "weight": 10 + } + ], + "water_creature": [], + "water_ambient": [], + "misc": [] + } + } + }, + { + "name": "flower_forest", + "id": 9, + "climate": { + "precipitation": "rain", + "temperature": 0.7, + "downfall": 0.8 + }, + "color": { + "grass": null, + "grass_modifier": "none", + "foliage": null, + "fog": 12638463, + "sky": 7972607, + "water_fog": 329011, + "water": 4159204 + }, + "spawn_settings": { + "probability": 0.1, + "groups": { + "monster": [ + { + "name": "spider", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "zombie", + "min_group_size": 4, + "max_group_size": 4, + "weight": 95 + }, + { + "name": "zombie_villager", + "min_group_size": 1, + "max_group_size": 1, + "weight": 5 + }, + { + "name": "skeleton", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "creeper", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "slime", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "enderman", + "min_group_size": 1, + "max_group_size": 4, + "weight": 10 + }, + { + "name": "witch", + "min_group_size": 1, + "max_group_size": 1, + "weight": 5 + } + ], + "creature": [ + { + "name": "sheep", + "min_group_size": 4, + "max_group_size": 4, + "weight": 12 + }, + { + "name": "pig", + "min_group_size": 4, + "max_group_size": 4, + "weight": 10 + }, + { + "name": "chicken", + "min_group_size": 4, + "max_group_size": 4, + "weight": 10 + }, + { + "name": "cow", + "min_group_size": 4, + "max_group_size": 4, + "weight": 8 + }, + { + "name": "rabbit", + "min_group_size": 2, + "max_group_size": 3, + "weight": 4 + } + ], + "ambient": [ + { + "name": "bat", + "min_group_size": 8, + "max_group_size": 8, + "weight": 10 + } + ], + "axolotls": [], + "underground_water_creature": [ + { + "name": "glow_squid", + "min_group_size": 4, + "max_group_size": 6, + "weight": 10 + } + ], + "water_creature": [], + "water_ambient": [], + "misc": [] + } + } + }, + { + "name": "birch_forest", + "id": 10, + "climate": { + "precipitation": "rain", + "temperature": 0.6, + "downfall": 0.6 + }, + "color": { + "grass": null, + "grass_modifier": "none", + "foliage": null, + "fog": 12638463, + "sky": 8037887, + "water_fog": 329011, + "water": 4159204 + }, + "spawn_settings": { + "probability": 0.1, + "groups": { + "monster": [ + { + "name": "spider", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "zombie", + "min_group_size": 4, + "max_group_size": 4, + "weight": 95 + }, + { + "name": "zombie_villager", + "min_group_size": 1, + "max_group_size": 1, + "weight": 5 + }, + { + "name": "skeleton", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "creeper", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "slime", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "enderman", + "min_group_size": 1, + "max_group_size": 4, + "weight": 10 + }, + { + "name": "witch", + "min_group_size": 1, + "max_group_size": 1, + "weight": 5 + } + ], + "creature": [ + { + "name": "sheep", + "min_group_size": 4, + "max_group_size": 4, + "weight": 12 + }, + { + "name": "pig", + "min_group_size": 4, + "max_group_size": 4, + "weight": 10 + }, + { + "name": "chicken", + "min_group_size": 4, + "max_group_size": 4, + "weight": 10 + }, + { + "name": "cow", + "min_group_size": 4, + "max_group_size": 4, + "weight": 8 + } + ], + "ambient": [ + { + "name": "bat", + "min_group_size": 8, + "max_group_size": 8, + "weight": 10 + } + ], + "axolotls": [], + "underground_water_creature": [ + { + "name": "glow_squid", + "min_group_size": 4, + "max_group_size": 6, + "weight": 10 + } + ], + "water_creature": [], + "water_ambient": [], + "misc": [] + } + } + }, + { + "name": "dark_forest", + "id": 11, + "climate": { + "precipitation": "rain", + "temperature": 0.7, + "downfall": 0.8 + }, + "color": { + "grass": null, + "grass_modifier": "dark_forest", + "foliage": null, + "fog": 12638463, + "sky": 7972607, + "water_fog": 329011, + "water": 4159204 + }, + "spawn_settings": { + "probability": 0.1, + "groups": { + "monster": [ + { + "name": "spider", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "zombie", + "min_group_size": 4, + "max_group_size": 4, + "weight": 95 + }, + { + "name": "zombie_villager", + "min_group_size": 1, + "max_group_size": 1, + "weight": 5 + }, + { + "name": "skeleton", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "creeper", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "slime", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "enderman", + "min_group_size": 1, + "max_group_size": 4, + "weight": 10 + }, + { + "name": "witch", + "min_group_size": 1, + "max_group_size": 1, + "weight": 5 + } + ], + "creature": [ + { + "name": "sheep", + "min_group_size": 4, + "max_group_size": 4, + "weight": 12 + }, + { + "name": "pig", + "min_group_size": 4, + "max_group_size": 4, + "weight": 10 + }, + { + "name": "chicken", + "min_group_size": 4, + "max_group_size": 4, + "weight": 10 + }, + { + "name": "cow", + "min_group_size": 4, + "max_group_size": 4, + "weight": 8 + } + ], + "ambient": [ + { + "name": "bat", + "min_group_size": 8, + "max_group_size": 8, + "weight": 10 + } + ], + "axolotls": [], + "underground_water_creature": [ + { + "name": "glow_squid", + "min_group_size": 4, + "max_group_size": 6, + "weight": 10 + } + ], + "water_creature": [], + "water_ambient": [], + "misc": [] + } + } + }, + { + "name": "old_growth_birch_forest", + "id": 12, + "climate": { + "precipitation": "rain", + "temperature": 0.6, + "downfall": 0.6 + }, + "color": { + "grass": null, + "grass_modifier": "none", + "foliage": null, + "fog": 12638463, + "sky": 8037887, + "water_fog": 329011, + "water": 4159204 + }, + "spawn_settings": { + "probability": 0.1, + "groups": { + "monster": [ + { + "name": "spider", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "zombie", + "min_group_size": 4, + "max_group_size": 4, + "weight": 95 + }, + { + "name": "zombie_villager", + "min_group_size": 1, + "max_group_size": 1, + "weight": 5 + }, + { + "name": "skeleton", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "creeper", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "slime", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "enderman", + "min_group_size": 1, + "max_group_size": 4, + "weight": 10 + }, + { + "name": "witch", + "min_group_size": 1, + "max_group_size": 1, + "weight": 5 + } + ], + "creature": [ + { + "name": "sheep", + "min_group_size": 4, + "max_group_size": 4, + "weight": 12 + }, + { + "name": "pig", + "min_group_size": 4, + "max_group_size": 4, + "weight": 10 + }, + { + "name": "chicken", + "min_group_size": 4, + "max_group_size": 4, + "weight": 10 + }, + { + "name": "cow", + "min_group_size": 4, + "max_group_size": 4, + "weight": 8 + } + ], + "ambient": [ + { + "name": "bat", + "min_group_size": 8, + "max_group_size": 8, + "weight": 10 + } + ], + "axolotls": [], + "underground_water_creature": [ + { + "name": "glow_squid", + "min_group_size": 4, + "max_group_size": 6, + "weight": 10 + } + ], + "water_creature": [], + "water_ambient": [], + "misc": [] + } + } + }, + { + "name": "old_growth_pine_taiga", + "id": 13, + "climate": { + "precipitation": "rain", + "temperature": 0.3, + "downfall": 0.8 + }, + "color": { + "grass": null, + "grass_modifier": "none", + "foliage": null, + "fog": 12638463, + "sky": 8168447, + "water_fog": 329011, + "water": 4159204 + }, + "spawn_settings": { + "probability": 0.1, + "groups": { + "monster": [ + { + "name": "spider", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "zombie", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "zombie_villager", + "min_group_size": 1, + "max_group_size": 1, + "weight": 25 + }, + { + "name": "skeleton", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "creeper", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "slime", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "enderman", + "min_group_size": 1, + "max_group_size": 4, + "weight": 10 + }, + { + "name": "witch", + "min_group_size": 1, + "max_group_size": 1, + "weight": 5 + } + ], + "creature": [ + { + "name": "sheep", + "min_group_size": 4, + "max_group_size": 4, + "weight": 12 + }, + { + "name": "pig", + "min_group_size": 4, + "max_group_size": 4, + "weight": 10 + }, + { + "name": "chicken", + "min_group_size": 4, + "max_group_size": 4, + "weight": 10 + }, + { + "name": "cow", + "min_group_size": 4, + "max_group_size": 4, + "weight": 8 + }, + { + "name": "wolf", + "min_group_size": 4, + "max_group_size": 4, + "weight": 8 + }, + { + "name": "rabbit", + "min_group_size": 2, + "max_group_size": 3, + "weight": 4 + }, + { + "name": "fox", + "min_group_size": 2, + "max_group_size": 4, + "weight": 8 + } + ], + "ambient": [ + { + "name": "bat", + "min_group_size": 8, + "max_group_size": 8, + "weight": 10 + } + ], + "axolotls": [], + "underground_water_creature": [ + { + "name": "glow_squid", + "min_group_size": 4, + "max_group_size": 6, + "weight": 10 + } + ], + "water_creature": [], + "water_ambient": [], + "misc": [] + } + } + }, + { + "name": "old_growth_spruce_taiga", + "id": 14, + "climate": { + "precipitation": "rain", + "temperature": 0.25, + "downfall": 0.8 + }, + "color": { + "grass": null, + "grass_modifier": "none", + "foliage": null, + "fog": 12638463, + "sky": 8233983, + "water_fog": 329011, + "water": 4159204 + }, + "spawn_settings": { + "probability": 0.1, + "groups": { + "monster": [ + { + "name": "spider", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "zombie", + "min_group_size": 4, + "max_group_size": 4, + "weight": 95 + }, + { + "name": "zombie_villager", + "min_group_size": 1, + "max_group_size": 1, + "weight": 5 + }, + { + "name": "skeleton", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "creeper", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "slime", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "enderman", + "min_group_size": 1, + "max_group_size": 4, + "weight": 10 + }, + { + "name": "witch", + "min_group_size": 1, + "max_group_size": 1, + "weight": 5 + } + ], + "creature": [ + { + "name": "sheep", + "min_group_size": 4, + "max_group_size": 4, + "weight": 12 + }, + { + "name": "pig", + "min_group_size": 4, + "max_group_size": 4, + "weight": 10 + }, + { + "name": "chicken", + "min_group_size": 4, + "max_group_size": 4, + "weight": 10 + }, + { + "name": "cow", + "min_group_size": 4, + "max_group_size": 4, + "weight": 8 + }, + { + "name": "wolf", + "min_group_size": 4, + "max_group_size": 4, + "weight": 8 + }, + { + "name": "rabbit", + "min_group_size": 2, + "max_group_size": 3, + "weight": 4 + }, + { + "name": "fox", + "min_group_size": 2, + "max_group_size": 4, + "weight": 8 + } + ], + "ambient": [ + { + "name": "bat", + "min_group_size": 8, + "max_group_size": 8, + "weight": 10 + } + ], + "axolotls": [], + "underground_water_creature": [ + { + "name": "glow_squid", + "min_group_size": 4, + "max_group_size": 6, + "weight": 10 + } + ], + "water_creature": [], + "water_ambient": [], + "misc": [] + } + } + }, + { + "name": "taiga", + "id": 15, + "climate": { + "precipitation": "rain", + "temperature": 0.25, + "downfall": 0.8 + }, + "color": { + "grass": null, + "grass_modifier": "none", + "foliage": null, + "fog": 12638463, + "sky": 8233983, + "water_fog": 329011, + "water": 4159204 + }, + "spawn_settings": { + "probability": 0.1, + "groups": { + "monster": [ + { + "name": "spider", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "zombie", + "min_group_size": 4, + "max_group_size": 4, + "weight": 95 + }, + { + "name": "zombie_villager", + "min_group_size": 1, + "max_group_size": 1, + "weight": 5 + }, + { + "name": "skeleton", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "creeper", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "slime", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "enderman", + "min_group_size": 1, + "max_group_size": 4, + "weight": 10 + }, + { + "name": "witch", + "min_group_size": 1, + "max_group_size": 1, + "weight": 5 + } + ], + "creature": [ + { + "name": "sheep", + "min_group_size": 4, + "max_group_size": 4, + "weight": 12 + }, + { + "name": "pig", + "min_group_size": 4, + "max_group_size": 4, + "weight": 10 + }, + { + "name": "chicken", + "min_group_size": 4, + "max_group_size": 4, + "weight": 10 + }, + { + "name": "cow", + "min_group_size": 4, + "max_group_size": 4, + "weight": 8 + }, + { + "name": "wolf", + "min_group_size": 4, + "max_group_size": 4, + "weight": 8 + }, + { + "name": "rabbit", + "min_group_size": 2, + "max_group_size": 3, + "weight": 4 + }, + { + "name": "fox", + "min_group_size": 2, + "max_group_size": 4, + "weight": 8 + } + ], + "ambient": [ + { + "name": "bat", + "min_group_size": 8, + "max_group_size": 8, + "weight": 10 + } + ], + "axolotls": [], + "underground_water_creature": [ + { + "name": "glow_squid", + "min_group_size": 4, + "max_group_size": 6, + "weight": 10 + } + ], + "water_creature": [], + "water_ambient": [], + "misc": [] + } + } + }, + { + "name": "snowy_taiga", + "id": 16, + "climate": { + "precipitation": "snow", + "temperature": -0.5, + "downfall": 0.4 + }, + "color": { + "grass": null, + "grass_modifier": "none", + "foliage": null, + "fog": 12638463, + "sky": 8625919, + "water_fog": 329011, + "water": 4020182 + }, + "spawn_settings": { + "probability": 0.1, + "groups": { + "monster": [ + { + "name": "spider", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "zombie", + "min_group_size": 4, + "max_group_size": 4, + "weight": 95 + }, + { + "name": "zombie_villager", + "min_group_size": 1, + "max_group_size": 1, + "weight": 5 + }, + { + "name": "skeleton", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "creeper", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "slime", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "enderman", + "min_group_size": 1, + "max_group_size": 4, + "weight": 10 + }, + { + "name": "witch", + "min_group_size": 1, + "max_group_size": 1, + "weight": 5 + } + ], + "creature": [ + { + "name": "sheep", + "min_group_size": 4, + "max_group_size": 4, + "weight": 12 + }, + { + "name": "pig", + "min_group_size": 4, + "max_group_size": 4, + "weight": 10 + }, + { + "name": "chicken", + "min_group_size": 4, + "max_group_size": 4, + "weight": 10 + }, + { + "name": "cow", + "min_group_size": 4, + "max_group_size": 4, + "weight": 8 + }, + { + "name": "wolf", + "min_group_size": 4, + "max_group_size": 4, + "weight": 8 + }, + { + "name": "rabbit", + "min_group_size": 2, + "max_group_size": 3, + "weight": 4 + }, + { + "name": "fox", + "min_group_size": 2, + "max_group_size": 4, + "weight": 8 + } + ], + "ambient": [ + { + "name": "bat", + "min_group_size": 8, + "max_group_size": 8, + "weight": 10 + } + ], + "axolotls": [], + "underground_water_creature": [ + { + "name": "glow_squid", + "min_group_size": 4, + "max_group_size": 6, + "weight": 10 + } + ], + "water_creature": [], + "water_ambient": [], + "misc": [] + } + } + }, + { + "name": "savanna", + "id": 17, + "climate": { + "precipitation": "none", + "temperature": 2.0, + "downfall": 0.0 + }, + "color": { + "grass": null, + "grass_modifier": "none", + "foliage": null, + "fog": 12638463, + "sky": 7254527, + "water_fog": 329011, + "water": 4159204 + }, + "spawn_settings": { + "probability": 0.1, + "groups": { + "monster": [ + { + "name": "spider", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "zombie", + "min_group_size": 4, + "max_group_size": 4, + "weight": 95 + }, + { + "name": "zombie_villager", + "min_group_size": 1, + "max_group_size": 1, + "weight": 5 + }, + { + "name": "skeleton", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "creeper", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "slime", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "enderman", + "min_group_size": 1, + "max_group_size": 4, + "weight": 10 + }, + { + "name": "witch", + "min_group_size": 1, + "max_group_size": 1, + "weight": 5 + } + ], + "creature": [ + { + "name": "sheep", + "min_group_size": 4, + "max_group_size": 4, + "weight": 12 + }, + { + "name": "pig", + "min_group_size": 4, + "max_group_size": 4, + "weight": 10 + }, + { + "name": "chicken", + "min_group_size": 4, + "max_group_size": 4, + "weight": 10 + }, + { + "name": "cow", + "min_group_size": 4, + "max_group_size": 4, + "weight": 8 + }, + { + "name": "horse", + "min_group_size": 2, + "max_group_size": 6, + "weight": 1 + }, + { + "name": "donkey", + "min_group_size": 1, + "max_group_size": 1, + "weight": 1 + } + ], + "ambient": [ + { + "name": "bat", + "min_group_size": 8, + "max_group_size": 8, + "weight": 10 + } + ], + "axolotls": [], + "underground_water_creature": [ + { + "name": "glow_squid", + "min_group_size": 4, + "max_group_size": 6, + "weight": 10 + } + ], + "water_creature": [], + "water_ambient": [], + "misc": [] + } + } + }, + { + "name": "savanna_plateau", + "id": 18, + "climate": { + "precipitation": "none", + "temperature": 2.0, + "downfall": 0.0 + }, + "color": { + "grass": null, + "grass_modifier": "none", + "foliage": null, + "fog": 12638463, + "sky": 7254527, + "water_fog": 329011, + "water": 4159204 + }, + "spawn_settings": { + "probability": 0.1, + "groups": { + "monster": [ + { + "name": "spider", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "zombie", + "min_group_size": 4, + "max_group_size": 4, + "weight": 95 + }, + { + "name": "zombie_villager", + "min_group_size": 1, + "max_group_size": 1, + "weight": 5 + }, + { + "name": "skeleton", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "creeper", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "slime", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "enderman", + "min_group_size": 1, + "max_group_size": 4, + "weight": 10 + }, + { + "name": "witch", + "min_group_size": 1, + "max_group_size": 1, + "weight": 5 + } + ], + "creature": [ + { + "name": "sheep", + "min_group_size": 4, + "max_group_size": 4, + "weight": 12 + }, + { + "name": "pig", + "min_group_size": 4, + "max_group_size": 4, + "weight": 10 + }, + { + "name": "chicken", + "min_group_size": 4, + "max_group_size": 4, + "weight": 10 + }, + { + "name": "cow", + "min_group_size": 4, + "max_group_size": 4, + "weight": 8 + }, + { + "name": "horse", + "min_group_size": 2, + "max_group_size": 6, + "weight": 1 + }, + { + "name": "donkey", + "min_group_size": 1, + "max_group_size": 1, + "weight": 1 + }, + { + "name": "llama", + "min_group_size": 4, + "max_group_size": 4, + "weight": 8 + } + ], + "ambient": [ + { + "name": "bat", + "min_group_size": 8, + "max_group_size": 8, + "weight": 10 + } + ], + "axolotls": [], + "underground_water_creature": [ + { + "name": "glow_squid", + "min_group_size": 4, + "max_group_size": 6, + "weight": 10 + } + ], + "water_creature": [], + "water_ambient": [], + "misc": [] + } + } + }, + { + "name": "windswept_hills", + "id": 19, + "climate": { + "precipitation": "rain", + "temperature": 0.2, + "downfall": 0.3 + }, + "color": { + "grass": null, + "grass_modifier": "none", + "foliage": null, + "fog": 12638463, + "sky": 8233727, + "water_fog": 329011, + "water": 4159204 + }, + "spawn_settings": { + "probability": 0.1, + "groups": { + "monster": [ + { + "name": "spider", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "zombie", + "min_group_size": 4, + "max_group_size": 4, + "weight": 95 + }, + { + "name": "zombie_villager", + "min_group_size": 1, + "max_group_size": 1, + "weight": 5 + }, + { + "name": "skeleton", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "creeper", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "slime", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "enderman", + "min_group_size": 1, + "max_group_size": 4, + "weight": 10 + }, + { + "name": "witch", + "min_group_size": 1, + "max_group_size": 1, + "weight": 5 + } + ], + "creature": [ + { + "name": "sheep", + "min_group_size": 4, + "max_group_size": 4, + "weight": 12 + }, + { + "name": "pig", + "min_group_size": 4, + "max_group_size": 4, + "weight": 10 + }, + { + "name": "chicken", + "min_group_size": 4, + "max_group_size": 4, + "weight": 10 + }, + { + "name": "cow", + "min_group_size": 4, + "max_group_size": 4, + "weight": 8 + }, + { + "name": "llama", + "min_group_size": 4, + "max_group_size": 6, + "weight": 5 + } + ], + "ambient": [ + { + "name": "bat", + "min_group_size": 8, + "max_group_size": 8, + "weight": 10 + } + ], + "axolotls": [], + "underground_water_creature": [ + { + "name": "glow_squid", + "min_group_size": 4, + "max_group_size": 6, + "weight": 10 + } + ], + "water_creature": [], + "water_ambient": [], + "misc": [] + } + } + }, + { + "name": "windswept_gravelly_hills", + "id": 20, + "climate": { + "precipitation": "rain", + "temperature": 0.2, + "downfall": 0.3 + }, + "color": { + "grass": null, + "grass_modifier": "none", + "foliage": null, + "fog": 12638463, + "sky": 8233727, + "water_fog": 329011, + "water": 4159204 + }, + "spawn_settings": { + "probability": 0.1, + "groups": { + "monster": [ + { + "name": "spider", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "zombie", + "min_group_size": 4, + "max_group_size": 4, + "weight": 95 + }, + { + "name": "zombie_villager", + "min_group_size": 1, + "max_group_size": 1, + "weight": 5 + }, + { + "name": "skeleton", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "creeper", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "slime", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "enderman", + "min_group_size": 1, + "max_group_size": 4, + "weight": 10 + }, + { + "name": "witch", + "min_group_size": 1, + "max_group_size": 1, + "weight": 5 + } + ], + "creature": [ + { + "name": "sheep", + "min_group_size": 4, + "max_group_size": 4, + "weight": 12 + }, + { + "name": "pig", + "min_group_size": 4, + "max_group_size": 4, + "weight": 10 + }, + { + "name": "chicken", + "min_group_size": 4, + "max_group_size": 4, + "weight": 10 + }, + { + "name": "cow", + "min_group_size": 4, + "max_group_size": 4, + "weight": 8 + }, + { + "name": "llama", + "min_group_size": 4, + "max_group_size": 6, + "weight": 5 + } + ], + "ambient": [ + { + "name": "bat", + "min_group_size": 8, + "max_group_size": 8, + "weight": 10 + } + ], + "axolotls": [], + "underground_water_creature": [ + { + "name": "glow_squid", + "min_group_size": 4, + "max_group_size": 6, + "weight": 10 + } + ], + "water_creature": [], + "water_ambient": [], + "misc": [] + } + } + }, + { + "name": "windswept_forest", + "id": 21, + "climate": { + "precipitation": "rain", + "temperature": 0.2, + "downfall": 0.3 + }, + "color": { + "grass": null, + "grass_modifier": "none", + "foliage": null, + "fog": 12638463, + "sky": 8233727, + "water_fog": 329011, + "water": 4159204 + }, + "spawn_settings": { + "probability": 0.1, + "groups": { + "monster": [ + { + "name": "spider", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "zombie", + "min_group_size": 4, + "max_group_size": 4, + "weight": 95 + }, + { + "name": "zombie_villager", + "min_group_size": 1, + "max_group_size": 1, + "weight": 5 + }, + { + "name": "skeleton", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "creeper", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "slime", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "enderman", + "min_group_size": 1, + "max_group_size": 4, + "weight": 10 + }, + { + "name": "witch", + "min_group_size": 1, + "max_group_size": 1, + "weight": 5 + } + ], + "creature": [ + { + "name": "sheep", + "min_group_size": 4, + "max_group_size": 4, + "weight": 12 + }, + { + "name": "pig", + "min_group_size": 4, + "max_group_size": 4, + "weight": 10 + }, + { + "name": "chicken", + "min_group_size": 4, + "max_group_size": 4, + "weight": 10 + }, + { + "name": "cow", + "min_group_size": 4, + "max_group_size": 4, + "weight": 8 + }, + { + "name": "llama", + "min_group_size": 4, + "max_group_size": 6, + "weight": 5 + } + ], + "ambient": [ + { + "name": "bat", + "min_group_size": 8, + "max_group_size": 8, + "weight": 10 + } + ], + "axolotls": [], + "underground_water_creature": [ + { + "name": "glow_squid", + "min_group_size": 4, + "max_group_size": 6, + "weight": 10 + } + ], + "water_creature": [], + "water_ambient": [], + "misc": [] + } + } + }, + { + "name": "windswept_savanna", + "id": 22, + "climate": { + "precipitation": "none", + "temperature": 2.0, + "downfall": 0.0 + }, + "color": { + "grass": null, + "grass_modifier": "none", + "foliage": null, + "fog": 12638463, + "sky": 7254527, + "water_fog": 329011, + "water": 4159204 + }, + "spawn_settings": { + "probability": 0.1, + "groups": { + "monster": [ + { + "name": "spider", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "zombie", + "min_group_size": 4, + "max_group_size": 4, + "weight": 95 + }, + { + "name": "zombie_villager", + "min_group_size": 1, + "max_group_size": 1, + "weight": 5 + }, + { + "name": "skeleton", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "creeper", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "slime", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "enderman", + "min_group_size": 1, + "max_group_size": 4, + "weight": 10 + }, + { + "name": "witch", + "min_group_size": 1, + "max_group_size": 1, + "weight": 5 + } + ], + "creature": [ + { + "name": "sheep", + "min_group_size": 4, + "max_group_size": 4, + "weight": 12 + }, + { + "name": "pig", + "min_group_size": 4, + "max_group_size": 4, + "weight": 10 + }, + { + "name": "chicken", + "min_group_size": 4, + "max_group_size": 4, + "weight": 10 + }, + { + "name": "cow", + "min_group_size": 4, + "max_group_size": 4, + "weight": 8 + }, + { + "name": "horse", + "min_group_size": 2, + "max_group_size": 6, + "weight": 1 + }, + { + "name": "donkey", + "min_group_size": 1, + "max_group_size": 1, + "weight": 1 + } + ], + "ambient": [ + { + "name": "bat", + "min_group_size": 8, + "max_group_size": 8, + "weight": 10 + } + ], + "axolotls": [], + "underground_water_creature": [ + { + "name": "glow_squid", + "min_group_size": 4, + "max_group_size": 6, + "weight": 10 + } + ], + "water_creature": [], + "water_ambient": [], + "misc": [] + } + } + }, + { + "name": "jungle", + "id": 23, + "climate": { + "precipitation": "rain", + "temperature": 0.95, + "downfall": 0.9 + }, + "color": { + "grass": null, + "grass_modifier": "none", + "foliage": null, + "fog": 12638463, + "sky": 7842047, + "water_fog": 329011, + "water": 4159204 + }, + "spawn_settings": { + "probability": 0.1, + "groups": { + "monster": [ + { + "name": "spider", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "zombie", + "min_group_size": 4, + "max_group_size": 4, + "weight": 95 + }, + { + "name": "zombie_villager", + "min_group_size": 1, + "max_group_size": 1, + "weight": 5 + }, + { + "name": "skeleton", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "creeper", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "slime", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "enderman", + "min_group_size": 1, + "max_group_size": 4, + "weight": 10 + }, + { + "name": "witch", + "min_group_size": 1, + "max_group_size": 1, + "weight": 5 + }, + { + "name": "ocelot", + "min_group_size": 1, + "max_group_size": 3, + "weight": 2 + } + ], + "creature": [ + { + "name": "sheep", + "min_group_size": 4, + "max_group_size": 4, + "weight": 12 + }, + { + "name": "pig", + "min_group_size": 4, + "max_group_size": 4, + "weight": 10 + }, + { + "name": "chicken", + "min_group_size": 4, + "max_group_size": 4, + "weight": 10 + }, + { + "name": "cow", + "min_group_size": 4, + "max_group_size": 4, + "weight": 8 + }, + { + "name": "chicken", + "min_group_size": 4, + "max_group_size": 4, + "weight": 10 + }, + { + "name": "parrot", + "min_group_size": 1, + "max_group_size": 2, + "weight": 40 + }, + { + "name": "panda", + "min_group_size": 1, + "max_group_size": 2, + "weight": 1 + } + ], + "ambient": [ + { + "name": "bat", + "min_group_size": 8, + "max_group_size": 8, + "weight": 10 + } + ], + "axolotls": [], + "underground_water_creature": [ + { + "name": "glow_squid", + "min_group_size": 4, + "max_group_size": 6, + "weight": 10 + } + ], + "water_creature": [], + "water_ambient": [], + "misc": [] + } + } + }, + { + "name": "sparse_jungle", + "id": 24, + "climate": { + "precipitation": "rain", + "temperature": 0.95, + "downfall": 0.8 + }, + "color": { + "grass": null, + "grass_modifier": "none", + "foliage": null, + "fog": 12638463, + "sky": 7842047, + "water_fog": 329011, + "water": 4159204 + }, + "spawn_settings": { + "probability": 0.1, + "groups": { + "monster": [ + { + "name": "spider", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "zombie", + "min_group_size": 4, + "max_group_size": 4, + "weight": 95 + }, + { + "name": "zombie_villager", + "min_group_size": 1, + "max_group_size": 1, + "weight": 5 + }, + { + "name": "skeleton", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "creeper", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "slime", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "enderman", + "min_group_size": 1, + "max_group_size": 4, + "weight": 10 + }, + { + "name": "witch", + "min_group_size": 1, + "max_group_size": 1, + "weight": 5 + } + ], + "creature": [ + { + "name": "sheep", + "min_group_size": 4, + "max_group_size": 4, + "weight": 12 + }, + { + "name": "pig", + "min_group_size": 4, + "max_group_size": 4, + "weight": 10 + }, + { + "name": "chicken", + "min_group_size": 4, + "max_group_size": 4, + "weight": 10 + }, + { + "name": "cow", + "min_group_size": 4, + "max_group_size": 4, + "weight": 8 + }, + { + "name": "chicken", + "min_group_size": 4, + "max_group_size": 4, + "weight": 10 + } + ], + "ambient": [ + { + "name": "bat", + "min_group_size": 8, + "max_group_size": 8, + "weight": 10 + } + ], + "axolotls": [], + "underground_water_creature": [ + { + "name": "glow_squid", + "min_group_size": 4, + "max_group_size": 6, + "weight": 10 + } + ], + "water_creature": [], + "water_ambient": [], + "misc": [] + } + } + }, + { + "name": "bamboo_jungle", + "id": 25, + "climate": { + "precipitation": "rain", + "temperature": 0.95, + "downfall": 0.9 + }, + "color": { + "grass": null, + "grass_modifier": "none", + "foliage": null, + "fog": 12638463, + "sky": 7842047, + "water_fog": 329011, + "water": 4159204 + }, + "spawn_settings": { + "probability": 0.1, + "groups": { + "monster": [ + { + "name": "spider", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "zombie", + "min_group_size": 4, + "max_group_size": 4, + "weight": 95 + }, + { + "name": "zombie_villager", + "min_group_size": 1, + "max_group_size": 1, + "weight": 5 + }, + { + "name": "skeleton", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "creeper", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "slime", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "enderman", + "min_group_size": 1, + "max_group_size": 4, + "weight": 10 + }, + { + "name": "witch", + "min_group_size": 1, + "max_group_size": 1, + "weight": 5 + }, + { + "name": "ocelot", + "min_group_size": 1, + "max_group_size": 1, + "weight": 2 + } + ], + "creature": [ + { + "name": "sheep", + "min_group_size": 4, + "max_group_size": 4, + "weight": 12 + }, + { + "name": "pig", + "min_group_size": 4, + "max_group_size": 4, + "weight": 10 + }, + { + "name": "chicken", + "min_group_size": 4, + "max_group_size": 4, + "weight": 10 + }, + { + "name": "cow", + "min_group_size": 4, + "max_group_size": 4, + "weight": 8 + }, + { + "name": "chicken", + "min_group_size": 4, + "max_group_size": 4, + "weight": 10 + }, + { + "name": "parrot", + "min_group_size": 1, + "max_group_size": 2, + "weight": 40 + }, + { + "name": "panda", + "min_group_size": 1, + "max_group_size": 2, + "weight": 80 + } + ], + "ambient": [ + { + "name": "bat", + "min_group_size": 8, + "max_group_size": 8, + "weight": 10 + } + ], + "axolotls": [], + "underground_water_creature": [ + { + "name": "glow_squid", + "min_group_size": 4, + "max_group_size": 6, + "weight": 10 + } + ], + "water_creature": [], + "water_ambient": [], + "misc": [] + } + } + }, + { + "name": "badlands", + "id": 26, + "climate": { + "precipitation": "none", + "temperature": 2.0, + "downfall": 0.0 + }, + "color": { + "grass": 9470285, + "grass_modifier": "none", + "foliage": 10387789, + "fog": 12638463, + "sky": 7254527, + "water_fog": 329011, + "water": 4159204 + }, + "spawn_settings": { + "probability": 0.1, + "groups": { + "monster": [ + { + "name": "spider", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "zombie", + "min_group_size": 4, + "max_group_size": 4, + "weight": 95 + }, + { + "name": "zombie_villager", + "min_group_size": 1, + "max_group_size": 1, + "weight": 5 + }, + { + "name": "skeleton", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "creeper", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "slime", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "enderman", + "min_group_size": 1, + "max_group_size": 4, + "weight": 10 + }, + { + "name": "witch", + "min_group_size": 1, + "max_group_size": 1, + "weight": 5 + } + ], + "creature": [], + "ambient": [ + { + "name": "bat", + "min_group_size": 8, + "max_group_size": 8, + "weight": 10 + } + ], + "axolotls": [], + "underground_water_creature": [ + { + "name": "glow_squid", + "min_group_size": 4, + "max_group_size": 6, + "weight": 10 + } + ], + "water_creature": [], + "water_ambient": [], + "misc": [] + } + } + }, + { + "name": "eroded_badlands", + "id": 27, + "climate": { + "precipitation": "none", + "temperature": 2.0, + "downfall": 0.0 + }, + "color": { + "grass": 9470285, + "grass_modifier": "none", + "foliage": 10387789, + "fog": 12638463, + "sky": 7254527, + "water_fog": 329011, + "water": 4159204 + }, + "spawn_settings": { + "probability": 0.1, + "groups": { + "monster": [ + { + "name": "spider", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "zombie", + "min_group_size": 4, + "max_group_size": 4, + "weight": 95 + }, + { + "name": "zombie_villager", + "min_group_size": 1, + "max_group_size": 1, + "weight": 5 + }, + { + "name": "skeleton", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "creeper", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "slime", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "enderman", + "min_group_size": 1, + "max_group_size": 4, + "weight": 10 + }, + { + "name": "witch", + "min_group_size": 1, + "max_group_size": 1, + "weight": 5 + } + ], + "creature": [], + "ambient": [ + { + "name": "bat", + "min_group_size": 8, + "max_group_size": 8, + "weight": 10 + } + ], + "axolotls": [], + "underground_water_creature": [ + { + "name": "glow_squid", + "min_group_size": 4, + "max_group_size": 6, + "weight": 10 + } + ], + "water_creature": [], + "water_ambient": [], + "misc": [] + } + } + }, + { + "name": "wooded_badlands", + "id": 28, + "climate": { + "precipitation": "none", + "temperature": 2.0, + "downfall": 0.0 + }, + "color": { + "grass": 9470285, + "grass_modifier": "none", + "foliage": 10387789, + "fog": 12638463, + "sky": 7254527, + "water_fog": 329011, + "water": 4159204 + }, + "spawn_settings": { + "probability": 0.1, + "groups": { + "monster": [ + { + "name": "spider", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "zombie", + "min_group_size": 4, + "max_group_size": 4, + "weight": 95 + }, + { + "name": "zombie_villager", + "min_group_size": 1, + "max_group_size": 1, + "weight": 5 + }, + { + "name": "skeleton", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "creeper", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "slime", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "enderman", + "min_group_size": 1, + "max_group_size": 4, + "weight": 10 + }, + { + "name": "witch", + "min_group_size": 1, + "max_group_size": 1, + "weight": 5 + } + ], + "creature": [], + "ambient": [ + { + "name": "bat", + "min_group_size": 8, + "max_group_size": 8, + "weight": 10 + } + ], + "axolotls": [], + "underground_water_creature": [ + { + "name": "glow_squid", + "min_group_size": 4, + "max_group_size": 6, + "weight": 10 + } + ], + "water_creature": [], + "water_ambient": [], + "misc": [] + } + } + }, + { + "name": "meadow", + "id": 29, + "climate": { + "precipitation": "rain", + "temperature": 0.5, + "downfall": 0.8 + }, + "color": { + "grass": null, + "grass_modifier": "none", + "foliage": null, + "fog": 12638463, + "sky": 8103167, + "water_fog": 329011, + "water": 937679 + }, + "spawn_settings": { + "probability": 0.1, + "groups": { + "monster": [ + { + "name": "spider", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "zombie", + "min_group_size": 4, + "max_group_size": 4, + "weight": 95 + }, + { + "name": "zombie_villager", + "min_group_size": 1, + "max_group_size": 1, + "weight": 5 + }, + { + "name": "skeleton", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "creeper", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "slime", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "enderman", + "min_group_size": 1, + "max_group_size": 4, + "weight": 10 + }, + { + "name": "witch", + "min_group_size": 1, + "max_group_size": 1, + "weight": 5 + } + ], + "creature": [ + { + "name": "donkey", + "min_group_size": 1, + "max_group_size": 2, + "weight": 1 + }, + { + "name": "rabbit", + "min_group_size": 2, + "max_group_size": 6, + "weight": 2 + }, + { + "name": "sheep", + "min_group_size": 2, + "max_group_size": 4, + "weight": 2 + } + ], + "ambient": [ + { + "name": "bat", + "min_group_size": 8, + "max_group_size": 8, + "weight": 10 + } + ], + "axolotls": [], + "underground_water_creature": [ + { + "name": "glow_squid", + "min_group_size": 4, + "max_group_size": 6, + "weight": 10 + } + ], + "water_creature": [], + "water_ambient": [], + "misc": [] + } + } + }, + { + "name": "grove", + "id": 30, + "climate": { + "precipitation": "snow", + "temperature": -0.2, + "downfall": 0.8 + }, + "color": { + "grass": null, + "grass_modifier": "none", + "foliage": null, + "fog": 12638463, + "sky": 8495359, + "water_fog": 329011, + "water": 4159204 + }, + "spawn_settings": { + "probability": 0.1, + "groups": { + "monster": [ + { + "name": "spider", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "zombie", + "min_group_size": 4, + "max_group_size": 4, + "weight": 95 + }, + { + "name": "zombie_villager", + "min_group_size": 1, + "max_group_size": 1, + "weight": 5 + }, + { + "name": "skeleton", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "creeper", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "slime", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "enderman", + "min_group_size": 1, + "max_group_size": 4, + "weight": 10 + }, + { + "name": "witch", + "min_group_size": 1, + "max_group_size": 1, + "weight": 5 + } + ], + "creature": [ + { + "name": "sheep", + "min_group_size": 4, + "max_group_size": 4, + "weight": 12 + }, + { + "name": "pig", + "min_group_size": 4, + "max_group_size": 4, + "weight": 10 + }, + { + "name": "chicken", + "min_group_size": 4, + "max_group_size": 4, + "weight": 10 + }, + { + "name": "cow", + "min_group_size": 4, + "max_group_size": 4, + "weight": 8 + }, + { + "name": "wolf", + "min_group_size": 4, + "max_group_size": 4, + "weight": 8 + }, + { + "name": "rabbit", + "min_group_size": 2, + "max_group_size": 3, + "weight": 4 + }, + { + "name": "fox", + "min_group_size": 2, + "max_group_size": 4, + "weight": 8 + } + ], + "ambient": [ + { + "name": "bat", + "min_group_size": 8, + "max_group_size": 8, + "weight": 10 + } + ], + "axolotls": [], + "underground_water_creature": [ + { + "name": "glow_squid", + "min_group_size": 4, + "max_group_size": 6, + "weight": 10 + } + ], + "water_creature": [], + "water_ambient": [], + "misc": [] + } + } + }, + { + "name": "snowy_slopes", + "id": 31, + "climate": { + "precipitation": "snow", + "temperature": -0.3, + "downfall": 0.9 + }, + "color": { + "grass": null, + "grass_modifier": "none", + "foliage": null, + "fog": 12638463, + "sky": 8560639, + "water_fog": 329011, + "water": 4159204 + }, + "spawn_settings": { + "probability": 0.1, + "groups": { + "monster": [ + { + "name": "spider", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "zombie", + "min_group_size": 4, + "max_group_size": 4, + "weight": 95 + }, + { + "name": "zombie_villager", + "min_group_size": 1, + "max_group_size": 1, + "weight": 5 + }, + { + "name": "skeleton", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "creeper", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "slime", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "enderman", + "min_group_size": 1, + "max_group_size": 4, + "weight": 10 + }, + { + "name": "witch", + "min_group_size": 1, + "max_group_size": 1, + "weight": 5 + } + ], + "creature": [ + { + "name": "rabbit", + "min_group_size": 2, + "max_group_size": 3, + "weight": 4 + }, + { + "name": "goat", + "min_group_size": 1, + "max_group_size": 3, + "weight": 5 + } + ], + "ambient": [ + { + "name": "bat", + "min_group_size": 8, + "max_group_size": 8, + "weight": 10 + } + ], + "axolotls": [], + "underground_water_creature": [ + { + "name": "glow_squid", + "min_group_size": 4, + "max_group_size": 6, + "weight": 10 + } + ], + "water_creature": [], + "water_ambient": [], + "misc": [] + } + } + }, + { + "name": "frozen_peaks", + "id": 32, + "climate": { + "precipitation": "snow", + "temperature": -0.7, + "downfall": 0.9 + }, + "color": { + "grass": null, + "grass_modifier": "none", + "foliage": null, + "fog": 12638463, + "sky": 8756735, + "water_fog": 329011, + "water": 4159204 + }, + "spawn_settings": { + "probability": 0.1, + "groups": { + "monster": [ + { + "name": "spider", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "zombie", + "min_group_size": 4, + "max_group_size": 4, + "weight": 95 + }, + { + "name": "zombie_villager", + "min_group_size": 1, + "max_group_size": 1, + "weight": 5 + }, + { + "name": "skeleton", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "creeper", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "slime", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "enderman", + "min_group_size": 1, + "max_group_size": 4, + "weight": 10 + }, + { + "name": "witch", + "min_group_size": 1, + "max_group_size": 1, + "weight": 5 + } + ], + "creature": [ + { + "name": "goat", + "min_group_size": 1, + "max_group_size": 3, + "weight": 5 + } + ], + "ambient": [ + { + "name": "bat", + "min_group_size": 8, + "max_group_size": 8, + "weight": 10 + } + ], + "axolotls": [], + "underground_water_creature": [ + { + "name": "glow_squid", + "min_group_size": 4, + "max_group_size": 6, + "weight": 10 + } + ], + "water_creature": [], + "water_ambient": [], + "misc": [] + } + } + }, + { + "name": "jagged_peaks", + "id": 33, + "climate": { + "precipitation": "snow", + "temperature": -0.7, + "downfall": 0.9 + }, + "color": { + "grass": null, + "grass_modifier": "none", + "foliage": null, + "fog": 12638463, + "sky": 8756735, + "water_fog": 329011, + "water": 4159204 + }, + "spawn_settings": { + "probability": 0.1, + "groups": { + "monster": [ + { + "name": "spider", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "zombie", + "min_group_size": 4, + "max_group_size": 4, + "weight": 95 + }, + { + "name": "zombie_villager", + "min_group_size": 1, + "max_group_size": 1, + "weight": 5 + }, + { + "name": "skeleton", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "creeper", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "slime", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "enderman", + "min_group_size": 1, + "max_group_size": 4, + "weight": 10 + }, + { + "name": "witch", + "min_group_size": 1, + "max_group_size": 1, + "weight": 5 + } + ], + "creature": [ + { + "name": "goat", + "min_group_size": 1, + "max_group_size": 3, + "weight": 5 + } + ], + "ambient": [ + { + "name": "bat", + "min_group_size": 8, + "max_group_size": 8, + "weight": 10 + } + ], + "axolotls": [], + "underground_water_creature": [ + { + "name": "glow_squid", + "min_group_size": 4, + "max_group_size": 6, + "weight": 10 + } + ], + "water_creature": [], + "water_ambient": [], + "misc": [] + } + } + }, + { + "name": "stony_peaks", + "id": 34, + "climate": { + "precipitation": "rain", + "temperature": 1.0, + "downfall": 0.3 + }, + "color": { + "grass": null, + "grass_modifier": "none", + "foliage": null, + "fog": 12638463, + "sky": 7776511, + "water_fog": 329011, + "water": 4159204 + }, + "spawn_settings": { + "probability": 0.1, + "groups": { + "monster": [ + { + "name": "spider", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "zombie", + "min_group_size": 4, + "max_group_size": 4, + "weight": 95 + }, + { + "name": "zombie_villager", + "min_group_size": 1, + "max_group_size": 1, + "weight": 5 + }, + { + "name": "skeleton", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "creeper", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "slime", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "enderman", + "min_group_size": 1, + "max_group_size": 4, + "weight": 10 + }, + { + "name": "witch", + "min_group_size": 1, + "max_group_size": 1, + "weight": 5 + } + ], + "creature": [], + "ambient": [ + { + "name": "bat", + "min_group_size": 8, + "max_group_size": 8, + "weight": 10 + } + ], + "axolotls": [], + "underground_water_creature": [ + { + "name": "glow_squid", + "min_group_size": 4, + "max_group_size": 6, + "weight": 10 + } + ], + "water_creature": [], + "water_ambient": [], + "misc": [] + } + } + }, + { + "name": "river", + "id": 35, + "climate": { + "precipitation": "rain", + "temperature": 0.5, + "downfall": 0.5 + }, + "color": { + "grass": null, + "grass_modifier": "none", + "foliage": null, + "fog": 12638463, + "sky": 8103167, + "water_fog": 329011, + "water": 4159204 + }, + "spawn_settings": { + "probability": 0.1, + "groups": { + "monster": [ + { + "name": "spider", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "zombie", + "min_group_size": 4, + "max_group_size": 4, + "weight": 95 + }, + { + "name": "zombie_villager", + "min_group_size": 1, + "max_group_size": 1, + "weight": 5 + }, + { + "name": "skeleton", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "creeper", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "slime", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "enderman", + "min_group_size": 1, + "max_group_size": 4, + "weight": 10 + }, + { + "name": "witch", + "min_group_size": 1, + "max_group_size": 1, + "weight": 5 + }, + { + "name": "drowned", + "min_group_size": 1, + "max_group_size": 1, + "weight": 100 + } + ], + "creature": [], + "ambient": [ + { + "name": "bat", + "min_group_size": 8, + "max_group_size": 8, + "weight": 10 + } + ], + "axolotls": [], + "underground_water_creature": [ + { + "name": "glow_squid", + "min_group_size": 4, + "max_group_size": 6, + "weight": 10 + } + ], + "water_creature": [ + { + "name": "squid", + "min_group_size": 1, + "max_group_size": 4, + "weight": 2 + } + ], + "water_ambient": [ + { + "name": "salmon", + "min_group_size": 1, + "max_group_size": 5, + "weight": 5 + } + ], + "misc": [] + } + } + }, + { + "name": "frozen_river", + "id": 36, + "climate": { + "precipitation": "snow", + "temperature": 0.0, + "downfall": 0.5 + }, + "color": { + "grass": null, + "grass_modifier": "none", + "foliage": null, + "fog": 12638463, + "sky": 8364543, + "water_fog": 329011, + "water": 3750089 + }, + "spawn_settings": { + "probability": 0.1, + "groups": { + "monster": [ + { + "name": "spider", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "zombie", + "min_group_size": 4, + "max_group_size": 4, + "weight": 95 + }, + { + "name": "zombie_villager", + "min_group_size": 1, + "max_group_size": 1, + "weight": 5 + }, + { + "name": "skeleton", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "creeper", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "slime", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "enderman", + "min_group_size": 1, + "max_group_size": 4, + "weight": 10 + }, + { + "name": "witch", + "min_group_size": 1, + "max_group_size": 1, + "weight": 5 + }, + { + "name": "drowned", + "min_group_size": 1, + "max_group_size": 1, + "weight": 1 + } + ], + "creature": [], + "ambient": [ + { + "name": "bat", + "min_group_size": 8, + "max_group_size": 8, + "weight": 10 + } + ], + "axolotls": [], + "underground_water_creature": [ + { + "name": "glow_squid", + "min_group_size": 4, + "max_group_size": 6, + "weight": 10 + } + ], + "water_creature": [ + { + "name": "squid", + "min_group_size": 1, + "max_group_size": 4, + "weight": 2 + } + ], + "water_ambient": [ + { + "name": "salmon", + "min_group_size": 1, + "max_group_size": 5, + "weight": 5 + } + ], + "misc": [] + } + } + }, + { + "name": "beach", + "id": 37, + "climate": { + "precipitation": "rain", + "temperature": 0.8, + "downfall": 0.4 + }, + "color": { + "grass": null, + "grass_modifier": "none", + "foliage": null, + "fog": 12638463, + "sky": 7907327, + "water_fog": 329011, + "water": 4159204 + }, + "spawn_settings": { + "probability": 0.1, + "groups": { + "monster": [ + { + "name": "spider", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "zombie", + "min_group_size": 4, + "max_group_size": 4, + "weight": 95 + }, + { + "name": "zombie_villager", + "min_group_size": 1, + "max_group_size": 1, + "weight": 5 + }, + { + "name": "skeleton", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "creeper", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "slime", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "enderman", + "min_group_size": 1, + "max_group_size": 4, + "weight": 10 + }, + { + "name": "witch", + "min_group_size": 1, + "max_group_size": 1, + "weight": 5 + } + ], + "creature": [ + { + "name": "turtle", + "min_group_size": 2, + "max_group_size": 5, + "weight": 5 + } + ], + "ambient": [ + { + "name": "bat", + "min_group_size": 8, + "max_group_size": 8, + "weight": 10 + } + ], + "axolotls": [], + "underground_water_creature": [ + { + "name": "glow_squid", + "min_group_size": 4, + "max_group_size": 6, + "weight": 10 + } + ], + "water_creature": [], + "water_ambient": [], + "misc": [] + } + } + }, + { + "name": "snowy_beach", + "id": 38, + "climate": { + "precipitation": "snow", + "temperature": 0.05, + "downfall": 0.3 + }, + "color": { + "grass": null, + "grass_modifier": "none", + "foliage": null, + "fog": 12638463, + "sky": 8364543, + "water_fog": 329011, + "water": 4020182 + }, + "spawn_settings": { + "probability": 0.1, + "groups": { + "monster": [ + { + "name": "spider", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "zombie", + "min_group_size": 4, + "max_group_size": 4, + "weight": 95 + }, + { + "name": "zombie_villager", + "min_group_size": 1, + "max_group_size": 1, + "weight": 5 + }, + { + "name": "skeleton", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "creeper", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "slime", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "enderman", + "min_group_size": 1, + "max_group_size": 4, + "weight": 10 + }, + { + "name": "witch", + "min_group_size": 1, + "max_group_size": 1, + "weight": 5 + } + ], + "creature": [], + "ambient": [ + { + "name": "bat", + "min_group_size": 8, + "max_group_size": 8, + "weight": 10 + } + ], + "axolotls": [], + "underground_water_creature": [ + { + "name": "glow_squid", + "min_group_size": 4, + "max_group_size": 6, + "weight": 10 + } + ], + "water_creature": [], + "water_ambient": [], + "misc": [] + } + } + }, + { + "name": "stony_shore", + "id": 39, + "climate": { + "precipitation": "rain", + "temperature": 0.2, + "downfall": 0.3 + }, + "color": { + "grass": null, + "grass_modifier": "none", + "foliage": null, + "fog": 12638463, + "sky": 8233727, + "water_fog": 329011, + "water": 4159204 + }, + "spawn_settings": { + "probability": 0.1, + "groups": { + "monster": [ + { + "name": "spider", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "zombie", + "min_group_size": 4, + "max_group_size": 4, + "weight": 95 + }, + { + "name": "zombie_villager", + "min_group_size": 1, + "max_group_size": 1, + "weight": 5 + }, + { + "name": "skeleton", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "creeper", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "slime", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "enderman", + "min_group_size": 1, + "max_group_size": 4, + "weight": 10 + }, + { + "name": "witch", + "min_group_size": 1, + "max_group_size": 1, + "weight": 5 + } + ], + "creature": [], + "ambient": [ + { + "name": "bat", + "min_group_size": 8, + "max_group_size": 8, + "weight": 10 + } + ], + "axolotls": [], + "underground_water_creature": [ + { + "name": "glow_squid", + "min_group_size": 4, + "max_group_size": 6, + "weight": 10 + } + ], + "water_creature": [], + "water_ambient": [], + "misc": [] + } + } + }, + { + "name": "warm_ocean", + "id": 40, + "climate": { + "precipitation": "rain", + "temperature": 0.5, + "downfall": 0.5 + }, + "color": { + "grass": null, + "grass_modifier": "none", + "foliage": null, + "fog": 12638463, + "sky": 8103167, + "water_fog": 270131, + "water": 4445678 + }, + "spawn_settings": { + "probability": 0.1, + "groups": { + "monster": [ + { + "name": "drowned", + "min_group_size": 1, + "max_group_size": 1, + "weight": 5 + }, + { + "name": "spider", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "zombie", + "min_group_size": 4, + "max_group_size": 4, + "weight": 95 + }, + { + "name": "zombie_villager", + "min_group_size": 1, + "max_group_size": 1, + "weight": 5 + }, + { + "name": "skeleton", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "creeper", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "slime", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "enderman", + "min_group_size": 1, + "max_group_size": 4, + "weight": 10 + }, + { + "name": "witch", + "min_group_size": 1, + "max_group_size": 1, + "weight": 5 + } + ], + "creature": [], + "ambient": [ + { + "name": "bat", + "min_group_size": 8, + "max_group_size": 8, + "weight": 10 + } + ], + "axolotls": [], + "underground_water_creature": [ + { + "name": "glow_squid", + "min_group_size": 4, + "max_group_size": 6, + "weight": 10 + } + ], + "water_creature": [ + { + "name": "squid", + "min_group_size": 4, + "max_group_size": 4, + "weight": 10 + }, + { + "name": "dolphin", + "min_group_size": 1, + "max_group_size": 2, + "weight": 2 + } + ], + "water_ambient": [ + { + "name": "pufferfish", + "min_group_size": 1, + "max_group_size": 3, + "weight": 15 + }, + { + "name": "tropical_fish", + "min_group_size": 8, + "max_group_size": 8, + "weight": 25 + } + ], + "misc": [] + } + } + }, + { + "name": "lukewarm_ocean", + "id": 41, + "climate": { + "precipitation": "rain", + "temperature": 0.5, + "downfall": 0.5 + }, + "color": { + "grass": null, + "grass_modifier": "none", + "foliage": null, + "fog": 12638463, + "sky": 8103167, + "water_fog": 267827, + "water": 4566514 + }, + "spawn_settings": { + "probability": 0.1, + "groups": { + "monster": [ + { + "name": "spider", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "zombie", + "min_group_size": 4, + "max_group_size": 4, + "weight": 95 + }, + { + "name": "zombie_villager", + "min_group_size": 1, + "max_group_size": 1, + "weight": 5 + }, + { + "name": "skeleton", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "creeper", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "slime", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "enderman", + "min_group_size": 1, + "max_group_size": 4, + "weight": 10 + }, + { + "name": "witch", + "min_group_size": 1, + "max_group_size": 1, + "weight": 5 + }, + { + "name": "drowned", + "min_group_size": 1, + "max_group_size": 1, + "weight": 5 + } + ], + "creature": [], + "ambient": [ + { + "name": "bat", + "min_group_size": 8, + "max_group_size": 8, + "weight": 10 + } + ], + "axolotls": [], + "underground_water_creature": [ + { + "name": "glow_squid", + "min_group_size": 4, + "max_group_size": 6, + "weight": 10 + } + ], + "water_creature": [ + { + "name": "squid", + "min_group_size": 1, + "max_group_size": 2, + "weight": 10 + }, + { + "name": "dolphin", + "min_group_size": 1, + "max_group_size": 2, + "weight": 2 + } + ], + "water_ambient": [ + { + "name": "cod", + "min_group_size": 3, + "max_group_size": 6, + "weight": 15 + }, + { + "name": "pufferfish", + "min_group_size": 1, + "max_group_size": 3, + "weight": 5 + }, + { + "name": "tropical_fish", + "min_group_size": 8, + "max_group_size": 8, + "weight": 25 + } + ], + "misc": [] + } + } + }, + { + "name": "deep_lukewarm_ocean", + "id": 42, + "climate": { + "precipitation": "rain", + "temperature": 0.5, + "downfall": 0.5 + }, + "color": { + "grass": null, + "grass_modifier": "none", + "foliage": null, + "fog": 12638463, + "sky": 8103167, + "water_fog": 267827, + "water": 4566514 + }, + "spawn_settings": { + "probability": 0.1, + "groups": { + "monster": [ + { + "name": "spider", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "zombie", + "min_group_size": 4, + "max_group_size": 4, + "weight": 95 + }, + { + "name": "zombie_villager", + "min_group_size": 1, + "max_group_size": 1, + "weight": 5 + }, + { + "name": "skeleton", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "creeper", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "slime", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "enderman", + "min_group_size": 1, + "max_group_size": 4, + "weight": 10 + }, + { + "name": "witch", + "min_group_size": 1, + "max_group_size": 1, + "weight": 5 + }, + { + "name": "drowned", + "min_group_size": 1, + "max_group_size": 1, + "weight": 5 + } + ], + "creature": [], + "ambient": [ + { + "name": "bat", + "min_group_size": 8, + "max_group_size": 8, + "weight": 10 + } + ], + "axolotls": [], + "underground_water_creature": [ + { + "name": "glow_squid", + "min_group_size": 4, + "max_group_size": 6, + "weight": 10 + } + ], + "water_creature": [ + { + "name": "squid", + "min_group_size": 1, + "max_group_size": 4, + "weight": 8 + }, + { + "name": "dolphin", + "min_group_size": 1, + "max_group_size": 2, + "weight": 2 + } + ], + "water_ambient": [ + { + "name": "cod", + "min_group_size": 3, + "max_group_size": 6, + "weight": 8 + }, + { + "name": "pufferfish", + "min_group_size": 1, + "max_group_size": 3, + "weight": 5 + }, + { + "name": "tropical_fish", + "min_group_size": 8, + "max_group_size": 8, + "weight": 25 + } + ], + "misc": [] + } + } + }, + { + "name": "ocean", + "id": 43, + "climate": { + "precipitation": "rain", + "temperature": 0.5, + "downfall": 0.5 + }, + "color": { + "grass": null, + "grass_modifier": "none", + "foliage": null, + "fog": 12638463, + "sky": 8103167, + "water_fog": 329011, + "water": 4159204 + }, + "spawn_settings": { + "probability": 0.1, + "groups": { + "monster": [ + { + "name": "spider", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "zombie", + "min_group_size": 4, + "max_group_size": 4, + "weight": 95 + }, + { + "name": "zombie_villager", + "min_group_size": 1, + "max_group_size": 1, + "weight": 5 + }, + { + "name": "skeleton", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "creeper", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "slime", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "enderman", + "min_group_size": 1, + "max_group_size": 4, + "weight": 10 + }, + { + "name": "witch", + "min_group_size": 1, + "max_group_size": 1, + "weight": 5 + }, + { + "name": "drowned", + "min_group_size": 1, + "max_group_size": 1, + "weight": 5 + } + ], + "creature": [], + "ambient": [ + { + "name": "bat", + "min_group_size": 8, + "max_group_size": 8, + "weight": 10 + } + ], + "axolotls": [], + "underground_water_creature": [ + { + "name": "glow_squid", + "min_group_size": 4, + "max_group_size": 6, + "weight": 10 + } + ], + "water_creature": [ + { + "name": "squid", + "min_group_size": 1, + "max_group_size": 4, + "weight": 1 + }, + { + "name": "dolphin", + "min_group_size": 1, + "max_group_size": 2, + "weight": 1 + } + ], + "water_ambient": [ + { + "name": "cod", + "min_group_size": 3, + "max_group_size": 6, + "weight": 10 + } + ], + "misc": [] + } + } + }, + { + "name": "deep_ocean", + "id": 44, + "climate": { + "precipitation": "rain", + "temperature": 0.5, + "downfall": 0.5 + }, + "color": { + "grass": null, + "grass_modifier": "none", + "foliage": null, + "fog": 12638463, + "sky": 8103167, + "water_fog": 329011, + "water": 4159204 + }, + "spawn_settings": { + "probability": 0.1, + "groups": { + "monster": [ + { + "name": "spider", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "zombie", + "min_group_size": 4, + "max_group_size": 4, + "weight": 95 + }, + { + "name": "zombie_villager", + "min_group_size": 1, + "max_group_size": 1, + "weight": 5 + }, + { + "name": "skeleton", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "creeper", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "slime", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "enderman", + "min_group_size": 1, + "max_group_size": 4, + "weight": 10 + }, + { + "name": "witch", + "min_group_size": 1, + "max_group_size": 1, + "weight": 5 + }, + { + "name": "drowned", + "min_group_size": 1, + "max_group_size": 1, + "weight": 5 + } + ], + "creature": [], + "ambient": [ + { + "name": "bat", + "min_group_size": 8, + "max_group_size": 8, + "weight": 10 + } + ], + "axolotls": [], + "underground_water_creature": [ + { + "name": "glow_squid", + "min_group_size": 4, + "max_group_size": 6, + "weight": 10 + } + ], + "water_creature": [ + { + "name": "squid", + "min_group_size": 1, + "max_group_size": 4, + "weight": 1 + }, + { + "name": "dolphin", + "min_group_size": 1, + "max_group_size": 2, + "weight": 1 + } + ], + "water_ambient": [ + { + "name": "cod", + "min_group_size": 3, + "max_group_size": 6, + "weight": 10 + } + ], + "misc": [] + } + } + }, + { + "name": "cold_ocean", + "id": 45, + "climate": { + "precipitation": "rain", + "temperature": 0.5, + "downfall": 0.5 + }, + "color": { + "grass": null, + "grass_modifier": "none", + "foliage": null, + "fog": 12638463, + "sky": 8103167, + "water_fog": 329011, + "water": 4020182 + }, + "spawn_settings": { + "probability": 0.1, + "groups": { + "monster": [ + { + "name": "spider", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "zombie", + "min_group_size": 4, + "max_group_size": 4, + "weight": 95 + }, + { + "name": "zombie_villager", + "min_group_size": 1, + "max_group_size": 1, + "weight": 5 + }, + { + "name": "skeleton", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "creeper", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "slime", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "enderman", + "min_group_size": 1, + "max_group_size": 4, + "weight": 10 + }, + { + "name": "witch", + "min_group_size": 1, + "max_group_size": 1, + "weight": 5 + }, + { + "name": "drowned", + "min_group_size": 1, + "max_group_size": 1, + "weight": 5 + } + ], + "creature": [], + "ambient": [ + { + "name": "bat", + "min_group_size": 8, + "max_group_size": 8, + "weight": 10 + } + ], + "axolotls": [], + "underground_water_creature": [ + { + "name": "glow_squid", + "min_group_size": 4, + "max_group_size": 6, + "weight": 10 + } + ], + "water_creature": [ + { + "name": "squid", + "min_group_size": 1, + "max_group_size": 4, + "weight": 3 + } + ], + "water_ambient": [ + { + "name": "cod", + "min_group_size": 3, + "max_group_size": 6, + "weight": 15 + }, + { + "name": "salmon", + "min_group_size": 1, + "max_group_size": 5, + "weight": 15 + } + ], + "misc": [] + } + } + }, + { + "name": "deep_cold_ocean", + "id": 46, + "climate": { + "precipitation": "rain", + "temperature": 0.5, + "downfall": 0.5 + }, + "color": { + "grass": null, + "grass_modifier": "none", + "foliage": null, + "fog": 12638463, + "sky": 8103167, + "water_fog": 329011, + "water": 4020182 + }, + "spawn_settings": { + "probability": 0.1, + "groups": { + "monster": [ + { + "name": "spider", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "zombie", + "min_group_size": 4, + "max_group_size": 4, + "weight": 95 + }, + { + "name": "zombie_villager", + "min_group_size": 1, + "max_group_size": 1, + "weight": 5 + }, + { + "name": "skeleton", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "creeper", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "slime", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "enderman", + "min_group_size": 1, + "max_group_size": 4, + "weight": 10 + }, + { + "name": "witch", + "min_group_size": 1, + "max_group_size": 1, + "weight": 5 + }, + { + "name": "drowned", + "min_group_size": 1, + "max_group_size": 1, + "weight": 5 + } + ], + "creature": [], + "ambient": [ + { + "name": "bat", + "min_group_size": 8, + "max_group_size": 8, + "weight": 10 + } + ], + "axolotls": [], + "underground_water_creature": [ + { + "name": "glow_squid", + "min_group_size": 4, + "max_group_size": 6, + "weight": 10 + } + ], + "water_creature": [ + { + "name": "squid", + "min_group_size": 1, + "max_group_size": 4, + "weight": 3 + } + ], + "water_ambient": [ + { + "name": "cod", + "min_group_size": 3, + "max_group_size": 6, + "weight": 15 + }, + { + "name": "salmon", + "min_group_size": 1, + "max_group_size": 5, + "weight": 15 + } + ], + "misc": [] + } + } + }, + { + "name": "frozen_ocean", + "id": 47, + "climate": { + "precipitation": "snow", + "temperature": 0.0, + "downfall": 0.5 + }, + "color": { + "grass": null, + "grass_modifier": "none", + "foliage": null, + "fog": 12638463, + "sky": 8364543, + "water_fog": 329011, + "water": 3750089 + }, + "spawn_settings": { + "probability": 0.1, + "groups": { + "monster": [ + { + "name": "spider", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "zombie", + "min_group_size": 4, + "max_group_size": 4, + "weight": 95 + }, + { + "name": "zombie_villager", + "min_group_size": 1, + "max_group_size": 1, + "weight": 5 + }, + { + "name": "skeleton", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "creeper", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "slime", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "enderman", + "min_group_size": 1, + "max_group_size": 4, + "weight": 10 + }, + { + "name": "witch", + "min_group_size": 1, + "max_group_size": 1, + "weight": 5 + }, + { + "name": "drowned", + "min_group_size": 1, + "max_group_size": 1, + "weight": 5 + } + ], + "creature": [ + { + "name": "polar_bear", + "min_group_size": 1, + "max_group_size": 2, + "weight": 1 + } + ], + "ambient": [ + { + "name": "bat", + "min_group_size": 8, + "max_group_size": 8, + "weight": 10 + } + ], + "axolotls": [], + "underground_water_creature": [ + { + "name": "glow_squid", + "min_group_size": 4, + "max_group_size": 6, + "weight": 10 + } + ], + "water_creature": [ + { + "name": "squid", + "min_group_size": 1, + "max_group_size": 4, + "weight": 1 + } + ], + "water_ambient": [ + { + "name": "salmon", + "min_group_size": 1, + "max_group_size": 5, + "weight": 15 + } + ], + "misc": [] + } + } + }, + { + "name": "deep_frozen_ocean", + "id": 48, + "climate": { + "precipitation": "rain", + "temperature": 0.5, + "downfall": 0.5 + }, + "color": { + "grass": null, + "grass_modifier": "none", + "foliage": null, + "fog": 12638463, + "sky": 8103167, + "water_fog": 329011, + "water": 3750089 + }, + "spawn_settings": { + "probability": 0.1, + "groups": { + "monster": [ + { + "name": "spider", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "zombie", + "min_group_size": 4, + "max_group_size": 4, + "weight": 95 + }, + { + "name": "zombie_villager", + "min_group_size": 1, + "max_group_size": 1, + "weight": 5 + }, + { + "name": "skeleton", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "creeper", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "slime", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "enderman", + "min_group_size": 1, + "max_group_size": 4, + "weight": 10 + }, + { + "name": "witch", + "min_group_size": 1, + "max_group_size": 1, + "weight": 5 + }, + { + "name": "drowned", + "min_group_size": 1, + "max_group_size": 1, + "weight": 5 + } + ], + "creature": [ + { + "name": "polar_bear", + "min_group_size": 1, + "max_group_size": 2, + "weight": 1 + } + ], + "ambient": [ + { + "name": "bat", + "min_group_size": 8, + "max_group_size": 8, + "weight": 10 + } + ], + "axolotls": [], + "underground_water_creature": [ + { + "name": "glow_squid", + "min_group_size": 4, + "max_group_size": 6, + "weight": 10 + } + ], + "water_creature": [ + { + "name": "squid", + "min_group_size": 1, + "max_group_size": 4, + "weight": 1 + } + ], + "water_ambient": [ + { + "name": "salmon", + "min_group_size": 1, + "max_group_size": 5, + "weight": 15 + } + ], + "misc": [] + } + } + }, + { + "name": "mushroom_fields", + "id": 49, + "climate": { + "precipitation": "rain", + "temperature": 0.9, + "downfall": 1.0 + }, + "color": { + "grass": null, + "grass_modifier": "none", + "foliage": null, + "fog": 12638463, + "sky": 7842047, + "water_fog": 329011, + "water": 4159204 + }, + "spawn_settings": { + "probability": 0.1, + "groups": { + "monster": [], + "creature": [ + { + "name": "mooshroom", + "min_group_size": 4, + "max_group_size": 8, + "weight": 8 + } + ], + "ambient": [ + { + "name": "bat", + "min_group_size": 8, + "max_group_size": 8, + "weight": 10 + } + ], + "axolotls": [], + "underground_water_creature": [ + { + "name": "glow_squid", + "min_group_size": 4, + "max_group_size": 6, + "weight": 10 + } + ], + "water_creature": [], + "water_ambient": [], + "misc": [] + } + } + }, + { + "name": "dripstone_caves", + "id": 50, + "climate": { + "precipitation": "rain", + "temperature": 0.8, + "downfall": 0.4 + }, + "color": { + "grass": null, + "grass_modifier": "none", + "foliage": null, + "fog": 12638463, + "sky": 7907327, + "water_fog": 329011, + "water": 4159204 + }, + "spawn_settings": { + "probability": 0.1, + "groups": { + "monster": [ + { + "name": "spider", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "zombie", + "min_group_size": 4, + "max_group_size": 4, + "weight": 95 + }, + { + "name": "zombie_villager", + "min_group_size": 1, + "max_group_size": 1, + "weight": 5 + }, + { + "name": "skeleton", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "creeper", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "slime", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "enderman", + "min_group_size": 1, + "max_group_size": 4, + "weight": 10 + }, + { + "name": "witch", + "min_group_size": 1, + "max_group_size": 1, + "weight": 5 + }, + { + "name": "drowned", + "min_group_size": 4, + "max_group_size": 4, + "weight": 95 + } + ], + "creature": [], + "ambient": [ + { + "name": "bat", + "min_group_size": 8, + "max_group_size": 8, + "weight": 10 + } + ], + "axolotls": [], + "underground_water_creature": [ + { + "name": "glow_squid", + "min_group_size": 4, + "max_group_size": 6, + "weight": 10 + } + ], + "water_creature": [], + "water_ambient": [], + "misc": [] + } + } + }, + { + "name": "lush_caves", + "id": 51, + "climate": { + "precipitation": "rain", + "temperature": 0.5, + "downfall": 0.5 + }, + "color": { + "grass": null, + "grass_modifier": "none", + "foliage": null, + "fog": 12638463, + "sky": 8103167, + "water_fog": 329011, + "water": 4159204 + }, + "spawn_settings": { + "probability": 0.1, + "groups": { + "monster": [ + { + "name": "spider", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "zombie", + "min_group_size": 4, + "max_group_size": 4, + "weight": 95 + }, + { + "name": "zombie_villager", + "min_group_size": 1, + "max_group_size": 1, + "weight": 5 + }, + { + "name": "skeleton", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "creeper", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "slime", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "enderman", + "min_group_size": 1, + "max_group_size": 4, + "weight": 10 + }, + { + "name": "witch", + "min_group_size": 1, + "max_group_size": 1, + "weight": 5 + } + ], + "creature": [], + "ambient": [ + { + "name": "bat", + "min_group_size": 8, + "max_group_size": 8, + "weight": 10 + } + ], + "axolotls": [ + { + "name": "axolotl", + "min_group_size": 4, + "max_group_size": 6, + "weight": 10 + } + ], + "underground_water_creature": [ + { + "name": "glow_squid", + "min_group_size": 4, + "max_group_size": 6, + "weight": 10 + } + ], + "water_creature": [], + "water_ambient": [ + { + "name": "tropical_fish", + "min_group_size": 8, + "max_group_size": 8, + "weight": 25 + } + ], + "misc": [] + } + } + }, + { + "name": "deep_dark", + "id": 52, + "climate": { + "precipitation": "rain", + "temperature": 0.8, + "downfall": 0.4 + }, + "color": { + "grass": null, + "grass_modifier": "none", + "foliage": null, + "fog": 12638463, + "sky": 7907327, + "water_fog": 329011, + "water": 4159204 + }, + "spawn_settings": { + "probability": 0.1, + "groups": { + "monster": [], + "creature": [], + "ambient": [], + "axolotls": [], + "underground_water_creature": [], + "water_creature": [], + "water_ambient": [], + "misc": [] + } + } + }, + { + "name": "nether_wastes", + "id": 53, + "climate": { + "precipitation": "none", + "temperature": 2.0, + "downfall": 0.0 + }, + "color": { + "grass": null, + "grass_modifier": "none", + "foliage": null, + "fog": 3344392, + "sky": 7254527, + "water_fog": 329011, + "water": 4159204 + }, + "spawn_settings": { + "probability": 0.1, + "groups": { + "monster": [ + { + "name": "ghast", + "min_group_size": 4, + "max_group_size": 4, + "weight": 50 + }, + { + "name": "zombified_piglin", + "min_group_size": 4, + "max_group_size": 4, + "weight": 100 + }, + { + "name": "magma_cube", + "min_group_size": 4, + "max_group_size": 4, + "weight": 2 + }, + { + "name": "enderman", + "min_group_size": 4, + "max_group_size": 4, + "weight": 1 + }, + { + "name": "piglin", + "min_group_size": 4, + "max_group_size": 4, + "weight": 15 + } + ], + "creature": [ + { + "name": "strider", + "min_group_size": 1, + "max_group_size": 2, + "weight": 60 + } + ], + "ambient": [], + "axolotls": [], + "underground_water_creature": [], + "water_creature": [], + "water_ambient": [], + "misc": [] + } + } + }, + { + "name": "warped_forest", + "id": 54, + "climate": { + "precipitation": "none", + "temperature": 2.0, + "downfall": 0.0 + }, + "color": { + "grass": null, + "grass_modifier": "none", + "foliage": null, + "fog": 1705242, + "sky": 7254527, + "water_fog": 329011, + "water": 4159204 + }, + "spawn_settings": { + "probability": 0.1, + "groups": { + "monster": [ + { + "name": "enderman", + "min_group_size": 4, + "max_group_size": 4, + "weight": 1 + } + ], + "creature": [ + { + "name": "strider", + "min_group_size": 1, + "max_group_size": 2, + "weight": 60 + } + ], + "ambient": [], + "axolotls": [], + "underground_water_creature": [], + "water_creature": [], + "water_ambient": [], + "misc": [] + } + } + }, + { + "name": "crimson_forest", + "id": 55, + "climate": { + "precipitation": "none", + "temperature": 2.0, + "downfall": 0.0 + }, + "color": { + "grass": null, + "grass_modifier": "none", + "foliage": null, + "fog": 3343107, + "sky": 7254527, + "water_fog": 329011, + "water": 4159204 + }, + "spawn_settings": { + "probability": 0.1, + "groups": { + "monster": [ + { + "name": "zombified_piglin", + "min_group_size": 2, + "max_group_size": 4, + "weight": 1 + }, + { + "name": "hoglin", + "min_group_size": 3, + "max_group_size": 4, + "weight": 9 + }, + { + "name": "piglin", + "min_group_size": 3, + "max_group_size": 4, + "weight": 5 + } + ], + "creature": [ + { + "name": "strider", + "min_group_size": 1, + "max_group_size": 2, + "weight": 60 + } + ], + "ambient": [], + "axolotls": [], + "underground_water_creature": [], + "water_creature": [], + "water_ambient": [], + "misc": [] + } + } + }, + { + "name": "soul_sand_valley", + "id": 56, + "climate": { + "precipitation": "none", + "temperature": 2.0, + "downfall": 0.0 + }, + "color": { + "grass": null, + "grass_modifier": "none", + "foliage": null, + "fog": 1787717, + "sky": 7254527, + "water_fog": 329011, + "water": 4159204 + }, + "spawn_settings": { + "probability": 0.1, + "groups": { + "monster": [ + { + "name": "skeleton", + "min_group_size": 5, + "max_group_size": 5, + "weight": 20 + }, + { + "name": "ghast", + "min_group_size": 4, + "max_group_size": 4, + "weight": 50 + }, + { + "name": "enderman", + "min_group_size": 4, + "max_group_size": 4, + "weight": 1 + } + ], + "creature": [ + { + "name": "strider", + "min_group_size": 1, + "max_group_size": 2, + "weight": 60 + } + ], + "ambient": [], + "axolotls": [], + "underground_water_creature": [], + "water_creature": [], + "water_ambient": [], + "misc": [] + } + } + }, + { + "name": "basalt_deltas", + "id": 57, + "climate": { + "precipitation": "none", + "temperature": 2.0, + "downfall": 0.0 + }, + "color": { + "grass": null, + "grass_modifier": "none", + "foliage": null, + "fog": 6840176, + "sky": 7254527, + "water_fog": 329011, + "water": 4159204 + }, + "spawn_settings": { + "probability": 0.1, + "groups": { + "monster": [ + { + "name": "ghast", + "min_group_size": 1, + "max_group_size": 1, + "weight": 40 + }, + { + "name": "magma_cube", + "min_group_size": 2, + "max_group_size": 5, + "weight": 100 + } + ], + "creature": [ + { + "name": "strider", + "min_group_size": 1, + "max_group_size": 2, + "weight": 60 + } + ], + "ambient": [], + "axolotls": [], + "underground_water_creature": [], + "water_creature": [], + "water_ambient": [], + "misc": [] + } + } + }, + { + "name": "the_end", + "id": 58, + "climate": { + "precipitation": "none", + "temperature": 0.5, + "downfall": 0.5 + }, + "color": { + "grass": null, + "grass_modifier": "none", + "foliage": null, + "fog": 10518688, + "sky": 0, + "water_fog": 329011, + "water": 4159204 + }, + "spawn_settings": { + "probability": 0.1, + "groups": { + "monster": [ + { + "name": "enderman", + "min_group_size": 4, + "max_group_size": 4, + "weight": 10 + } + ], + "creature": [], + "ambient": [], + "axolotls": [], + "underground_water_creature": [], + "water_creature": [], + "water_ambient": [], + "misc": [] + } + } + }, + { + "name": "end_highlands", + "id": 59, + "climate": { + "precipitation": "none", + "temperature": 0.5, + "downfall": 0.5 + }, + "color": { + "grass": null, + "grass_modifier": "none", + "foliage": null, + "fog": 10518688, + "sky": 0, + "water_fog": 329011, + "water": 4159204 + }, + "spawn_settings": { + "probability": 0.1, + "groups": { + "monster": [ + { + "name": "enderman", + "min_group_size": 4, + "max_group_size": 4, + "weight": 10 + } + ], + "creature": [], + "ambient": [], + "axolotls": [], + "underground_water_creature": [], + "water_creature": [], + "water_ambient": [], + "misc": [] + } + } + }, + { + "name": "end_midlands", + "id": 60, + "climate": { + "precipitation": "none", + "temperature": 0.5, + "downfall": 0.5 + }, + "color": { + "grass": null, + "grass_modifier": "none", + "foliage": null, + "fog": 10518688, + "sky": 0, + "water_fog": 329011, + "water": 4159204 + }, + "spawn_settings": { + "probability": 0.1, + "groups": { + "monster": [ + { + "name": "enderman", + "min_group_size": 4, + "max_group_size": 4, + "weight": 10 + } + ], + "creature": [], + "ambient": [], + "axolotls": [], + "underground_water_creature": [], + "water_creature": [], + "water_ambient": [], + "misc": [] + } + } + }, + { + "name": "small_end_islands", + "id": 61, + "climate": { + "precipitation": "none", + "temperature": 0.5, + "downfall": 0.5 + }, + "color": { + "grass": null, + "grass_modifier": "none", + "foliage": null, + "fog": 10518688, + "sky": 0, + "water_fog": 329011, + "water": 4159204 + }, + "spawn_settings": { + "probability": 0.1, + "groups": { + "monster": [ + { + "name": "enderman", + "min_group_size": 4, + "max_group_size": 4, + "weight": 10 + } + ], + "creature": [], + "ambient": [], + "axolotls": [], + "underground_water_creature": [], + "water_creature": [], + "water_ambient": [], + "misc": [] + } + } + }, + { + "name": "end_barrens", + "id": 62, + "climate": { + "precipitation": "none", + "temperature": 0.5, + "downfall": 0.5 + }, + "color": { + "grass": null, + "grass_modifier": "none", + "foliage": null, + "fog": 10518688, + "sky": 0, + "water_fog": 329011, + "water": 4159204 + }, + "spawn_settings": { + "probability": 0.1, + "groups": { + "monster": [ + { + "name": "enderman", + "min_group_size": 4, + "max_group_size": 4, + "weight": 10 + } + ], + "creature": [], + "ambient": [], + "axolotls": [], + "underground_water_creature": [], + "water_creature": [], + "water_ambient": [], + "misc": [] + } + } + } +] \ No newline at end of file diff --git a/extractor/src/main/java/rs/valence/extractor/Main.java b/extractor/src/main/java/rs/valence/extractor/Main.java index 4990c4d9a..97f52f1ea 100644 --- a/extractor/src/main/java/rs/valence/extractor/Main.java +++ b/extractor/src/main/java/rs/valence/extractor/Main.java @@ -37,7 +37,7 @@ public static T magicallyInstantiate(Class clazz) { public void onInitialize() { LOGGER.info("Starting extractors..."); - var extractors = new Extractor[]{new Blocks(), new Entities(), new EntityData(), new Packets(), new Items(), new Enchants()}; + var extractors = new Extractor[]{new Blocks(), new Entities(), new EntityData(), new Packets(), new Items(), new Enchants(), new Biomes()}; Path outputDirectory; try { diff --git a/extractor/src/main/java/rs/valence/extractor/extractors/Biomes.java b/extractor/src/main/java/rs/valence/extractor/extractors/Biomes.java new file mode 100644 index 000000000..c078e08e2 --- /dev/null +++ b/extractor/src/main/java/rs/valence/extractor/extractors/Biomes.java @@ -0,0 +1,96 @@ +package rs.valence.extractor.extractors; + +import com.google.gson.*; +import net.minecraft.entity.SpawnGroup; +import net.minecraft.util.collection.Weighted; +import net.minecraft.util.registry.BuiltinRegistries; +import net.minecraft.util.registry.Registry; +import rs.valence.extractor.Main; + +import java.util.Optional; + +public class Biomes implements Main.Extractor { + public Biomes() { + } + + @SuppressWarnings("OptionalUsedAsFieldOrParameterType") + private static JsonElement optional_to_json(Optional var) { + if (var.isEmpty()) { + return JsonNull.INSTANCE; + } else { + var value = var.get(); + if (value instanceof Boolean b) { + return new JsonPrimitive(b); + } else if (value instanceof Integer i) { + return new JsonPrimitive(i); + } else if (value instanceof Float f) { + return new JsonPrimitive(f); + } else if (value instanceof Long l) { + return new JsonPrimitive(l); + } else if (value instanceof Number n) { + return new JsonPrimitive(n); + } else { + throw new UnsupportedOperationException("Could not convert " + value + " to primitive (" + value.getClass().toString() + ")"); + } + } + } + + @Override + public String fileName() { + return "biomes.json"; + } + + @Override + public JsonElement extract() { + var biomesJson = new JsonArray(); + + for (var biome : BuiltinRegistries.BIOME) { + var biomeIdent = BuiltinRegistries.BIOME.getId(biome); + + var climateJson = new JsonObject(); + climateJson.addProperty("precipitation", biome.getPrecipitation().getName()); + climateJson.addProperty("temperature", biome.getTemperature()); + climateJson.addProperty("downfall", biome.getDownfall()); + + var colorJson = new JsonObject(); + var biomeEffects = biome.getEffects(); + colorJson.add("grass", optional_to_json(biomeEffects.getGrassColor())); + colorJson.addProperty("grass_modifier", biomeEffects.getGrassColorModifier().getName()); + colorJson.add("foliage", optional_to_json(biomeEffects.getFoliageColor())); + colorJson.addProperty("fog", biomeEffects.getFogColor()); + colorJson.addProperty("sky", biomeEffects.getSkyColor()); + colorJson.addProperty("water_fog", biomeEffects.getWaterFogColor()); + colorJson.addProperty("water", biomeEffects.getWaterColor()); + + var spawnSettingsJson = new JsonObject(); + var spawnSettings = biome.getSpawnSettings(); + spawnSettingsJson.addProperty("probability", spawnSettings.getCreatureSpawnProbability()); + + var spawnGroupsJson = new JsonObject(); + for (var spawnGroup : SpawnGroup.values()) { + var spawnGroupJson = new JsonArray(); + for (var entry : spawnSettings.getSpawnEntries(spawnGroup).getEntries()) { + var groupEntryJson = new JsonObject(); + groupEntryJson.addProperty("name", Registry.ENTITY_TYPE.getId(entry.type).getPath()); + groupEntryJson.addProperty("min_group_size", entry.minGroupSize); + groupEntryJson.addProperty("max_group_size", entry.maxGroupSize); + groupEntryJson.addProperty("weight", ((Weighted) entry).getWeight().getValue()); + spawnGroupJson.add(groupEntryJson); + } + spawnGroupsJson.add(spawnGroup.getName(), spawnGroupJson); + } + spawnSettingsJson.add("groups", spawnGroupsJson); + + var biomeJson = new JsonObject(); + biomeJson.addProperty("name", biomeIdent.getPath()); + biomeJson.addProperty("id", BuiltinRegistries.BIOME.getRawId(biome)); + biomeJson.add("climate", climateJson); + biomeJson.add("color", colorJson); + biomeJson.add("spawn_settings", spawnSettingsJson); + + biomesJson.add(biomeJson); + } + + return biomesJson; + } +} diff --git a/src/biome.rs b/src/biome.rs index 8be59a5be..3923f4051 100644 --- a/src/biome.rs +++ b/src/biome.rs @@ -8,6 +8,16 @@ use valence_nbt::{compound, Compound}; use crate::ident; use crate::ident::Ident; +pub mod default { + //! Contains data for the default Minecraft biomes. + //! + //! All biome variants are located in [`BiomeKind`]. You can use the + //! associated const functions of [`BiomeKind`] to access details about a + //! biome type. + + include!(concat!(env!("OUT_DIR"), "/biome.rs")); +} + /// Identifies a particular [`Biome`] on the server. /// /// The default biome ID refers to the first biome added in the server's