Skip to main content

Entity component reference (12/23)

This page carries the component pages of MS Learn (MicrosoftDocs/minecraft-creator a9fd1c0, CC BY 4.0). IDs, property names, types, default values and JSON are as in the original. The full list is in the index.

minecraft:navigation.generic​

(Source: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityComponents/minecraftComponent_navigation.generic.md)

Allows this entity to generate paths by walking, swimming, flying and/or climbing around and jumping up and down a block.

Generic Navigation Properties​

NameDefault ValueTypeDescriptionExample Values
avoid_damage_blocksfalseBoolean true/falseTells the pathfinder to avoid blocks that cause damage when finding a pathFrog: true
avoid_portalsfalseBoolean true/falseTells the pathfinder to avoid portals (like nether portals) when finding a path
avoid_sunfalseBoolean true/falseWhether or not the pathfinder should avoid tiles that are exposed to the sun when creating paths
avoid_waterfalseBoolean true/falseTells the pathfinder to avoid water when creating a path
blocks_to_avoidnot setArray of stringsTells the pathfinder which blocks to avoid when creating a path
can_breachfalseBoolean true/falseTells the pathfinder whether or not it can jump out of water (like a dolphin)Elder Guardian: true
can_break_doorsfalseBoolean true/falseTells the pathfinder that it can path through a closed door and break it
can_jumptrueBoolean true/falseTells the pathfinder whether or not it can jump up blocks
can_open_doorsfalseBoolean true/falseTells the pathfinder that it can path through a closed door assuming the AI will open the door
can_open_iron_doorsfalseBoolean true/falseTells the pathfinder that it can path through a closed iron door assuming the AI will open the door
can_pass_doorstrueBoolean true/falseWhether a path can be created through a door
can_path_from_airfalseBoolean true/falseTells the pathfinder that it can start pathing when in the air
can_path_over_lavafalseBoolean true/falseTells the pathfinder whether or not it can travel on the surface of the lava
can_path_over_waterfalseBoolean true/falseTells the pathfinder whether or not it can travel on the surface of the waterFrog: true
can_sinktrueBoolean true/falseTells the pathfinder whether or not it will be pulled down by gravity while in water
can_swimfalseBoolean true/falseTells the pathfinder whether or not it can path anywhere through water and plays swimming animation along that pathElder Guardian: true
can_walktrueBoolean true/falseTells the pathfinder whether or not it can walk on the ground outside waterFrog: true
can_walk_in_lavafalseBoolean true/falseTells the pathfinder whether or not it can travel in lava like walking on ground
is_amphibiousfalseBoolean true/falseTells the pathfinder whether or not it can walk on the ground underwaterElder Guardian: true
using_door_annotationnot setStringElder Guardian: true

Samples​

Elder Guardian​
"minecraft:navigation.generic": {
"can_breach": true,
"can_walk": false,
"can_path_over_water": false,
"can_swim": true,
"is_amphibious": true,
"using_door_annotation": true
}
Frog​
"minecraft:navigation.generic": {
"avoid_damage_blocks": true,
"can_path_over_water": true,
"can_sink": false,
"can_swim": true,
"can_walk": true,
"is_amphibious": true,
"using_door_annotation": true
}

minecraft:navigation.hover​

(Source: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityComponents/minecraftComponent_navigation.hover.md)

Allows this entity to generate paths in the air like the vanilla Bees do. Keeps them from falling out of the skies and doing predictive movement.

Hover Navigation Properties​

NameDefault ValueTypeDescriptionExample Values
avoid_damage_blocksfalseBoolean true/falseTells the pathfinder to avoid blocks that cause damage when finding a pathAllay: true
avoid_portalsfalseBoolean true/falseTells the pathfinder to avoid portals (like nether portals) when finding a path
avoid_sunfalseBoolean true/falseWhether or not the pathfinder should avoid tiles that are exposed to the sun when creating paths
avoid_waterfalseBoolean true/falseTells the pathfinder to avoid water when creating a pathAllay: true
blocks_to_avoidnot setArray of stringsTells the pathfinder which blocks to avoid when creating a path
can_breachfalseBoolean true/falseTells the pathfinder whether or not it can jump out of water (like a dolphin)
can_break_doorsfalseBoolean true/falseTells the pathfinder that it can path through a closed door and break it
can_jumptrueBoolean true/falseTells the pathfinder whether or not it can jump up blocks
can_open_doorsfalseBoolean true/falseTells the pathfinder that it can path through a closed door assuming the AI will open the door
can_open_iron_doorsfalseBoolean true/falseTells the pathfinder that it can path through a closed iron door assuming the AI will open the door
can_pass_doorstrueBoolean true/falseWhether a path can be created through a door
can_path_from_airfalseBoolean true/falseTells the pathfinder that it can start pathing when in the airAllay: true
can_path_over_lavafalseBoolean true/falseTells the pathfinder whether or not it can travel on the surface of the lava
can_path_over_waterfalseBoolean true/falseTells the pathfinder whether or not it can travel on the surface of the waterAllay: true
can_sinktrueBoolean true/falseTells the pathfinder whether or not it will be pulled down by gravity while in water
can_swimfalseBoolean true/falseTells the pathfinder whether or not it can path anywhere through water and plays swimming animation along that path
can_walktrueBoolean true/falseTells the pathfinder whether or not it can walk on the ground outside water
can_walk_in_lavafalseBoolean true/falseTells the pathfinder whether or not it can travel in lava like walking on ground
is_amphibiousfalseBoolean true/falseTells the pathfinder whether or not it can walk on the ground underwater

