1. Wiki
  2. /Entities
  3. /minecraft:game_event_movement_tracking

minecraft:game_event_movement_tracking

Don't want to write this by hand? GodCraft sets minecraft:game_event_movement_tracking for you with a switch.Get GodCraft

Overview

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

FieldTypeDefaultDescription
emit_movebooleantrueSends a movement vibration when walking on ground or through solid blocks.
emit_swimbooleantrueSends a swim vibration when moving through liquid.
emit_flapbooleanfalseSends 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
  }
}

We use cookies to improve your experience and analyse site traffic. Learn more