Script API - v1.20.0
    Preparing search index...

    Class EntityUnderwaterMovementComponentBeta

    Defines the general movement speed underwater of this entity.

    Hierarchy (View Summary)

    Index

    Properties

    current: number
    entity: Entity

    The entity that owns this component.

    typeId: string

    Identifier of the component.

    value: number
    componentId: "minecraft:underwater_movement" = 'minecraft:underwater_movement'

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

    Methods