Entity Documentation - minecraft:on_start_takeoff
minecraft:on_start_takeoff
adds a trigger to call when this entity starts flying.
Important
minecraft:on_start_takeoff
can only be used by the ender_dragon
entity.
Parameters
Name | Default Value | Type | Description |
---|---|---|---|
event | not set | String | The event to run when the conditions for this trigger are met. |
filters | not set | Minecraft Filter | The list of conditions for this trigger to execute. |
target | self | String | The target of the event. |
Example
"minecraft:on_start_takeoff":{
"event": "minecraft:prepare_for_takeoff",
"filters": "is_daytime",
"target": "self",
}
Vanilla entities examples
ender_dragon
"minecraft:on_start_takeoff": {
"event": "minecraft:start_fly",
"target": "self"
}
Vanilla entities using minecraft:on_start_takeoff
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