Class EntityUnderwaterMovementComponentBeta

Defines the general movement speed underwater of this entity.

Hierarchy

Constructors

Properties

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

Remarks

Identifier of this component. Should always be minecraft:underwater_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.