EntityMovementGlideComponent Class

Caution

This class is still in pre-release. Its signature may change or it may be removed in future releases.

Extends

When added, this movement control allows the mob to glide.

Properties

speedWhenTurning

read-only speedWhenTurning: number;

Speed in effect when the entity is turning.

Type: number

Warning

This property can throw errors when used.

startSpeed

read-only startSpeed: number;

Start speed during a glide.

Type: number

Warning

This property can throw errors when used.

Constants

componentId

static read-only componentId = "minecraft:movement.glide";

Type: string