EntityCanFlyComponent Class

Extends

When added, this component signifies that the entity can fly, and the pathfinder won't be restricted to paths where a solid block is required underneath it.

Constants

componentId

static read-only componentId = "minecraft:can_fly";

Type: string