Spawn Predicate
Bee spawn biome modifiers may include an optional spawnPredicate using Minecraft's LocationPredicate codec.
All known top-level fields are optional.
position
Position predicate
No
—
Optional x/y/z bounds.
biomes
Biome holder set
No
—
Additional biome constraint.
structures
Structure holder set
No
—
Structure membership constraint.
dimension
dimension identifier
No
—
Example: minecraft:overworld.
smokey
boolean
No
—
Matches smokey locations.
light
Light predicate
No
—
Constrains light level.
block
Block predicate
No
—
Constrains block at the tested location.
fluid
Fluid predicate
No
—
Constrains fluid at the tested location.
can_see_sky
boolean
No
—
Constrains sky visibility.
Position predicate
x, y, and z each use MinMaxBounds.Doubles and are optional.
A bound can be an exact number:
{
"position": {
"y": 64
}
}or an object:
The codec rejects min > max.
Light predicate
light.light uses integer min/max bounds.
Block predicate
Known fields include:
blocks
Block holder set
No
state
block-state predicate object
No
nbt
NBT predicate
No
Minecraft data-component matcher fields are flattened into the same block predicate object. Those internals remain intentionally permissive in the schema because their complete codec definitions were not supplied.
Fluid predicate
Known fields are:
fluids
Fluid holder set
No
state
fluid-state predicate object
No
Full example
Last updated
Was this helpful?