Skip to main content

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​

NameDefault ValueTypeDescription
probability1Decimal numberThe chance of the entity trusting with each item use between 0.0 and 1.0, where 1.0 is 100%.
trust_eventnot setObjectEvent 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 setString
trust_itemsnot setArray of stringsThe 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 setString

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​

NameDefault ValueTypeDescriptionExample Values
familynot setFamily choicesA 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​

ValueTitleDescription
mobMob
inanimateInanimate
aquaticAquatic
monsterMonster
undeadUndead
skeletonSkeleton
arthropodArthropod
zombieZombie
lightweightLightweight
fishFish
playerPlayer

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​

NameDefault ValueTypeDescriptionExample Values
valuenot setDecimal numberMovement 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_modifier behavior 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 whose format_version is 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​

NameDefault ValueTypeDescription
base_value0.5625Decimal numberThe maximum auto step height when on any other block.
controlled_value0.5625Decimal numberThe maximum auto step height when on any other block and controlled by the player.
jump_prevented_value0.5625Decimal numberThe 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​

NameDefault ValueTypeDescriptionExample Values
value0Integer numberThe 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​

NameDefault ValueTypeDescription
vertical_velocity0.5Decimal numberVertical 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​

NameDefault ValueTypeDescription
value1Decimal numberThe 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​

NameDefault ValueTypeDescriptionExample Values
drag_factor0.8Decimal numberDrag 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​

NameDefault ValueTypeDescription
control_flags[]Control Flags choices
entity_types[]Array of objectsList of entity types the wither takes into account to find who dealt the most damage to it
entity_types (Entity Types)not setEntity Types (Entity Types) item
priority0Integer number

Control Flags choices​

ValueTitleDescription
jumpJump
lookLook
moveMove

Entity Types (Entity Types)​

Entity Types Properties​

JSON path: entity_types

NameDefault ValueTypeDescription
check_if_outnumberedfalseBoolean true/falseIf true, the mob will check if its outnumbered
cooldown0Integer numberThe 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 itemConditions that make this entry in the list valid
filters (Alternate 1)not setObject
max_dist16Decimal numberMaximum distance this mob can be away to be a valid choice
max_flee10Decimal numberMaximum distance this mob can be from the target to stop fleeing
max_height-1Decimal numberMaximum height this mob can be away to be a valid choice
must_seenot setBoolean true/falseIf true, the mob has to be visible to be a valid choice
must_see_forget_duration3Integer numberDetermines 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
priority0Integer numberPriority for this mob type
reevaluate_descriptionfalseBoolean true/falseIf true, the mob will stop being targeted if it stops meeting any conditions.
sprint_speed_multiplier1Decimal numberMultiplier for the sprinting speed. A value of 1.0 means the speed is unchanged
walk_speed_multiplier1Decimal numberMultiplier for the walking speed. A value of 1.0 means the speed is unchanged
Filters​
Filters Properties​

JSON path: entity_types > filters

NameDefault ValueTypeDescription
domainnot setObjectThe domain the test should be performed in.
operatornot setObjectThe comparison to apply with 'value'.
subjectnot setObjectThe subject of this filter test.
testnot setStringThe name of the test to apply.
valuenot setObjectThe value being compared with the test.
Sources
idSourceLicenseCommitAccessed
ms-learnMinecraft Creator documentation (Microsoft Learn)CC BY 4.0 (documentation), MIT (code)a9fd1c02026-11-13