API reference Obsidian.API.Registry.Codecs.Biomes
BiomeElement record
The parts of a 26.3 biome the server uses. Vanilla's entries are generated with their climate and effects; plugins' are read whole from their data files. Server rules retain the full environment map; clients receive only its synced attributes.
public sealed record BiomeElement : IEquatable<BiomeElement>
In Obsidian.API.
Constructors
public BiomeElement();Properties
Carvers
public ImmutableArray<string> Carvers { get; set; }The configured carvers: identifiers, or a single #tag. Empty for vanilla's entries.
CreatureSpawnProbability
public float CreatureSpawnProbability { get; set; }The chance of each further group of creatures spawning when a chunk generates, like vanilla's gameplay/creature_world_gen_spawn_probability attribute.
public float Downfall { get; set; }public required BiomeEffect Effects { get; set; }Features
public ImmutableArray<ImmutableArray<string>> Features { get; set; }The placed features of each generation step: identifiers, placed features defined inline as their JSON text (starting with {), or a single #tag. Empty for vanilla's entries, whose generation is built in.
public required bool HasPrecipitation { get; set; }SpawnCosts
public Dictionary<string, SpawnCost> SpawnCosts { get; set; }The spawn costs by entity type identifier. Empty for vanilla's entries.
Spawners
public Dictionary<string, SpawnerMob[]> Spawners { get; set; }The mobs that spawn, by category like monster. Empty for vanilla's entries, which the mob spawner reads from vanilla's data.
public float Temperature { get; set; }TemperatureModifier
public string TemperatureModifier { get; set; }frozen, or none or null for none.