跳转至

Game Event Movement Tracking

文档版本:1.21.0.24

Allows 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.

架构

game_event_movement_tracking:
{
  boolean "emit_flap" : opt
  boolean "emit_move" : opt
  boolean "emit_swim" : opt
}
emit_flapboolean
If true, the flap game event will be emitted when the entity moves through air.
emit_moveboolean
If true, the entityMove game event will be emitted when the entity moves on ground or through a solid.
emit_swimboolean
If true, the swim game event will be emitted when the entity moves through a liquid.