본문으로 건너뛰기

스폰 규칙 레퍼런스 (4/5)

MS Learn(MicrosoftDocs/minecraft-creator a9fd1c0, CC BY 4.0)의 레퍼런스를 발췌한 쪽이다. 원문의 상대 링크는 제거했다.

(출처: ms-learn, creator/Reference/Content/SpawnRulesReference/Examples/SpawnRulesComponents/spawn_rules.md)

Spawn Rules Documentation - minecraft:spawn_rules​

Defines the complete spawn rules for an entity type, including population control group, spawn conditions (biome, light, difficulty, etc.), and herd configuration. This is the root structure of a spawn_rules JSON file in behavior packs.

Spawn Rules Properties​

NameDefault ValueTypeDescription
conditions[]Array of Conditions itemsArray of spawn condition objects that define when and how this entity spawns.
descriptionnot setDescription item
Spawn Biome Conditions​

Defines the conditions under which an entity can spawn, including biome filters, brightness, height, and herd settings.

Spawn Biome Conditions Properties​

JSON path: conditions

NameDefault ValueTypeDescription
minecraft:biome_filter (Biome Filter){"AND":null,"NOT":null,"OR":null,"all":null,"all_of":null,"any":null,"any_of":null,"none_of":null}Biome Filter itemFilters allow data objects to specify test criteria which allows their use.
minecraft:biome_filter (as Array of objects)not setArray of objectsArray of filter objects.
minecraft:brightness_filternot setBrightness Filter itemRestricts spawning based on light level. Hostile mobs typically spawn in darkness (0-7), passive mobs in brighter areas.
minecraft:delay_filternot setDelay Filter itemDelays entity spawning by a configurable time after conditions are met. Useful for cooldowns after mob deaths.
minecraft:density_limitnot setDensity Limit itemLimits how many of this entity can exist in an area, with separate caps for surface and underground. Set -1 for unlimited.
minecraft:difficulty_filternot setDifficulty Filter itemRestricts spawning to specific difficulty levels (Peaceful, Easy, Normal, Hard).
minecraft:disallow_spawns_in_bubblenot setObjectPrevents spawning inside bubble columns.
minecraft:distance_filternot setDistance Filter itemControls spawning based on distance from the nearest player. Mobs typically spawn 24-128 blocks from players.
minecraft:height_filternot setHeight Filter itemRestricts spawning to specific Y-coordinate ranges. Useful for depth-based mob distribution.
minecraft:herd[]ObjectSpecifies herd spawning configuration. Can be a single herd object or an array of herd objects.
minecraft:herd (as Array of objects)not setArray of objectsArray of herd configurations.
minecraft:is_experimentalnot setObjectMarks this spawn rule as experimental. Only active when the corresponding experiment toggle is enabled.
minecraft:is_persistentnot setObjectWhen enabled, spawned entities will not despawn naturally. Used for mobs like villagers.
minecraft:mob_event_filternot setMob Event Filter itemControls spawning based on whether a specific mob event (like raids or wandering traders) is active.
minecraft:permute_type[]ObjectSpecifies permutation types for spawning. Can be a single object or an array of permutation objects.
minecraft:permute_type (as Array of objects)not setArray of objectsArray of permutation configurations.
minecraft:player_in_village_filternot setPlayer In Village Filter itemRestricts spawning to when a player is near a village. Used for iron golems, cats, and raid mobs.
minecraft:spawn_event{"event":""}Spawn Event itemTriggers a specific entity event when the mob spawns. Commonly used to initialize entity behavior.
minecraft:spawns_above_block_filter{"blocks":[],"distance":1}Spawns Above Block Filter itemFilters spawning based on blocks above the spawn point.
minecraft:spawns_lavanot setObjectIndicates the entity can spawn in lava.
minecraft:spawns_on_block_filter[]Array of objectsSpecifies blocks on which this entity can spawn. Can be a single block name string, an array of block objects with name property, or an array of strings representing block names.
minecraft:spawns_on_block_filter (as String)not setStringA single block name string
minecraft:spawns_on_block_filter (as Array of strings)not setArray of stringsAn array of block name strings
minecraft:spawns_on_block_prevented_filter[]Array of stringsSpecifies blocks on which this entity cannot spawn. Can be an array of block name strings.
minecraft:spawns_on_surfacenot setObjectWhen enabled, this entity can spawn on the world surface.
minecraft:spawns_undergroundnot setObjectWhen enabled, this entity can spawn underground (below the surface).
minecraft:spawns_underwaternot setObjectWhen enabled, this entity can spawn in water.
minecraft:weightnot setWeight itemRelative spawn probability compared to other entities in the same biome. Higher values = more frequent spawns. 100 is typical for common mobs.
minecraft:world_age_filternot setWorld Age Filter itemRestricts spawning based on world age (in ticks). Useful for progressive difficulty where certain mobs appear later.