Samples​

Allay​
"minecraft:navigation.hover": {
"avoid_damage_blocks": true,
"can_pass_doors": false,
"can_path_from_air": true,
"avoid_sun": false,
"avoid_water": true,
"can_path_over_water": true,
"can_sink": false
}

minecraft:navigation.swim​

(Source: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityComponents/minecraftComponent_navigation.swim.md)

Allows this entity to generate paths that include water.

Swim Navigation Properties​

NameDefault ValueTypeDescription
avoid_damage_blocksfalseBoolean true/falseTells the pathfinder to avoid blocks that cause damage when finding a path
avoid_portalsfalseBoolean true/falseTells the pathfinder to avoid portals (like nether portals) when finding a path
avoid_sunfalseBoolean true/falseWhether or not the pathfinder should avoid tiles that are exposed to the sun when creating paths
avoid_waterfalseBoolean true/falseTells the pathfinder to avoid water when creating a path
blocks_to_avoidnot setArray of stringsTells the pathfinder which blocks to avoid when creating a path
can_breachfalseBoolean true/falseTells the pathfinder whether or not it can jump out of water (like a dolphin)
can_break_doorsfalseBoolean true/falseTells the pathfinder that it can path through a closed door and break it
can_jumptrueBoolean true/falseTells the pathfinder whether or not it can jump up blocks
can_open_doorsfalseBoolean true/falseTells the pathfinder that it can path through a closed door assuming the AI will open the door
can_open_iron_doorsfalseBoolean true/falseTells the pathfinder that it can path through a closed iron door assuming the AI will open the door
can_pass_doorstrueBoolean true/falseWhether a path can be created through a door
can_path_from_airfalseBoolean true/falseTells the pathfinder that it can start pathing when in the air
can_path_over_lavafalseBoolean true/falseTells the pathfinder whether or not it can travel on the surface of the lava
can_path_over_waterfalseBoolean true/falseTells the pathfinder whether or not it can travel on the surface of the water
can_sinktrueBoolean true/falseTells the pathfinder whether or not it will be pulled down by gravity while in water
can_swimfalseBoolean true/falseTells the pathfinder whether or not it can path anywhere through water and plays swimming animation along that path
can_walktrueBoolean true/falseTells the pathfinder whether or not it can walk on the ground outside water
can_walk_in_lavafalseBoolean true/falseTells the pathfinder whether or not it can travel in lava like walking on ground
is_amphibiousfalseBoolean true/falseTells the pathfinder whether or not it can walk on the ground underwater

minecraft:navigation.walk​

(Source: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityComponents/minecraftComponent_navigation.walk.md)

Walking style of the mob.

Walk navigation Properties​

