Entity component reference (23/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:transient
(Source: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityComponents/minecraftComponent_transient.md)
An entity with this component will NEVER persist, and forever disappear when unloaded.
[!Note] This item requires a format version of at least 1.21.40.
Samples
Fishing Hook
"minecraft:transient": {}
minecraft:trust
(Source: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityComponents/minecraftComponent_trust.md)
Allows this entity to trust multiple players.
minecraft:trusting
(Source: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityComponents/minecraftComponent_trusting.md)
Defines the rules for a mob to trust players.
Trusting Properties
| Name | Default Value | Type | Description |
|---|---|---|---|
| probability | 1 | Decimal number | The chance of the entity trusting with each item use between 0.0 and 1.0, where 1.0 is 100%. |
| trust_event | not set | Object | Event to run when this entity becomes trusting. Can be an object with event and target properties, or a simple event string. |
| trust_event (as String) | not set | String | |
| trust_items | not set | Array of strings | The list of items that can be used to get the entity to trust players. Can be an array or a single item string. |
| trust_items (as String) | not set | String |
Samples
minecraft:type_family
(Source: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityComponents/minecraftComponent_type_family.md)
Defines the family categories this entity belongs to. Type families are used by filters and other game systems to group entities (e.g., 'mob', 'monster', 'undead', 'zombie').
Type Family Properties
| Name | Default Value | Type | Description | Example Values |
|---|---|---|---|---|
| family | not set | Family choices | A set of tags that describe the categories of this entity. | Allay: ["allay","mob"], Armor Stand: ["armor_stand","inanimate","mob"], Arrow: ["projectile","arrow"] |
family
A set of tags that describe the categories of this entity. In addition to typically having a tag for the type of mob, entities frequently have additional type family tags that modify how the rest of the Minecraft world reacts to them.
Family choices
| Value | Title | Description |
|---|---|---|
| mob | Mob | |
| inanimate | Inanimate | |
| aquatic | Aquatic | |
| monster | Monster | |
| undead | Undead | |
| skeleton | Skeleton | |
| arthropod | Arthropod | |
| zombie | Zombie | |
| lightweight | Lightweight | |
| fish | Fish | |
| player | Player |
Samples
Allay
"minecraft:type_family": {
"family": [
"allay",
"mob"
]
}
Armor Stand
"minecraft:type_family": {
"family": [
"armor_stand",
"inanimate",
"mob"
]
}
Arrow
"minecraft:type_family": {
"family": [
"projectile",
"arrow"
]
}
Bat
"minecraft:type_family": {
"family": [
"bat",
"mob"
]
}
Blaze
"minecraft:type_family": {
"family": [
"blaze",
"monster",
"mob"
]
}
minecraft:underwater_mount_breathing
(Source: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityComponents/minecraftComponent_underwater_mount_breathing.md)
Pauses this entity's breathing under water.
Samples
minecraft:underwater_movement
(Source: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityComponents/minecraftComponent_underwater_movement.md)
Defines the speed with which an entity can move through water.
Underwater Movement Properties
| Name | Default Value | Type | Description | Example Values |
|---|---|---|---|---|
| value | not set | Decimal number | Movement speed of the entity under water. | Dolphin: 0.15, Elder Guardian: 0.3, Guardian: 0.12 |
Samples
Dolphin
"minecraft:underwater_movement": {
"value": 0.15
}
Elder Guardian
"minecraft:underwater_movement": {
"value": 0.3
}
Guardian
"minecraft:underwater_movement": {
"value": 0.12
}
minecraft:uses_legacy_friction
(Source: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityComponents/minecraftComponent_uses_legacy_friction.md)
When set, legacy calculations are used when applying "minecraft:friction_modifier". This component is automatically added to legacy content to preserve existing behavior. The legacy calculations are incorrect and should not be used for new content.
[!Note] Added in 1.26.20 alongside the
minecraft:friction_modifierbehavior fix. Adding this component opts an entity back into the legacy (pre-1.26.20) friction calculations, which also partially affected air and liquid drag. Entities whoseformat_versionis older than 1.26.20 receive this component automatically so that existing content keeps its prior behavior.
[!Note] This item requires a format version of at least 1.26.20.
Samples
Breeze
"minecraft:uses_legacy_friction": {}
minecraft:variable_max_auto_step
(Source: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityComponents/minecraftComponent_variable_max_auto_step.md)
Entities with this component will have a maximum auto step height that is different depending on whether they are on a block that prevents jumping. Incompatible with "runtime_identifier": "minecraft:horse".
Variable Max Auto Step Properties
| Name | Default Value | Type | Description |
|---|---|---|---|
| base_value | 0.5625 | Decimal number | The maximum auto step height when on any other block. |
| controlled_value | 0.5625 | Decimal number | The maximum auto step height when on any other block and controlled by the player. |
| jump_prevented_value | 0.5625 | Decimal number | The maximum auto step height when on a block that prevents jumping. |
Samples
minecraft:variant
(Source: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityComponents/minecraftComponent_variant.md)
Variant is typically used as a per-type way to express a different visual form of the same mob. For example, for cats, variant is a number that defines the breed of cat.
[!Note] This behavior is a requirement for setting up multiple types of variants for an entity.
Variant Properties
| Name | Default Value | Type | Description | Example Values |
|---|---|---|---|---|
| value | 0 | Integer number | The Id of the variant. By convention, 0 is the Id of the base entity/default appearance. | Cushion: 15, Frog: 1, 2 |
Samples
Cushion
"minecraft:variant": {
"value": 15
}
Frog
At /minecraft:entity/component_groups/cold_frog/minecraft:variant/:
"minecraft:variant": {
"value": 1
}
At /minecraft:entity/component_groups/temperate_frog/minecraft:variant/:
"minecraft:variant": {
"value": 0
}
At /minecraft:entity/component_groups/warm_frog/minecraft:variant/:
"minecraft:variant": {
"value": 2
}
Llama
At /minecraft:entity/component_groups/minecraft:llama_gray/minecraft:variant/:
"minecraft:variant": {
"value": 3
}
Magma Cube
At /minecraft:entity/component_groups/minecraft:slime_large/minecraft:variant/:
"minecraft:variant": {
"value": 4
}
minecraft:vertical_movement_action
(Source: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityComponents/minecraftComponent_vertical_movement.action.md)
When configured as a rideable entity, the entity will move upwards or downwards when the player uses the jump action.
Vertical Movement Action Properties
| Name | Default Value | Type | Description |
|---|---|---|---|
| vertical_velocity | 0.5 | Decimal number | Vertical velocity to apply when jump action is issued. |
Samples
minecraft:vibration_damper
(Source: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityComponents/minecraftComponent_vibration_damper.md)
Vibrations emitted by an entity with this component will be ignored.
Samples
Warden
"minecraft:vibration_damper": {}
minecraft:vibration_listener
(Source: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityComponents/minecraftComponent_vibration_listener.md)
Allows the entity to listen to vibration events. This is a largely-internal component, that is only supported on the Warden and Allay mobs.
Samples
Allay
"minecraft:vibration_listener": {}
minecraft:walk_animation_speed
(Source: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityComponents/minecraftComponent_walk_animation_speed.md)
Sets the speed multiplier for this entity's walk animation speed.
Walk Animation Speed Properties
| Name | Default Value | Type | Description |
|---|---|---|---|
| value | 1 | Decimal number | The higher the number, the faster the animation for walking plays. A value of 1.0 means normal speed, while 2.0 means twice as fast. |
minecraft:wants_jockey
(Source: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityComponents/minecraftComponent_wants_jockey.md)
Sets that this entity wants to become a jockey.
minecraft:water_movement
(Source: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityComponents/minecraftComponent_water_movement.md)
Customizes how the entity moves through water by adjusting drag coefficient. Lower values let entities glide through water easily like fish, while higher values create resistance for entities that struggle in water. Essential for aquatic mobs, boats, and any entity needing custom underwater physics.
Water Movement Properties
| Name | Default Value | Type | Description | Example Values |
|---|---|---|---|---|
| drag_factor | 0.8 | Decimal number | Drag factor to determine movement speed when in water. | Polar Bear: 0.98 |
Samples
Polar Bear
"minecraft:water_movement": {
"drag_factor": 0.98
}
minecraft:wither_target_highest_damage
(Source: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityComponents/minecraftComponent_wither_target_highest_damage.md)
Allows the wither to focus its attacks on whichever mob has dealt the most damage to it.
Entity Wither Target Highest Damage Properties
| Name | Default Value | Type | Description |
|---|---|---|---|
| control_flags | [] | Control Flags choices | |
| entity_types | [] | Array of objects | List of entity types the wither takes into account to find who dealt the most damage to it |
| entity_types (Entity Types) | not set | Entity Types (Entity Types) item | |
| priority | 0 | Integer number |
Control Flags choices
| Value | Title | Description |
|---|---|---|
| jump | Jump | |
| look | Look | |
| move | Move |
Entity Types (Entity Types)
Entity Types Properties
JSON path: entity_types
| Name | Default Value | Type | Description |
|---|---|---|---|
| check_if_outnumbered | false | Boolean true/false | If true, the mob will check if its outnumbered |
| cooldown | 0 | Integer number | The amount of time in seconds that the mob has to wait before selecting a target of the same type again |
| filters (Filters) | {"AND":null,"NOT":null,"OR":null,"all":null,"all_of":null,"any":null,"any_of":null,"none_of":null} | Filters item | Conditions that make this entry in the list valid |
| filters (Alternate 1) | not set | Object | |
| max_dist | 16 | Decimal number | Maximum distance this mob can be away to be a valid choice |
| max_flee | 10 | Decimal number | Maximum distance this mob can be from the target to stop fleeing |
| max_height | -1 | Decimal number | Maximum height this mob can be away to be a valid choice |
| must_see | not set | Boolean true/false | If true, the mob has to be visible to be a valid choice |
| must_see_forget_duration | 3 | Integer number | Determines the amount of time in seconds that this mob will look for a target before forgetting about it and looking for a new one when the target isn't visible any more |
| priority | 0 | Integer number | Priority for this mob type |
| reevaluate_description | false | Boolean true/false | If true, the mob will stop being targeted if it stops meeting any conditions. |
| sprint_speed_multiplier | 1 | Decimal number | Multiplier for the sprinting speed. A value of 1.0 means the speed is unchanged |
| walk_speed_multiplier | 1 | Decimal number | Multiplier for the walking speed. A value of 1.0 means the speed is unchanged |
Filters
Filters Properties
JSON path: entity_types > filters
| Name | Default Value | Type | Description |
|---|---|---|---|
| domain | not set | Object | The domain the test should be performed in. |
| operator | not set | Object | The comparison to apply with 'value'. |
| subject | not set | Object | The subject of this filter test. |
| test | not set | String | The name of the test to apply. |
| value | not set | Object | The value being compared with the test. |
| id | Source | License | Commit | Accessed |
|---|---|---|---|---|
ms-learn | Minecraft Creator documentation (Microsoft Learn) | CC BY 4.0 (documentation), MIT (code) | a9fd1c0 | 2026-11-13 |