Entity component reference (11/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:managed_wandering_trader
(Source: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityComponents/minecraftComponent_managed_wandering_trader.md)
Manages the entity's ability to trade.
[!Note] Can only be used on the following type of entity:
- Wandering Trader (minecraft:wandering_trader)
Samples
minecraft:mark_variant
(Source: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityComponents/minecraftComponent_mark_variant.md)
Mark Variant is typically used as an additional per-type way (besides variant) to express a different visual form of the same mob.
Mark Variant Properties
| Name | Default Value | Type | Description | Example Values |
|---|---|---|---|---|
| value | 0 | Integer number | The Id of the mark_variant. By convention, 0 is the Id of the base entity. | Trader Llama: 1 |
Samples
Llama
"minecraft:mark_variant": {
"value": 0
}
Trader Llama
"minecraft:mark_variant": {
"value": 1
}
minecraft:mob_effect
(Source: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityComponents/minecraftComponent_mob_effect.md)
A component that applies a mob effect to entities that get within range.
Mob Effect Properties
| Name | Default Value | Type | Description |
|---|---|---|---|
| ambient | false | Boolean true/false | If true, the effect renders with the ambient effect background (like Beacons or Conduits) and does not pulse as it nears expiration. This item requires a format version of at least 1.21.130. |
| cooldown_time | 0 | Integer number | Time in seconds to wait between each application of the effect. |
| effect_range | 0.2 | Decimal number | How close a hostile entity must be to have the mob effect applied. |
| effect_time | 10 | Integer number | How long the applied mob effect lasts in seconds. Can also be set to "infinite" |
| entity_filter | not set | Minecraft filter | The set of entities that are valid to apply the mob effect to. |
| mob_effect | not set | String | The mob effect that is applied to entities that enter this entities effect range. |
Samples
minecraft:mob_effect_immunity
(Source: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityComponents/minecraftComponent_mob_effect_immunity.md)
Entities with this component will have an immunity to the provided mob effects.
Mob Effect Immunity Properties
| Name | Default Value | Type | Description | Example Values |
|---|---|---|---|---|
| mob_effects | not set | Array of strings | List of names of effects the entity is immune to. | Parched: ["weakness"], Polar Bear: ["freezing"], Silverfish: ["infested"] |
Samples
Parched
"minecraft:mob_effect_immunity": {
"mob_effects": [
"weakness"
]
}
Polar Bear
"minecraft:mob_effect_immunity": {
"mob_effects": [
"freezing"
]
}
Silverfish
"minecraft:mob_effect_immunity": {
"mob_effects": [
"infested"
]
}
Slime
"minecraft:mob_effect_immunity": {
"mob_effects": [
"oozing"
]
}
minecraft:movement
(Source: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityComponents/minecraftComponent_movement.md)
Defines the base movement speed of an entity. Typical values: creeper (0.2), cow (0.25), zombie baby (0.35).
Movement Properties
| Name | Default Value | Type | Description |
|---|---|---|---|
| max | not set | Decimal number | Maximum movement speed this entity can have. |
| value | not set | Decimal number | The base movement speed value. Higher values result in faster movement. Can be a single number or a range object with range_min and range_max properties. |
| value (as Object) | not set | Value item |
Value
Value Properties
JSON path: value
| Name | Default Value | Type | Description |
|---|---|---|---|
| range_max | not set | Decimal number | Maximum movement speed |
| range_min | not set | Decimal number | Minimum movement speed |
Samples
minecraft:movement.amphibious
(Source: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityComponents/minecraftComponent_movement.amphibious.md)
This move control allows the mob to swim in water and walk on land.
Entity Amphibious Movement Properties
| Name | Default Value | Type | Description |
|---|---|---|---|
| max_turn | 30 | Decimal number | The maximum number in degrees the mob can turn per tick. |
Samples
Frog
"minecraft:movement.amphibious": {}
minecraft:movement.basic
(Source: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityComponents/minecraftComponent_movement.basic.md)
This component accents the movement of an entity.
Entity Basic Movement Properties
| Name | Default Value | Type | Description |
|---|---|---|---|
| max_turn | 30 | Decimal number | The maximum number in degrees the mob can turn per tick. |
Samples
Bat
"minecraft:movement.basic": {}
minecraft:movement.dolphin
(Source: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityComponents/minecraftComponent_movement.dolphin.md)
This component can control how dolphins move, in a dolphin-esque style.
[!Note] This movement is not currently being used in game.
minecraft:movement.fly
(Source: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityComponents/minecraftComponent_movement.fly.md)
This move control causes the mob to fly.
Entity Fly Movement Properties
| Name | Default Value | Type | Description |
|---|---|---|---|
| max_turn | 30 | Decimal number | The maximum number in degrees the mob can turn per tick. |
| speed_when_turning | 0.2 | Decimal number | Speed that the mob adjusts to when it has to turn quickly. |
| start_speed | 0.1 | Decimal number | Initial speed of the mob when it starts gliding. |
Samples
Parrot
"minecraft:movement.fly": {}
minecraft:movement.generic
(Source: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityComponents/minecraftComponent_movement.generic.md)
This move control allows a mob to fly, swim, climb, etc.
Entity Generic Movement Properties
| Name | Default Value | Type | Description |
|---|---|---|---|
| max_turn | 30 | Decimal number | The maximum number in degrees the mob can turn per tick. |
Samples
Drowned
"minecraft:movement.generic": {}
minecraft:movement.glide
(Source: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityComponents/minecraftComponent_movement.glide.md)
Move control for a flying mob that has a gliding movement.
Entity Glide Movement Properties
| Name | Default Value | Type | Description | Example Values |
|---|---|---|---|---|
| max_turn | 30 | Decimal number | The maximum number in degrees the mob can turn per tick. | |
| speed_when_turning | 0.2 | Decimal number | Speed that the mob adjusts to when it has to turn quickly. | Phantom: 0.2 |
| start_speed | 0.10000000149011612 | Decimal number | Initial speed of the mob when it starts gliding. | Phantom: 0.1 |
Samples
Phantom
"minecraft:movement.glide": {
"speed_when_turning": 0.2,
"start_speed": 0.1
}
minecraft:movement.hover
(Source: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityComponents/minecraftComponent_movement.hover.md)
This move control causes the mob to hover.
Entity Hover Movement Properties
| Name | Default Value | Type | Description |
|---|---|---|---|
| max_turn | 30 | Decimal number | The maximum number in degrees the mob can turn per tick. |
Samples
Allay
"minecraft:movement.hover": {}
minecraft:movement.jump
(Source: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityComponents/minecraftComponent_movement.jump.md)
Move control that causes the mob to jump as it moves with a specified delay between jumps.
[!Note] In order to follow targets, this entity must have the
minecraft:behavior.slime_attackcomponent, otherwise the entity will jump in the direction it's looking in.
Entity Jump Movement Properties
| Name | Default Value | Type | Description |
|---|---|---|---|
| jump_delay | {"max":0,"min":0} | Jump Delay item | Delay in seconds after landing when using the slime move control. Can be a single number, an array [min, max], or an object with range_min and range_max. |
| max_turn | 30 | Decimal number | The maximum number in degrees the mob can turn per tick. |
Legacy FloatRange
Legacy FloatRange Properties
JSON path: jump_delay
| Name | Default Value | Type | Description |
|---|---|---|---|
| max | 0 | Decimal number | |
| min | 0 | Decimal number |
Samples
minecraft:movement.skip
(Source: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityComponents/minecraftComponent_movement.skip.md)
This move control causes the mob to hop as it moves.
Entity Skip Movement Properties
| Name | Default Value | Type | Description |
|---|---|---|---|
| max_turn | 30 | Decimal number | The maximum number in degrees the mob can turn per tick. |
Samples
minecraft:movement.sound_distance_offset
(Source: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityComponents/minecraftComponent_movement.sound_distance_offset.md)
Sets the offset used to determine the next step distance for playing a movement sound.
Movement Sound Distance Offset Properties
| Name | Default Value | Type | Description |
|---|---|---|---|
| value | 1 | Decimal number | The higher the number, the less often the movement sound will be played. |
minecraft:movement.sway
(Source: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityComponents/minecraftComponent_movement.sway.md)
This move control causes the mob to sway side to side giving the impression it is swimming.
Entity Sway Movement Properties
| Name | Default Value | Type | Description |
|---|---|---|---|
| max_turn | 30 | Decimal number | The maximum number in degrees the mob can turn per tick. |
| sway_amplitude | 0.05000000074505806 | Decimal number | Strength of the sway movement. |
| sway_frequency | 0.5 | Decimal number | Multiplier for the frequency of the sway movement. |
Samples
Elder Guardian
"minecraft:movement.sway": {}
minecraft:nameable
(Source: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityComponents/minecraftComponent_nameable.md)
Allows this entity to be named (e.g. using a name tag).
Nameable Properties
| Name | Default Value | Type | Description |
|---|---|---|---|
| allow_name_tag_renaming | true | Boolean true/false | If true, this entity can be renamed with name tags |
| always_show | false | Boolean true/false | If true, the name will always be shown |
| default_trigger | not set | String | Trigger to run when the entity gets named |
| name_actions | not set | Array of Name Actions items | Describes the special names for this entity and the events to call when the entity acquires those names |
Name Actions
Describes the special names for this entity and the events to call when the entity acquires those names.
Name Actions Properties
JSON path: name_actions
| Name | Default Value | Type | Description |
|---|---|---|---|
| name_filter | not set | String | List of special names that will cause the events defined in 'on_named' to fire |
| on_named | not set | Minecraft Event Trigger | Event to be called when this entity acquires the name specified in 'name_filter' |
Samples
Allay
"minecraft:nameable": {}
minecraft:navigation.climb
(Source: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityComponents/minecraftComponent_navigation.climb.md)
Allows this entity to generate paths that include vertical walls like the vanilla Spiders do.
Climb Navigation Properties
| Name | Default Value | Type | Description | Example Values |
|---|---|---|---|---|
| avoid_damage_blocks | false | Boolean true/false | Tells the pathfinder to avoid blocks that cause damage when finding a path | |
| avoid_portals | false | Boolean true/false | Tells the pathfinder to avoid portals (like nether portals) when finding a path | |
| avoid_sun | false | Boolean true/false | Whether or not the pathfinder should avoid tiles that are exposed to the sun when creating paths | |
| avoid_water | false | Boolean true/false | Tells the pathfinder to avoid water when creating a path | |
| blocks_to_avoid | not set | Array of strings | Tells the pathfinder which blocks to avoid when creating a path | |
| can_breach | false | Boolean true/false | Tells the pathfinder whether or not it can jump out of water (like a dolphin) | |
| can_break_doors | false | Boolean true/false | Tells the pathfinder that it can path through a closed door and break it | |
| can_jump | true | Boolean true/false | Tells the pathfinder whether or not it can jump up blocks | |
| can_open_doors | false | Boolean true/false | Tells the pathfinder that it can path through a closed door assuming the AI will open the door | |
| can_open_iron_doors | false | Boolean true/false | Tells the pathfinder that it can path through a closed iron door assuming the AI will open the door | |
| can_pass_doors | true | Boolean true/false | Whether a path can be created through a door | |
| can_path_from_air | false | Boolean true/false | Tells the pathfinder that it can start pathing when in the air | |
| can_path_over_lava | false | Boolean true/false | Tells the pathfinder whether or not it can travel on the surface of the lava | |
| can_path_over_water | false | Boolean true/false | Tells the pathfinder whether or not it can travel on the surface of the water | Cave Spider: true |
| can_sink | true | Boolean true/false | Tells the pathfinder whether or not it will be pulled down by gravity while in water | |
| can_swim | false | Boolean true/false | Tells the pathfinder whether or not it can path anywhere through water and plays swimming animation along that path | |
| can_walk | true | Boolean true/false | Tells the pathfinder whether or not it can walk on the ground outside water | |
| can_walk_in_lava | false | Boolean true/false | Tells the pathfinder whether or not it can travel in lava like walking on ground | |
| is_amphibious | false | Boolean true/false | Tells the pathfinder whether or not it can walk on the ground underwater |
Samples
Cave Spider
"minecraft:navigation.climb": {
"can_path_over_water": true
}
minecraft:navigation.float
(Source: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityComponents/minecraftComponent_navigation.float.md)
Allows this entity to generate paths by flying around the air like the regular Ghast.
Float Navigation Properties
| Name | Default Value | Type | Description | Example Values |
|---|---|---|---|---|
| avoid_damage_blocks | false | Boolean true/false | Tells the pathfinder to avoid blocks that cause damage when finding a path | |
| avoid_portals | false | Boolean true/false | Tells the pathfinder to avoid portals (like nether portals) when finding a path | |
| avoid_sun | false | Boolean true/false | Whether or not the pathfinder should avoid tiles that are exposed to the sun when creating paths | |
| avoid_water | false | Boolean true/false | Tells the pathfinder to avoid water when creating a path | |
| blocks_to_avoid | not set | Array of strings | Tells the pathfinder which blocks to avoid when creating a path | |
| can_breach | false | Boolean true/false | Tells the pathfinder whether or not it can jump out of water (like a dolphin) | |
| can_break_doors | false | Boolean true/false | Tells the pathfinder that it can path through a closed door and break it | |
| can_jump | true | Boolean true/false | Tells the pathfinder whether or not it can jump up blocks | |
| can_open_doors | false | Boolean true/false | Tells the pathfinder that it can path through a closed door assuming the AI will open the door | |
| can_open_iron_doors | false | Boolean true/false | Tells the pathfinder that it can path through a closed iron door assuming the AI will open the door | |
| can_pass_doors | true | Boolean true/false | Whether a path can be created through a door | |
| can_path_from_air | false | Boolean true/false | Tells the pathfinder that it can start pathing when in the air | |
| can_path_over_lava | false | Boolean true/false | Tells the pathfinder whether or not it can travel on the surface of the lava | |
| can_path_over_water | false | Boolean true/false | Tells the pathfinder whether or not it can travel on the surface of the water | Bat: true |
| can_sink | true | Boolean true/false | Tells the pathfinder whether or not it will be pulled down by gravity while in water | |
| can_swim | false | Boolean true/false | Tells the pathfinder whether or not it can path anywhere through water and plays swimming animation along that path | |
| can_walk | true | Boolean true/false | Tells the pathfinder whether or not it can walk on the ground outside water | |
| can_walk_in_lava | false | Boolean true/false | Tells the pathfinder whether or not it can travel in lava like walking on ground | |
| is_amphibious | false | Boolean true/false | Tells the pathfinder whether or not it can walk on the ground underwater | |
| using_door_annotation | not set | String | Bat: true |
Samples
Bat
"minecraft:navigation.float": {
"can_path_over_water": true,
"using_door_annotation": true
}
minecraft:navigation.fly
(Source: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityComponents/minecraftComponent_navigation.fly.md)
Allows this entity to generate paths in the air like the vanilla Parrots do.
Fly Navigation Properties
| Name | Default Value | Type | Description | Example Values |
|---|---|---|---|---|
| avoid_damage_blocks | false | Boolean true/false | Tells the pathfinder to avoid blocks that cause damage when finding a path | |
| avoid_portals | false | Boolean true/false | Tells the pathfinder to avoid portals (like nether portals) when finding a path | |
| avoid_sun | false | Boolean true/false | Whether or not the pathfinder should avoid tiles that are exposed to the sun when creating paths | |
| avoid_water | false | Boolean true/false | Tells the pathfinder to avoid water when creating a path | |
| blocks_to_avoid | not set | Array of strings | Tells the pathfinder which blocks to avoid when creating a path | |
| can_breach | false | Boolean true/false | Tells the pathfinder whether or not it can jump out of water (like a dolphin) | |
| can_break_doors | false | Boolean true/false | Tells the pathfinder that it can path through a closed door and break it | |
| can_jump | true | Boolean true/false | Tells the pathfinder whether or not it can jump up blocks | |
| can_open_doors | false | Boolean true/false | Tells the pathfinder that it can path through a closed door assuming the AI will open the door | |
| can_open_iron_doors | false | Boolean true/false | Tells the pathfinder that it can path through a closed iron door assuming the AI will open the door | |
| can_pass_doors | true | Boolean true/false | Whether a path can be created through a door | |
| can_path_from_air | false | Boolean true/false | Tells the pathfinder that it can start pathing when in the air | Parrot: true |
| can_path_over_lava | false | Boolean true/false | Tells the pathfinder whether or not it can travel on the surface of the lava | |
| can_path_over_water | false | Boolean true/false | Tells the pathfinder whether or not it can travel on the surface of the water | Parrot: true |
| can_sink | true | Boolean true/false | Tells the pathfinder whether or not it will be pulled down by gravity while in water | |
| can_swim | false | Boolean true/false | Tells the pathfinder whether or not it can path anywhere through water and plays swimming animation along that path | |
| can_walk | true | Boolean true/false | Tells the pathfinder whether or not it can walk on the ground outside water | |
| can_walk_in_lava | false | Boolean true/false | Tells the pathfinder whether or not it can travel in lava like walking on ground | |
| is_amphibious | false | Boolean true/false | Tells the pathfinder whether or not it can walk on the ground underwater |
Samples
Parrot
"minecraft:navigation.fly": {
"can_path_from_air": true,
"can_path_over_water": true
}
| id | Source | License | Commit | Accessed |
|---|---|---|---|---|
ms-learn | Minecraft Creator documentation (Microsoft Learn) | CC BY 4.0 (documentation), MIT (code) | a9fd1c0 | 2026-11-13 |