Entity component reference (10/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:is_dyeable
(Source: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityComponents/minecraftComponent_is_dyeable.md)
Allows dyes to be used on this entity to change its color.
Is Dyeable Properties
| Name | Default Value | Type | Description | Example Values |
|---|---|---|---|---|
| interact_text | not set | String | The text that will display when interacting with this entity with a dye when playing with Touch-screen controls. | Sheep: "action.interact.dye" |
Samples
Sheep
"minecraft:is_dyeable": {
"interact_text": "action.interact.dye"
}
minecraft:is_hidden_when_invisible
(Source: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityComponents/minecraftComponent_is_hidden_when_invisible.md)
The entity can hide from hostile mobs while invisible.
Samples
Allay
"minecraft:is_hidden_when_invisible": {}
minecraft:is_ignited
(Source: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityComponents/minecraftComponent_is_ignited.md)
Sets that this entity is currently on fire.
Samples
Tnt Minecart
At /minecraft:entity/component_groups/minecraft:instant_explode_tnt/minecraft:is_ignited/:
"minecraft:is_ignited": {}
minecraft:is_illager_captain
(Source: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityComponents/minecraftComponent_is_illager_captain.md)
Sets that this entity is an Illager Captain.
Samples
minecraft:is_pregnant
(Source: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityComponents/minecraftComponent_is_pregnant.md)
Sets that this entity is currently pregnant.
Samples
Sniffer
"minecraft:is_pregnant": {}
minecraft:is_saddled
(Source: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityComponents/minecraftComponent_is_saddled.md)
Sets that this entity is currently saddled.
Samples
Pig
"minecraft:is_saddled": {}
minecraft:is_shaking
(Source: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityComponents/minecraftComponent_is_shaking.md)
Sets that this entity is currently shaking.
Samples
Drowned
At /minecraft:entity/component_groups/minecraft:convert_to_zombie/minecraft:is_shaking/:
"minecraft:is_shaking": {}
minecraft:is_sheared
(Source: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityComponents/minecraftComponent_is_sheared.md)
Sets that this entity is currently sheared.
Samples
Bogged
"minecraft:is_sheared": {}
minecraft:is_stackable
(Source: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityComponents/minecraftComponent_is_stackable.md)
Allows instances of this entity to have vertical and horizontal collisions with each other. For a collision to occur, both instances must have a "minecraft:collision_box" component. Stackable behavior is closely related to collidable behavior. While the "minecraft:is_stackable" component describes how an entity interacts with others of its own kind, the "minecraft:is_collidable" component governs how other mobs interact with the component's owner.
Is Stackable Properties
| Name | Default Value | Type | Description |
|---|---|---|---|
| value | true | Boolean true/false | Whether this entity is stackable. |
Samples
Boat
"minecraft:is_stackable": {}
minecraft:is_stunned
(Source: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityComponents/minecraftComponent_is_stunned.md)
Sets that this entity is currently stunned.
Samples
minecraft:is_tamed
(Source: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityComponents/minecraftComponent_is_tamed.md)
Sets that this entity is currently tamed.
Samples
Llama
"minecraft:is_tamed": {}
minecraft:item_controllable
(Source: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityComponents/minecraftComponent_item_controllable.md)
Defines what items can be used to control this entity while ridden.
Item Controllable Properties
| Name | Default Value | Type | Description | Example Values |
|---|---|---|---|---|
| control_items | not set | Array of strings | List of items that can be used to control this entity while ridden. Can be a single string or an array of strings. | Pig: "carrotOnAStick", Strider: "warped_fungus_on_a_stick" |
| control_items (as String) | not set | String |
Samples
Pig
"minecraft:item_controllable": {
"control_items": "carrotOnAStick"
}
Strider
"minecraft:item_controllable": {
"control_items": "warped_fungus_on_a_stick"
}
minecraft:item_hopper
(Source: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityComponents/minecraftComponent_item_hopper.md)
Determines that this entity is an item hopper.
Samples
Hopper Minecart
"minecraft:item_hopper": {}
minecraft:jump.dynamic
(Source: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityComponents/minecraftComponent_jump.dynamic.md)
Defines a dynamic type jump control that will change jump properties based on the speed modifier of the mob.Requires minecraft:movement.skip to be used.
Entity Dynamic Jump Properties
| Name | Default Value | Type | Description |
|---|---|---|---|
| fast_skip_data | {"animation_duration":1,"distance_scale":1,"height":0.10000000149011612,"jump_delay":30} | Fast Skip Data item | Jump data used while traveling quickly with skip movement. Object with the same shape as regular_skip_data. This item requires a format version of at least 1.26.0. |
| regular_skip_data | {"animation_duration":1,"distance_scale":1,"height":0.10000000149011612,"jump_delay":30} | Regular Skip Data item | Jump data used during normal skip movement. |
regular_skip_data
Jump data used during normal skip movement. Object with optional distance_scale (horizontal velocity multiplier), height (vertical force), jump_delay (ticks between jumps), and animation_duration (jump animation length). This item requires a format version of at least 1.26.0.
Entity JumpDataDefinition
Entity JumpDataDefinition Properties
JSON path: fast_skip_data
| Name | Default Value | Type | Description |
|---|---|---|---|
| animation_duration | 1 | Integer number | Duration of the jump animation. |
| distance_scale | 1 | Decimal number | The multiplier applied to horizontal velocity when jumping. |
| height | 0.10000000149011612 | Decimal number | The force applied vertically when jumping. |
| jump_delay | 30 | Integer number | Amount of ticks between sequential jumps. |
Samples
minecraft:jump.static
(Source: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityComponents/minecraftComponent_jump.static.md)
Gives the entity the ability to jump.
Entity Static Jump Properties
| Name | Default Value | Type | Description |
|---|---|---|---|
| jump_power | 0.41999998688697815 | Decimal number | The initial vertical velocity for the jump. |
Samples
Allay
"minecraft:jump.static": {}
minecraft:knockback_resistance
(Source: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityComponents/minecraftComponent_knockback_resistance.md)
Determines an entity's resistance to knockback from melee attacks. A value of 0.0 means no resistance, while 1.0 provides full immunity to knockback (like iron golems).
[!Note] In format version 1.26.20,
valuenow accepts negative numbers down to a minimum of-2. Negative values amplify knockback applied to the entity instead of diminishing it.
Alternate Simple Representations
This item can also be represented as a Decimal number.
Knockback Resistance Properties
| Name | Default Value | Type | Description | Example Values |
|---|---|---|---|---|
| max | not set | Decimal number | Maximum potential knockback resistance for this entity. | Ender Dragon: 100 |
| value | not set | Decimal number | The amount of knockback resistance, from 0.0 (none) to 1.0 (full immunity). | Armor Stand: 1, Ender Dragon: 100 |
Samples
Armor Stand
"minecraft:knockback_resistance": {
"value": 1
}
Breeze
"minecraft:knockback_resistance": {
"value": 0
}
Ender Dragon
"minecraft:knockback_resistance": {
"max": 100,
"value": 100
}
minecraft:lava_movement
(Source: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityComponents/minecraftComponent_lava_movement.md)
Allows a custom movement speed across lava blocks.
Lava Movement Properties
| Name | Default Value | Type | Description | Example Values |
|---|---|---|---|---|
| value | not set | Decimal number | The speed the mob moves over a lava block. | Strider: 0.32 |
Samples
Strider
"minecraft:lava_movement": {
"value": 0.32
}
minecraft:leashable
(Source: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityComponents/minecraftComponent_leashable.md)
Describes how this mob can be leashed to other items.
[!Note] In 1.21.90, the
can_be_cutroot field and thespring_typeandrotation_adjustmentfields withinpresetswere added.
[!Note] From 1.21.80 onward, supports multiple presets via the
presetsarray. Each preset has its ownfilter,hard_distance,soft_distance, andmax_distance— replacing the flat root fields previously used.
Leashable Properties
| Name | Default Value | Type | Description | Example Values |
|---|---|---|---|---|
| can_be_cut | true | Boolean true/false | If true, players can cut both incoming and outgoing leashes by using shears on the entity. This item requires a format version of at least 1.21.90. | |
| can_be_stolen | false | Boolean true/false | If true, players can leash this entity even if it is already leashed to another entity. | |
| hard_distance | 6 | Integer number | Distance in blocks at which the leash stiffens, restricting movement. | |
| max_distance | 0 | Integer number | Distance in blocks it which the leash breaks. | |
| on_leash | not set | Object | Event to call when this entity is leashed. Can be an object with event and target properties, or a simple event string. | |
| on_leash (as String) | not set | String | ||
| on_unleash | not set | Object | Event to call when this entity is unleashed. Can be an object with event and target properties, or a simple event string. | |
| on_unleash (as String) | not set | String | ||
| on_unleash_interact_only | false | Boolean true/false | When set to true, "on_unleash" does not trigger when the entity gets unleashed for reasons other than the player directly interacting with it. | |
| presets | not set | Array of Presets items | Defines how this entity behaves when leashed to another entity. The first preset which "filter" conditions are met will be applied; if none match, a default configuration is used instead. | Boat: [{"filter":{"subject":"other","test":"is_family","value":"happy_ghast"},"rotation_adjustment":90,"spring_type":"quad_dampened"},{"hard_distance":4,"rotation_adjustment":90,"soft_distance":2}] |
| soft_distance | 4 | Integer number | Distance in blocks at which the 'spring' effect starts acting to keep this entity close to the entity that leashed it. | |
| unleash_on_removal | true | Boolean true/false | If true, the entity is unleashed when this component is removed. Defaults to true. This item requires a format version of at least 1.26.30. |
Presets
Defines how this entity behaves when leashed to another entity. The first preset which "filter" conditions are met will be applied; if none match, a default configuration is used instead.
Presets Properties
JSON path: presets
| Name | Default Value | Type | Description |
|---|---|---|---|
| filter | not set | Minecraft filter | Conditions that must be met for this preset to be applied. |
| hard_distance | 7 | Decimal number | Distance (in blocks) over which the entity starts being pulled towards the leash holder with a spring-like force. |
| max_distance | 12 | Decimal number | Distance in blocks it which the leash breaks. |
| rotation_adjustment | 0 | Decimal number | Adjusts the rotation at which the entity reaches equilibrium, when "spring_type" is set to "dampened" or "quad_dampened". |
| soft_distance | 4 | Decimal number | Distance (in blocks) over which the entity starts pathfinding toward the leash holder, if able. |
| spring_type | dampened | String | Defines the type of spring-like force that pulls the entity towards its leash holder: - "bouncy": Simulates a highly elastic spring that never reaches an equilibrium if the leashed entity is suspended mid-air. |
hard_distance
Distance (in blocks) over which the entity starts being pulled towards the leash holder with a spring-like force. Entities can enter and stay in vehicles if the leash is stretched under this distance, but will dismount once it exceeds it.
spring_type
Defines the type of spring-like force that pulls the entity towards its leash holder: - "bouncy": Simulates a highly elastic spring that never reaches an equilibrium if the leashed entity is suspended mid-air. - "dampened": Simulates a dampened spring attached to the front of the leashed entity's collision. It reaches an equilibrium if the entity is suspended mid-air and aligns with the movement direction. - "quad_dampened": Simulates four dampened springs connected to the center of each side of the entities' collisions. It reaches an equilibrium if the entity is suspended mid-air and gradually aligns with the leash holder over time.
Samples
Allay
"minecraft:leashable": {}
Boat
"minecraft:leashable": {
"presets": [
{
"filter": {
"subject": "other",
"test": "is_family",
"value": "happy_ghast"
},
"rotation_adjustment": 90,
"spring_type": "quad_dampened"
},
{
"hard_distance": 4,
"rotation_adjustment": 90,
"soft_distance": 2
}
]
}
Chicken
"minecraft:leashable": {
"unleash_on_removal": false
}
minecraft:leashable_to
(Source: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityComponents/minecraftComponent_leashable_to.md)
Allows players to leash entities to this entity, retrieve entities already leashed to it, or free them using shears. For the last interaction to work, the leashed entities must have "can_be_cut" set to true in their "minecraft:leashable" component.
[!Note] This item requires a format version of at least 1.21.90.
Leashable To Properties
| Name | Default Value | Type | Description |
|---|---|---|---|
| can_retrieve_from | false | Boolean true/false | Allows players to retrieve entities that are leashed to this entity. |
| unleash_on_removal | true | Boolean true/false | If true, all entities leashed to this entity are automatically unleashed when this component is removed. Defaults to true. This item requires a format version of at least 1.26.30. |
Samples
Allay
"minecraft:leashable_to": {}
Chicken
"minecraft:leashable_to": {
"unleash_on_removal": false
}
minecraft:looked_at
(Source: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityComponents/minecraftComponent_looked_at.md)
Defines the behavior when another entity looks at the owner entity.
Looked At Properties
| Name | Default Value | Type | Description |
|---|---|---|---|
| field_of_view | 26 | Decimal number | Defines, in degrees, the width of the field of view for entities looking at the owner entity. |
| filters | not set | Minecraft filter | Defines which entities are considered when searching for entities looking at the owner entity. |
| find_players_only | false | Boolean true/false | Limits the search to only the nearest Player that meets the specified "filters" rather than all nearby entities. |
| line_of_sight_obstruction_type | collision | String | Defines the type of block shape used to check for line of sight obstructions. Valid values: "outline", "collision", "collision_for_camera". |
| look_at_locations | not set | Array of strings | A list of locations on the owner entity towards which line of sight checks are performed. At least one location must be unobstructed for the entity to be considered as looked at. |
| looked_at_cooldown | not set | Range of integers | Specifies the range for the random number of seconds that must pass before the owner entity can check again for entities looking at it, after detecting an entity looking at it. |
| looked_at_event | not set | Minecraft Event Trigger | Defines the event to trigger when an entity is detected looking at the owner entity. |
| min_looked_at_duration | 0 | Decimal number | Defines the minimum, continuous time the owner entity has to be looked at before being considered as such. Defaults to 0 if not explicitly specified. |
| not_looked_at_event | not set | Minecraft Event Trigger | Defines the event to trigger when no entity is found looking at the owner entity. |
| scale_fov_by_distance | true | Boolean true/false | When true, the field of view narrows as the distance between the owner entity and the entity looking at it increases. |
| search_radius | 10 | Decimal number | Maximum distance the owner entity will search for entities looking at it. |
| set_target | false | Set Target choices | Defines if and how the owner entity will set entities that are looking at it as its combat targets. Valid values: 'never', 'once_and_stop_scanning', 'once_and_keep_scanning'. |
| set_target (as Integer number from a list of choices) | not set | Integer number from a list of choices | Set to true/false for legacy boolean targeting behavior. |
field_of_view
Defines, in degrees, the width of the field of view for entities looking at the owner entity. If "scale_fov_by_distance" is set to true, this value corresponds to the field of view at a distance of one block between the entities.
scale_fov_by_distance
When true, the field of view narrows as the distance between the owner entity and the entity looking at it increases. This ensures that the width of the view cone remains somewhat constant towards the owner entity position, regardless of distance.
Set Target choices
| Value | Title | Description |
|---|---|---|
| never | Never | |
| once_and_stop_scanning | Once And Stop Scanning | |
| once_and_keep_scanning | Once And Keep Scanning |
Samples
minecraft:loot
(Source: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityComponents/minecraftComponent_loot.md)
Specifies the loot table that determines what items this entity drops upon death. The table path is relative to the behavior pack's root folder.
[!Note] Requires a loot table to be used when dropping items upon death.
Loot Properties
| Name | Default Value | Type | Description |
|---|---|---|---|
| table | not set | String | Path to the loot table JSON file, relative to the behavior pack's root (e.g., 'loot_tables/entities/zombie.json'). |
Samples
| id | Source | License | Commit | Accessed |
|---|---|---|---|---|
ms-learn | Minecraft Creator documentation (Microsoft Learn) | CC BY 4.0 (documentation), MIT (code) | a9fd1c0 | 2026-11-13 |