Entity component reference (21/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:tick_world
(Source: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityComponents/minecraftComponent_tick_world.md)
Defines if the entity ticks the world and the radius around it to tick.
Entity Tick World Properties
| Name | Default Value | Type | Description |
|---|---|---|---|
| distance_to_players | 128 | Decimal number | The distance at which the closest player has to be before this entity despawns. This option will be ignored if never_despawn is true. Value must be >= 128. |
| never_despawn | true | Boolean true/false | If true, this entity will not despawn even if players are far away. If false, distance_to_players will be used to determine when to despawn. |
| radius | 2 | Integer number | The area around the entity to tick. Value must be >= 2. Value must be <= 6. |
minecraft:timer
(Source: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityComponents/minecraftComponent_timer.md)
Adds a timer after which an event will fire.
Entity Timer Properties
| Name | Default Value | Type | Description |
|---|---|---|---|
| looping | true | Boolean true/false | If true, the timer will restart every time after it fires. |
| random_time_choices | [] | Array of Random Time Choices items | This is a list of objects, representing one value in seconds that can be picked before firing the event and an optional weight. Incompatible with time. |
| randomInterval | true | Boolean true/false | If true, the amount of time on the timer will be random between the min and max values specified in time. |
| time (Legacy FloatRange) | not set | Time item | Amount of time in seconds for the timer. Can be specified as a number or a pair of numbers (min and max). Incompatible with random_time_choices. |
| time (as Decimal number) | not set | Decimal number | |
| time_down_event (Entity ActorDefinitionTrigger) | {"event":"","filters":{"AND":null,"NOT":null,"OR":null,"all":null,"all_of":null,"any":null,"any_of":null,"none_of":null},"target":"self"} | Time Down Event item | Event to fire when the time on the timer runs out. Can be an object with event and target properties, or a simple event string. |
| time_down_event (as String) | not set | String |
Entity TimerWeightChoiceEntry
Entity TimerWeightChoiceEntry Properties
JSON path: random_time_choices
| Name | Default Value | Type | Description |
|---|---|---|---|
| value | 0 | Decimal number | |
| weight | 0 | Integer number |
Legacy FloatRange
Legacy FloatRange Properties
JSON path: time
| Name | Default Value | Type | Description |
|---|---|---|---|
| max | 0 | Decimal number | |
| min | 0 | Decimal number |
Entity ActorDefinitionTrigger
Triggers an entity event when specified conditions are met. Events activate component groups that change entity behavior—transforming villagers into zombie villagers, switching mobs to aggressive mode, or triggering growth stages. Combine with filters to create conditional state machines that respond to gameplay.
Entity ActorDefinitionTrigger Properties
JSON path: time_down_event
| Name | Default Value | Type | Description |
|---|---|---|---|
| event | String | ||
| filters (Filters) | {"AND":null,"NOT":null,"OR":null,"all":null,"all_of":null,"any":null,"any_of":null,"none_of":null} | Filters item | Filters allow data objects to specify test criteria which allows their use. |
| filters (Alternate 1) | not set | Object | |
| target | self | Target choices |
filters
Filters allow data objects to specify test criteria which allows their use. Filters can be defined by a single object of type (Filter Test), an array of tests, collection groups, or a combination of these objects.
Filters
Filters Properties
JSON path: time_down_event > 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. |
Target choices
| Value | Title | Description |
|---|---|---|
| baby | Baby | |
| block | Block | |
| damager | Damager | |
| holder | Holder | |
| item | Item | |
| other | Other | |
| parent | Parent | |
| player | Player | |
| self | Self | |
| target | Target |
Samples
minecraft:trade_resupply
(Source: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityComponents/minecraftComponent_trade_resupply.md)
Resupplies an entity's trade.
minecraft:trade_table
(Source: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityComponents/minecraftComponent_trade_table.md)
Defines this entity's ability to trade with players.
Entity Trade Table Properties
| Name | Default Value | Type | Description |
|---|---|---|---|
| convert_trades_economy | false | Boolean true/false | Determines when the mob transforms, if the trades should be converted when the new mob has a economy_trade_table. |
| display_name | String | Name to be displayed while trading with this entity. | |
| new_screen | false | Boolean true/false | Used to determine if trading with entity opens the new trade screen. |
| persist_trades | false | Boolean true/false | Determines if the trades should persist when the mob transforms. |
| table | String | File path relative to the behavior pack root for this entity's trades. |
convert_trades_economy
Determines when the mob transforms, if the trades should be converted when the new mob has a economy_trade_table. When the trades are converted, the mob will generate a new trade list with their new trade table, but then it will try to convert any of the same trades over to have the same enchantments and user data. For example, if the original has a Emerald to Enchanted Iron Sword (Sharpness 1), and the new trade also has an Emerald for Enchanted Iron Sword, then the enchantment will be Sharpness 1.
persist_trades
Determines if the trades should persist when the mob transforms. This makes it so that the next time the mob is transformed to something with a trade_table or economy_trade_table, then it keeps their trades.
Samples
minecraft:trail
(Source: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityComponents/minecraftComponent_trail.md)
Causes an entity to leave a trail of blocks as it moves about the world. Obeys Mob Griefing rules.
Entity Trail Properties
| Name | Default Value | Type | Description |
|---|---|---|---|
| block_type | air | String | The type of block that is placed. Solid blocks cannot be placed at the entity's position when offset is [0, 0, 0]. |
| extent | 0 | Integer number | Maximum horizontal distance from the center at which blocks can be placed. Value must be <= 16. |
| offset | [0, 0, 0] | Array of numbers | Offset from the entity's position used to determine where trail blocks are placed and placement checks are applied, capped at 16 blocks away. |
| offset (Offset) | not set | Offset (Offset) item | |
| place_only_on_block_position_change | false | Boolean true/false | When true, trail blocks are only placed on ticks where the bottom of the entity moves into a different block position, or where the entity lands (goes from airborne to grounded). |
| placement_checks | block | Placement Checks choices | Controls the checks applied at each trail block placement position before placing the trail block. |
| placement_conditions | [[object Object]] | Array of Placement Conditions items | Conditions that must all be satisfied relative to the trail block placement position. |
| placement_filter (Placement Filter) | {"AND":null,"NOT":null,"OR":null,"all":null,"all_of":null,"any":null,"any_of":null,"none_of":null} | Placement Filter item | One or more conditions that must be met in order to cause the chosen block type to be placed. |
| placement_filter (Alternate 1) | not set | Object | |
| shape | corners | Shape choices | Controls the horizontal placement pattern. 'corners' places four corner blocks, 'square' fills a square, and 'circle' fills a circular disk. Defaults to 'corners'. |
| spawn_filter | not set | Minecraft filter | Conditions that must be met for the trail block to be placed. |
| spawn_offset | [0, 0, 0] | x, y, z coordinate array | Offset from the entity's position where the trail block is placed. |
offset
Offset from the entity's position used to determine where trail blocks are placed and placement checks are applied, capped at 16 blocks away. X and Z are relative to the entity's orientation and rotate to its nearest cardinal facing; Y is a vertical offset.
place_only_on_block_position_change
When true, trail blocks are only placed on ticks where the bottom of the entity moves into a different block position, or where the entity lands (goes from airborne to grounded). Standing still or moving within the same block does not place blocks. Defaults to false.
placement_checks
Controls the checks applied at each trail block placement position before placing the trail block. 'none' applies no placement checks, 'block' applies block placement conditions, and 'standard' applies standard block placement rules, including clearance from entities that obblock placement.
placement_conditions
Conditions that must all be satisfied relative to the trail block placement position. Block types within one condition are alternatives. When omitted, defaults to [{ "y_offset": 0, "block_types": ["minecraft:air"] }]. Value must have at least 1 items.
Offset (Offset)
Offset Properties
JSON path: offset
| Name | Default Value | Type | Description |
|---|---|---|---|
| x | 0 | Decimal number | |
| y | 0 | Decimal number | |
| z | 0 | Decimal number |
Placement Checks choices
| Value | Title | Description |
|---|---|---|
| block | Block | |
| none | None | |
| standard | Standard |
Entity Trail Placement Conditions Entry
Entity Trail Placement Conditions Entry Properties
JSON path: placement_conditions
| Name | Default Value | Type | Description |
|---|---|---|---|
| block_types (Block Types) | [] | Array of Block Types items | Block types that satisfy this condition at its vertical offset from the placement position. Value must have at least 1 items. |
| block_types (as String) | not set | String | |
| block_types (as Object) | not set | Object | |
| y_offset | 0 | Integer number | Vertical offset from the trail block placement position. Defaults to 0. Value must be >= -16. Value must be <= 16. |
Block Types
Block Types Properties
JSON path: placement_conditions > block_types
| Name | Default Value | Type | Description |
|---|---|---|---|
| name | String | ||
| states | {} | Integer number | |
| states (as String) | not set | String | |
| states (as Boolean true/false) | not set | Boolean true/false | |
| tags | String |
Placement Filter
Placement Filter Properties
JSON path: placement_filter
| 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. |
Shape choices
| Value | Title | Description |
|---|---|---|
| circle | Circle | |
| corners | Corners | |
| square | Square |
Samples
minecraft:trail_placement_conditions_entry
(Source: ms-learn, creator/Reference/Content/EntityReference/Examples/EntityComponents/minecraftComponent_trail_placement_conditions_entry.md)
The original has no description. See the property table.
Entity Trail Placement Conditions Entry Properties
| Name | Default Value | Type | Description |
|---|---|---|---|
| block_types (Block Types) | [] | Array of Block Types items | Block types that satisfy this condition at its vertical offset from the placement position. Value must have at least 1 items. |
| block_types (as String) | not set | String | |
| block_types (as Object) | not set | Object | |
| y_offset | 0 | Integer number | Vertical offset from the trail block placement position. Defaults to 0. Value must be >= -16. Value must be <= 16. |
Block Types
Block Types Properties
JSON path: block_types
| Name | Default Value | Type | Description |
|---|---|---|---|
| name | String | ||
| states | {} | Integer number | |
| states (as String) | not set | String | |
| states (as Boolean true/false) | not set | Boolean true/false | |
| tags | String |
| id | Source | License | Commit | Accessed |
|---|---|---|---|---|
ms-learn | Minecraft Creator documentation (Microsoft Learn) | CC BY 4.0 (documentation), MIT (code) | a9fd1c0 | 2026-11-13 |