Game Event Movement Tracking¶
文档版本:1.21.50.25
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_flap:boolean- If true, the
flapgame event will be emitted when the entity moves through air.
emit_move:boolean- If true, the
entityMovegame event will be emitted when the entity moves on ground or through a solid.
emit_swim:boolean- If true, the
swimgame event will be emitted when the entity moves through a liquid.