minecraft:game_event_movement_tracking for you with a switch.Get GodCraftOverview
minecraft:game_event_movement_tracking is an entity component: it goes in the components object of a custom mob, or in one of its component groups. Lets the entity's movement send vibration game events that sculk sensors and wardens can detect. Every mob has it by default; add it to change which events are sent.
Fields
| Field | Type | Default | Description |
|---|---|---|---|
emit_move | boolean | true | Sends a movement vibration when walking on ground or through solid blocks. |
emit_swim | boolean | true | Sends a swim vibration when moving through liquid. |
emit_flap | boolean | false | Sends a flap vibration when moving through the air. |
Example
Inside the components object of BP/entities/<name>.json (values are the defaults or placeholders):
BP/entities/<name>.json
{
"minecraft:game_event_movement_tracking": {
"emit_move": true,
"emit_swim": true,
"emit_flap": false
}
}