Class EntityUnderwaterMovementComponentBeta

Defines the general movement speed underwater of this entity.

Hierarchy

Constructors

Properties

current: number
entity: Entity

Remarks

The entity that owns this component.

typeId: string

Remarks

Identifier of the component.

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.