NameDefault ValueTypeDescriptionExample Values
avoid_damage_blocksfalseBoolean true/falseTells the pathfinder to avoid blocks that cause damage when finding a pathBlaze: true
avoid_portalsfalseBoolean true/falseTells the pathfinder to avoid portals (like nether portals) when finding a path
avoid_sunfalseBoolean true/falseWhether or not the pathfinder should avoid tiles that are exposed to the sun when creating pathsBogged: true
avoid_waterfalseBoolean true/falseTells the pathfinder to avoid water when creating a pathBlaze: true
blocks_to_avoidnot setArray of stringsList of block descriptors that the pathfinder should avoid. Items can be block identifier strings or objects with name/tags properties.Breeze: [{"tags":"query.any_tag('trapdoors')"}]
blocks_to_avoid (Block to Avoid)not setArray of Blocks To Avoid (Block To Avoid) items
can_breachfalseBoolean true/falseTells the pathfinder whether or not it can jump out of water (like a dolphin)
can_break_doorsfalseBoolean true/falseTells the pathfinder that it can path through a closed door and break it
can_floatnot setBoolean true/false
can_jumptrueBoolean true/falseTells the pathfinder whether or not it can jump up blocks
can_open_doorsfalseBoolean true/falseTells the pathfinder that it can path through a closed door assuming the AI will open the door
can_open_iron_doorsfalseBoolean true/falseTells the pathfinder that it can path through a closed iron door assuming the AI will open the door
can_pass_doorstrueBoolean true/falseWhether a path can be created through a door
can_path_from_airfalseBoolean true/falseTells the pathfinder that it can start pathing when in the air
can_path_over_lavafalseBoolean true/falseTells the pathfinder whether or not it can travel on the surface of the lava
can_path_over_waterfalseBoolean true/falseTells the pathfinder whether or not it can travel on the surface of the waterBlaze: true
can_sinktrueBoolean true/falseTells the pathfinder whether or not it will be pulled down by gravity while in water
can_swimfalseBoolean true/falseTells the pathfinder whether or not it can path anywhere through water and plays swimming animation along that path
can_walktrueBoolean true/falseTells the pathfinder whether or not it can walk on the ground outside water
can_walk_in_lavafalseBoolean true/falseTells the pathfinder whether or not it can travel in lava like walking on ground
is_amphibiousfalseBoolean true/falseTells the pathfinder whether or not it can walk on the ground underwaterBogged: true
using_door_annotationnot setStringBlaze: true

Blocks To Avoid (Block To Avoid)​

Block to Avoid Properties​

JSON path: blocks_to_avoid

NameDefault ValueTypeDescription
namenot setStringBlock identifier to avoid.
tagsnot setMolangMolang expression to match block tags, e.g. query.any_tag('trapdoors')

Samples​

Blaze​
"minecraft:navigation.walk": {
"avoid_damage_blocks": true,
"avoid_water": true,
"can_path_over_water": true,
"using_door_annotation": true
}
Bogged​
"minecraft:navigation.walk": {
"avoid_sun": true,
"is_amphibious": true,
"avoid_water": true
}
Breeze​
"minecraft:navigation.walk": {
"blocks_to_avoid": [
{
"tags": "query.any_tag('trapdoors')"
}
],
"using_door_annotation": true
}
Chicken​
"minecraft:navigation.walk": {
"can_path_over_water": true,
"avoid_damage_blocks": true,
"using_door_annotation": true
}
Cow​
"minecraft:navigation.walk": {
"can_path_over_water": true,
"avoid_water": true,
"avoid_damage_blocks": true
}

minecraft:offspring​

(Source: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityComponents/minecraftComponent_offspring.md)

Defines the way an entity can create a born offspring.

Offspring Properties​

NameDefault ValueTypeDescriptionExample Values
blend_attributestrueBoolean true/falseIf true, the entities will blend their attributes in the offspring after they breed.
deny_parents_variantnot setArray of Deny Parents Variant itemsDetermines how likely the baby of parents with the same variant will deny that variant and take a random variant within the given range instead.
inherit_tamedtrueBoolean true/falseIf true, the babies will be automatically tamed if its parents are.
mutation_factornot setArray of Mutation Factor itemsDetermines how likely the babies are to NOT inherit one of their parent's variances. Values are between 0.0 and 1.0, with a higher number meaning more likely to mutate.
offspring_pairsnot setArray of stringsThe map of entity to offspring definitions that this entity can make offspring with.Chicken: {"minecraft:chicken":"minecraft:chicken"}, Cow: {"minecraft:cow":"minecraft:cow"}, Dolphin: {"minecraft:dolphin":"minecraft:dolphin"}
parent_centric_attribute_blendingnot setArray of stringsList of attributes that should benefit from parent centric attribute blending. For example, horses blend their health, movement, and jump_strength in their offspring.
property_inheritancenot setArray of stringsList of Entity Properties that should be inherited from the parent entities and potentially mutated.Chicken: {"minecraft:climate_variant":{}}
random_extra_variant_mutation_interval0Range of integersRange used to determine random extra variant.
random_variant_mutation_interval0Range of integersRange used to determine random variant.

Deny Parents Variant​

Determines how likely the baby of parents with the same variant will deny that variant and take a random variant within the given range instead.

Deny Parents Variant Properties​

JSON path: deny_parents_variant

NameDefault ValueTypeDescription
chance0Decimal numberThe percentage chance of denying the parents' variant.
max_variant0Integer numberThe inclusive maximum of the variant range.
min_variant0Integer numberThe inclusive minimum of the variant range.

Mutation Factor​

Determines how likely the babies are to NOT inherit one of their parent's variances. Values are between 0.0 and 1.0, with a higher number meaning more likely to mutate.

Mutation Factor Properties​

JSON path: mutation_factor

