Class EntityMovementComponentBeta

Defines the general movement speed of this entity.

Hierarchy

Constructors

Properties

current: number
typeId: string
value: number
componentId: "minecraft:movement" = 'minecraft:movement'

Remarks

Identifier of this component. Should always be minecraft:movement.

Methods

  • Returns void

    Remarks

    This function can't be called in read-only mode.

    Throws

    This function can throw errors.

  • Returns void

    Remarks

    This function can't be called in read-only mode.

    Throws

    This function can throw errors.

  • Returns void

    Remarks

    This function can't be called in read-only mode.

    Throws

    This function can throw errors.

  • Parameters

    • value: number

    Returns boolean

    Remarks

    This function can't be called in read-only mode.

    Throws

    This function can throw errors.