minecraft:biome_filter​

Filters allow data objects to specify test criteria which allows their use. Filters can be defined by a single object of type (Filter Test), an array of tests, collection groups, or a combination of these objects. This uses the Minecraft filter dataType (20) which properly handles the complex filter structure including string operators and values.

Biome Filter​

Biome Filter Properties​

JSON path: conditions > minecraft:biome_filter

NameDefault ValueTypeDescription
all_ofnot setArray of objectsAll of these tests must pass.
any_ofnot setArray of objectsAny of these tests must pass.
domainnot setStringThe domain the test should be performed in.
none_ofnot setArray of objectsNone of these tests must pass.
operatornot setStringThe comparison to apply with 'value'.
subjectnot setStringThe subject of this filter test.
testnot setStringThe name of the test to apply.
valuenot setInteger numberThe value being compared with the test.

Spawn BrightnessFilter​

Restricts mob spawning based on light level at the spawn location. Hostile mobs typically spawn in darkness (light level 0-7), while passive mobs spawn in brighter areas. Allows setting min/max brightness thresholds and whether to adjust for spawning on a block surface.

Spawn BrightnessFilter Properties​

JSON path: conditions > minecraft:brightness_filter

NameDefault ValueTypeDescription
adjust_for_weatherfalseBoolean true/falseWhen true, brightness is adjusted for the current weather (rain/thunder reduce light levels).
max15Integer numberMaximum light level (0-15) at which this entity can spawn. Value must be <= 15.
min0Integer numberMinimum light level (0-15) at which this entity can spawn. Value must be <= 15.

Delay Filter​

Delays entity spawning by a configurable amount of time after spawn conditions are met. Useful for preventing immediate respawning after mob deaths or creating spawn cooldowns for rare creatures.

Delay Filter Properties​

JSON path: conditions > minecraft:delay_filter

NameDefault ValueTypeDescription
identifierString
max0Integer number
min0Integer number
spawn_chance100Integer number

Density Limit​

Limits how many of this entity type can exist in an area, with separate caps for surface and underground spawning. This prevents overpopulation and controls mob density for performance and gameplay balance.

Density Limit Properties​

JSON path: conditions > minecraft:density_limit

NameDefault ValueTypeDescription
surface-1Integer number
underground-1Integer number

Difficulty Filter​

Restricts mob spawning to specific difficulty levels (Peaceful, Easy, Normal, Hard). For example, hostile mobs don't spawn on Peaceful, and some dangerous variants only appear on Hard difficulty.

Difficulty Filter Properties​

JSON path: conditions > minecraft:difficulty_filter

NameDefault ValueTypeDescription
maxhardMax choices
minpeacefulMin choices
Max choices​
ValueTitleDescription
easyEasy
hardHard
normalNormal
peacefulPeaceful

Distance Filter​

Controls spawning based on distance from the nearest player. Mobs typically spawn within a certain radius around players (24-128 blocks) and despawn when players move too far away.

Distance Filter Properties​

JSON path: conditions > minecraft:distance_filter

NameDefault ValueTypeDescription
max128Integer number
min24Integer number

Height Filter​

Same structure as Distance Filter.

Mob Event Filter​

Controls spawning based on whether a specific mob event is active. Mob events are world-level toggles (like raids or wandering traders) that can enable or disable certain spawn behaviors.

Mob Event Filter Properties​

JSON path: conditions > minecraft:mob_event_filter

NameDefault ValueTypeDescription
eventString

Player In Village Filter​

Restricts spawning based on whether a player is within village boundaries. Used for village-specific spawns like iron golems, cats, and raid mobs that should only appear when players are near villages.

Player In Village Filter Properties​

JSON path: conditions > minecraft:player_in_village_filter

NameDefault ValueTypeDescription
distancenot setInteger number
village_border_tolerance10Integer number

Spawns Above Block Filter​

Filters spawning based on blocks above the spawn location. This component appears to have been deprecated or changed in versions after 1.17.20.

[!Note] This spawn condition was used in versions 1.17.20 and earlier but appears to have been removed or replaced in newer versions.

[!Note] This item no longer works after format versions of at least 1.18.0.

Spawns Above Block Filter Properties​

