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

    Class EntityLavaMovementComponentBeta

    Defines the base movement speed in lava of this entity.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    current: number

    Read-only. Returns the current value of movement speed on lava for the entity.

    This property can throw when used.

    typeId: string

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

    value: number

    Value for movement speed on lava as defined through entity components.

    This property can throw when used.

    componentId: "minecraft:lava_movement" = 'minecraft:lava_movement'

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

    Methods

    • Beta

      Returns void

      Resets the current movement speed on lava for the entity to its default value.

      This function can throw errors.

    • Beta

      Returns void

      Resets the movement speed on lava to the maximum value for the entity.

      This function can throw errors.

    • Beta

      Returns void

      Resets the movement speed on lava speed to the minimum value.

      This function can throw errors.

    • Beta

      Parameters

      • value: number

      Returns boolean

      Sets the current value of movement speed on lava for the entity.

      This function can throw errors.