Spawn condition

Helpers that build a minecraft:spawn_condition object, one for each of its types. Where a field takes one, write the helper's call; its name is the type it makes. Click a type to see what it accepts.

Biome

Biome
Biome(biomes)
biomes
biome id | #biome tag | list of biome ids

Checks if the entity is spawning in specific biomes.

MoonBrightness

MoonBrightness
MoonBrightness(range)
range
MinMaxBounds of number

Checks if the current moon brightness is within a certain range.

Structure

Structure
Structure(structures)
structures
structure id | #structure tag | list of structure ids

Checks if the entity is spawning in specific structures.