JSON path: conditions > minecraft:spawns_above_block_filter

NameDefault ValueTypeDescription
blocks[]Object
distance1Integer number

Spawn Weight​

Defines the relative probability of this entity spawning compared to other entities in the same biome and spawn pool. Higher weight values mean more frequent spawns. A weight of 100 is typical for common mobs.

Spawn Weight Properties​

JSON path: conditions > minecraft:weight

NameDefault ValueTypeDescription
defaultnot setInteger number
rarity0Integer number

World Age Filter​

Same structure as Distance Filter.

Spawn Description​

The description block that identifies which entity these spawn rules apply to, via the entity identifier (e.g., 'minecraft:zombie'). Also specifies the population control group for managing spawn caps.

Spawn Description Properties​

JSON path: description

NameDefault ValueTypeDescription
identifiernot setString
population_controlString

(출처: ms-learn, creator/Reference/Content/SpawnRulesReference/Examples/SpawnRulesComponents/spawn_rules_document.md)

Spawn Rules Documentation - minecraft:spawn_rules_document​

A spawn rules definition document for Minecraft Bedrock Edition. This describes the complete JSON file structure including format_version and the minecraft:spawn_rules wrapper.

Spawn Rules Document Properties​

NameDefault ValueTypeDescription
format_versionnot setVersionThe format version of this spawn rules file.
minecraft:spawn_rulesnot setSpawn Rules itemThe spawn rules definition container.
Spawn Rules​

Defines the complete spawn rules for an entity type, including population control group, spawn conditions (biome, light, difficulty, etc.), and herd configuration. This is the root structure of a spawn_rules JSON file in behavior packs.

Spawn Rules Properties​

JSON path: minecraft:spawn_rules

NameDefault ValueTypeDescription
conditions[]Array of Conditions itemsArray of spawn condition objects that define when and how this entity spawns.
descriptionnot setDescription item

Spawn Biome Conditions​

Defines the conditions under which an entity can spawn, including biome filters, brightness, height, and herd settings.

Spawn Biome Conditions Properties​

JSON path: minecraft:spawn_rules > conditions

NameDefault ValueTypeDescription
minecraft:biome_filter (Biome Filter){"AND":null,"NOT":null,"OR":null,"all":null,"all_of":null,"any":null,"any_of":null,"none_of":null}Biome Filter itemFilters allow data objects to specify test criteria which allows their use.
minecraft:biome_filter (as Array of objects)not setArray of objectsArray of filter objects.
minecraft:brightness_filternot setBrightness Filter itemRestricts spawning based on light level. Hostile mobs typically spawn in darkness (0-7), passive mobs in brighter areas.
minecraft:delay_filternot setDelay Filter itemDelays entity spawning by a configurable time after conditions are met. Useful for cooldowns after mob deaths.
minecraft:density_limitnot setDensity Limit itemLimits how many of this entity can exist in an area, with separate caps for surface and underground. Set -1 for unlimited.
minecraft:difficulty_filternot setDifficulty Filter itemRestricts spawning to specific difficulty levels (Peaceful, Easy, Normal, Hard).
minecraft:disallow_spawns_in_bubblenot setObjectPrevents spawning inside bubble columns.
minecraft:distance_filternot setDistance Filter itemControls spawning based on distance from the nearest player. Mobs typically spawn 24-128 blocks from players.
minecraft:height_filternot setHeight Filter itemRestricts spawning to specific Y-coordinate ranges. Useful for depth-based mob distribution.
minecraft:herd[]ObjectSpecifies herd spawning configuration. Can be a single herd object or an array of herd objects.
minecraft:herd (as Array of objects)not setArray of objectsArray of herd configurations.
minecraft:is_experimentalnot setObjectMarks this spawn rule as experimental. Only active when the corresponding experiment toggle is enabled.
minecraft:is_persistentnot setObjectWhen enabled, spawned entities will not despawn naturally. Used for mobs like villagers.
minecraft:mob_event_filternot setMob Event Filter itemControls spawning based on whether a specific mob event (like raids or wandering traders) is active.
minecraft:permute_type[]ObjectSpecifies permutation types for spawning. Can be a single object or an array of permutation objects.
minecraft:permute_type (as Array of objects)not setArray of objectsArray of permutation configurations.
minecraft:player_in_village_filternot setPlayer In Village Filter itemRestricts spawning to when a player is near a village. Used for iron golems, cats, and raid mobs.
minecraft:spawn_event{"event":""}Spawn Event itemTriggers a specific entity event when the mob spawns. Commonly used to initialize entity behavior.
minecraft:spawns_above_block_filter{"blocks":[],"distance":1}Spawns Above Block Filter itemFilters spawning based on blocks above the spawn point.
minecraft:spawns_lavanot setObjectIndicates the entity can spawn in lava.
minecraft:spawns_on_block_filter[]Array of objectsSpecifies blocks on which this entity can spawn. Can be a single block name string, an array of block objects with name property, or an array of strings representing block names.
minecraft:spawns_on_block_filter (as String)not setStringA single block name string
minecraft:spawns_on_block_filter (as Array of strings)not setArray of stringsAn array of block name strings
minecraft:spawns_on_block_prevented_filter[]Array of stringsSpecifies blocks on which this entity cannot spawn. Can be an array of block name strings.
minecraft:spawns_on_surfacenot setObjectWhen enabled, this entity can spawn on the world surface.
minecraft:spawns_undergroundnot setObjectWhen enabled, this entity can spawn underground (below the surface).
minecraft:spawns_underwaternot setObjectWhen enabled, this entity can spawn in water.
minecraft:weightnot setWeight itemRelative spawn probability compared to other entities in the same biome. Higher values = more frequent spawns. 100 is typical for common mobs.
minecraft:world_age_filternot setWorld Age Filter itemRestricts spawning based on world age (in ticks). Useful for progressive difficulty where certain mobs appear later.
minecraft:biome_filter​