NameDefault ValueTypeDescription
color0Decimal numberThe percentage chance of the offspring getting its color as if spawned rather than inheriting color from its parents.
extra_variant0Decimal numberThe percentage chance of a mutation on the entity's extra variant type.
variant0Decimal numberThe percentage chance of a mutation on the entity's variant type.

Samples​

Chicken​
"minecraft:offspring": {
"offspring_pairs": {
"minecraft:chicken": "minecraft:chicken"
},
"property_inheritance": {
"minecraft:climate_variant": {}
}
}
Cow​
"minecraft:offspring": {
"offspring_pairs": {
"minecraft:cow": "minecraft:cow"
},
"property_inheritance": {
"minecraft:climate_variant": {}
}
}
Dolphin​
"minecraft:offspring": {
"offspring_pairs": {
"minecraft:dolphin": "minecraft:dolphin"
}
}
Drowned​
"minecraft:offspring": {
"offspring_pairs": {
"minecraft:drowned": "minecraft:drowned"
}
}
Frog​
"minecraft:offspring": {
"offspring_pairs": {
"minecraft:frog": "minecraft:tadpole"
}
}

minecraft:out_of_control​

(Source: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityComponents/minecraftComponent_out_of_control.md)

Defines the entity's 'out of control' state.

Samples​

Boat​

At /minecraft:entity/component_groups/minecraft:above_bubble_column_down/minecraft:out_of_control/:

"minecraft:out_of_control": {}

minecraft:peek​

(Source: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityComponents/minecraftComponent_peek.md)

Defines the entity's 'peek' behavior, defining the events that should be called during it.

Peek Properties​

NameDefault ValueTypeDescriptionExample Values
on_closenot setMinecraft Event TriggerEvent to call when the entity is done peeking.Shulker: {"event":"minecraft:on_close"}
on_opennot setMinecraft Event TriggerEvent to call when the entity starts peeking.Shulker: {"event":"minecraft:on_open"}
on_target_opennot setMinecraft Event TriggerEvent to call when the entity's target entity starts peeking.Shulker: {"event":"minecraft:on_open"}

Samples​

Shulker​
"minecraft:peek": {
"on_close": {
"event": "minecraft:on_close"
},
"on_open": {
"event": "minecraft:on_open"
},
"on_target_open": {
"event": "minecraft:on_open"
}
}

minecraft:persistent​

(Source: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityComponents/minecraftComponent_persistent.md)

Defines whether an entity should be persistent in the game world.

Samples​

Armor Stand​
"minecraft:persistent": {}

minecraft:physics​

(Source: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityComponents/minecraftComponent_physics.md)

Defines physics properties of an actor, including if it is affected by gravity or if it collides with objects.

Entity Physics Properties​

NameDefault ValueTypeDescription
has_collisiontrueBoolean true/falseWhether or not the entity collides with things.
has_gravitytrueBoolean true/falseWhether or not the entity is affected by gravity.
push_towards_closest_spacefalseBoolean true/falseWhether or not the entity should be pushed towards the nearest open area when stuck inside a block.

Samples​

Allay​
"minecraft:physics": {
"has_gravity": false
}
Area Effect Cloud​
"minecraft:physics": {
"has_collision": false
}
Armor Stand​
"minecraft:physics": {}

minecraft:player.exhaustion​

(Source: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityComponents/minecraftComponent_player.exhaustion.md)

Defines the player's exhaustion level.

Player Exhaustion Properties​

NameDefault ValueTypeDescriptionExample Values
maxnot setInteger numberA maximum value for a player's exhaustion.Player: 20
valuenot setInteger numberThe initial value of a player's exhaustion level.

Samples​

Player​
"minecraft:player.exhaustion": {
"max": 20,
"value": 0
}

minecraft:player.experience​

(Source: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityComponents/minecraftComponent_player.experience.md)

Defines how much experience each player action should take.

Player Experience Properties​

NameDefault ValueTypeDescriptionExample Values
max5Integer numberThe maximum player experience of this entity.Player: 1
value1Integer numberThe initial value of the player experience.

Samples​

Player​
"minecraft:player.experience": {
"max": 1,
"value": 0
}

minecraft:player.level​

(Source: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityComponents/minecraftComponent_player.level.md)

Defines the player's level.

Player Level Properties​

NameDefault ValueTypeDescriptionExample Values
maxnot setInteger numberThe maximum player level value of the entity.Player: 24791
valuenot setInteger numberThe initial value of the player level.

Samples​

Player​
"minecraft:player.level": {
"max": 24791,
"value": 0
}
Sources
idSourceLicenseCommitAccessed
ms-learnMinecraft Creator documentation (Microsoft Learn)CC BY 4.0 (documentation), MIT (code)a9fd1c02026-11-13