类 SculkSpreader实验性

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.

属性

maxCharge: number

Gets the maximum charge of a sculk spreader.

This property can throw when used.

方法

  • 实验性

    参数

    返回 void

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

    无法在只读模式下调用此函数,详见 WorldBeforeEvents

  • 实验性

    参数

    • index: number

    返回 Vector3

    Retrieves the current position of the specified cursor.

    无法在只读模式下调用此函数,详见 WorldBeforeEvents

    This function can throw errors.

  • 实验性

    返回 number

    Returns a number of overall cursors for this sculk spreader.

    无法在只读模式下调用此函数,详见 WorldBeforeEvents

    This function can throw errors.

  • 实验性

    返回 number

    Gets the total current charge of the sculk spreader.

    无法在只读模式下调用此函数,详见 WorldBeforeEvents

    This function can throw errors.