Entity Documentation - minecraft:game_event_movement_tracking
minecraft:game_event_movement_tracking
compels an entity to emit entityMove
, swim
and flap
game events, depending on the block the entity is moving through. It is added by default to every mob. Add it again to override its behavior.
Parameters
Name | Default Value | Type | Description |
---|---|---|---|
emit_flap | false | Boolean | If true, the flap game event will be emitted when the entity moves through air. |
emit_move | true | Boolean | If true, the entityMove game event will be emitted when the entity moves on ground or through a solid. |
emit_swim | true | Boolean | If true, the swim game event will be emitted when the entity moves through a liquid. |
Example
"minecraft:game_event_movement_tracking":{
"emit_flap": false,
"emit_move": true,
"emit_swim": true
}
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