Filters allow data objects to specify test criteria which allows their use. Filters can be defined by a single object of type (Filter Test), an array of tests, collection groups, or a combination of these objects. This uses the Minecraft filter dataType (20) which properly handles the complex filter structure including string operators and values.

Biome Filter​
Biome Filter Properties​

JSON path: minecraft:spawn_rules > conditions > minecraft:biome_filter

NameDefault ValueTypeDescription
all_ofnot setArray of objectsAll of these tests must pass.
any_ofnot setArray of objectsAny of these tests must pass.
domainnot setStringThe domain the test should be performed in.
none_ofnot setArray of objectsNone of these tests must pass.
operatornot setStringThe comparison to apply with 'value'.
subjectnot setStringThe subject of this filter test.
testnot setStringThe name of the test to apply.
valuenot setInteger numberThe value being compared with the test.
Spawn BrightnessFilter​

Restricts mob spawning based on light level at the spawn location. Hostile mobs typically spawn in darkness (light level 0-7), while passive mobs spawn in brighter areas. Allows setting min/max brightness thresholds and whether to adjust for spawning on a block surface.

Spawn BrightnessFilter Properties​

JSON path: minecraft:spawn_rules > conditions > minecraft:brightness_filter

NameDefault ValueTypeDescription
adjust_for_weatherfalseBoolean true/falseWhen true, brightness is adjusted for the current weather (rain/thunder reduce light levels).
max15Integer numberMaximum light level (0-15) at which this entity can spawn. Value must be <= 15.
min0Integer numberMinimum light level (0-15) at which this entity can spawn. Value must be <= 15.
Delay Filter​

Delays entity spawning by a configurable amount of time after spawn conditions are met. Useful for preventing immediate respawning after mob deaths or creating spawn cooldowns for rare creatures.

Delay Filter Properties​

JSON path: minecraft:spawn_rules > conditions > minecraft:delay_filter

NameDefault ValueTypeDescription
identifierString
max0Integer number
min0Integer number
spawn_chance100Integer number
Density Limit​

Limits how many of this entity type can exist in an area, with separate caps for surface and underground spawning. This prevents overpopulation and controls mob density for performance and gameplay balance.

Density Limit Properties​

JSON path: minecraft:spawn_rules > conditions > minecraft:density_limit

NameDefault ValueTypeDescription
surface-1Integer number
underground-1Integer number
Difficulty Filter​

Restricts mob spawning to specific difficulty levels (Peaceful, Easy, Normal, Hard). For example, hostile mobs don't spawn on Peaceful, and some dangerous variants only appear on Hard difficulty.

Difficulty Filter Properties​

JSON path: minecraft:spawn_rules > conditions > minecraft:difficulty_filter

NameDefault ValueTypeDescription
maxhardMax choices
minpeacefulMin choices
Max choices​
ValueTitleDescription
easyEasy
hardHard
normalNormal
peacefulPeaceful
Distance Filter​

Controls spawning based on distance from the nearest player. Mobs typically spawn within a certain radius around players (24-128 blocks) and despawn when players move too far away.

Distance Filter Properties​

JSON path: minecraft:spawn_rules > conditions > minecraft:distance_filter

