Only usable by the Ender Dragon. Adds a trigger to call when this entity starts flying.
Entity On Start Takeoff Properties
| Name | Default Value | Type | Description | Example Values |
|---|---|---|---|---|
| event | String | The event to run when the conditions for this trigger are met. | Ender Dragon: "minecraft:start_fly" |
|
| 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 | The target of the event. | Ender Dragon: "self" |
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: 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
Ender Dragon
"minecraft:on_start_takeoff": {
"event": "minecraft:start_fly",
"target": "self"
}