Implements a class that can be used for testing sculk spreading behaviors. This sculk spreader class can drive the growth of sculk around a particular block.

Properties

maxCharge: number

Gets the maximum charge of a sculk spreader.

This property can throw when used.

Methods

  • Parameters

    Returns void

    Adds a cursor - which is a notional waypoint that the sculk will spread in the direction of.

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

  • Parameters

    • index: number

    Returns Vector3

    Retrieves the current position of the specified cursor.

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

    This function can throw errors.

  • Returns number

    Returns a number of overall cursors for this sculk spreader.

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

    This function can throw errors.

  • Returns number

    Gets the total current charge of the sculk spreader.

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

    This function can throw errors.