NameDefault ValueTypeDescription
max128Integer number
min24Integer number
Height Filter​

Same structure as Distance Filter.

Mob Event Filter​

Controls spawning based on whether a specific mob event is active. Mob events are world-level toggles (like raids or wandering traders) that can enable or disable certain spawn behaviors.

Mob Event Filter Properties​

JSON path: minecraft:spawn_rules > conditions > minecraft:mob_event_filter

NameDefault ValueTypeDescription
eventString
Player In Village Filter​

Restricts spawning based on whether a player is within village boundaries. Used for village-specific spawns like iron golems, cats, and raid mobs that should only appear when players are near villages.

Player In Village Filter Properties​

JSON path: minecraft:spawn_rules > conditions > minecraft:player_in_village_filter

NameDefault ValueTypeDescription
distancenot setInteger number
village_border_tolerance10Integer number
Spawns Above Block Filter​

Filters spawning based on blocks above the spawn location. This component appears to have been deprecated or changed in versions after 1.17.20.

[!Note] This spawn condition was used in versions 1.17.20 and earlier but appears to have been removed or replaced in newer versions.

[!Note] This item no longer works after format versions of at least 1.18.0.

Spawns Above Block Filter Properties​

JSON path: minecraft:spawn_rules > conditions > minecraft:spawns_above_block_filter

NameDefault ValueTypeDescription
blocks[]Object
distance1Integer number
Spawn Weight​

Defines the relative probability of this entity spawning compared to other entities in the same biome and spawn pool. Higher weight values mean more frequent spawns. A weight of 100 is typical for common mobs.

Spawn Weight Properties​

JSON path: minecraft:spawn_rules > conditions > minecraft:weight

NameDefault ValueTypeDescription
defaultnot setInteger number
rarity0Integer number
World Age Filter​

Same structure as Distance Filter.

Spawn Description​

The description block that identifies which entity these spawn rules apply to, via the entity identifier (e.g., 'minecraft:zombie'). Also specifies the population control group for managing spawn caps.

Spawn Description Properties​

JSON path: minecraft:spawn_rules > description

NameDefault ValueTypeDescription
identifiernot setString
population_controlString

(출처: ms-learn, creator/Reference/Content/SpawnRulesReference/Examples/SpawnRulesComponents/spawn_rules_header.md)

Spawn Rules Documentation - minecraft:spawn_rules_header​

Defines the header fields for a spawn_rules document.

Spawn Rules Header Properties​

NameDefault ValueTypeDescription
identifiernot setString
population_controlnot setStringSpecifies a group that this mob is connected with, of which only so many mobs in the group can be spawned

(출처: ms-learn, creator/Reference/Content/SpawnRulesReference/Examples/SpawnRulesComponents/spawn_spawnaboveblockfilter.md)

Spawn Rules Documentation - minecraft:spawn_spawnaboveblockfilter​

[!IMPORTANT] This type is now deprecated, and no longer in use in the latest versions of Minecraft.

Filters spawning based on blocks above the spawn location. This component appears to have been deprecated or changed in versions after 1.17.20.

[!Note] This spawn condition was used in versions 1.17.20 and earlier but appears to have been removed or replaced in newer versions.

[!Note] This item no longer works after format versions of at least 1.18.0.

Spawns Above Block Filter Properties​

NameDefault ValueTypeDescription
blocks[]Object
distance1Integer number

(출처: ms-learn, creator/Reference/Content/SpawnRulesReference/Examples/SpawnRulesComponents/spawn_weight.md)

Spawn Rules Documentation - minecraft:spawn_weight​

Defines the relative probability of this entity spawning compared to other entities in the same biome and spawn pool. Higher weight values mean more frequent spawns. A weight of 100 is typical for common mobs.

Spawn Weight Properties​

NameDefault ValueTypeDescription
defaultnot setInteger number
rarity0Integer number

(출처: ms-learn, creator/Reference/Content/SpawnRulesReference/Examples/SpawnRulesComponents/spawn_worldagefilter.md)

Spawn Rules Documentation - minecraft:spawn_worldagefilter​

Restricts spawning based on how long the world has existed (measured in ticks). Useful for progressive difficulty where certain mobs only start appearing after the world has been played for a minimum amount of time.

World Age Filter Properties​

NameDefault ValueTypeDescription
max-1Integer number
min0Integer number
출처
id출처라이선스커밋접근일
ms-learnMinecraft Creator 문서 (Microsoft Learn)CC BY 4.0 (문서), MIT (코드)a9fd1c02026-11-13