@minecraft
    正在准备搜索索引...

    Used to affect atmospheric scattering per biome for Vibrant Visuals

    索引

    方法

    • 世界修改

      返回 void

      Resets the horizon blend mie start to the value set by resource packs

      This function can throw errors.

      EngineError

    • 世界修改

      参数

      • blendMax: number | Record<number, number>

        Either a number (range [0,1]) or a set of keyframes. The keyframes are composed of key value pairs. The key is a number (range [0,1]) to signify a time of day (0.0 and 1.0 are noon, 0.25 is sunset, 0.5 is midnight, and 0.75 is sunrise). The value is also a number (range [0,1])

      返回 void

      Sets the horizon blend max for atmospheric scattering in Vibrant Visuals

      This function can throw errors.

      InvalidArgumentError

    • 世界修改

      参数

      • blendMieStart: number | Record<number, number>

        Either a number (range [0,1.2]) or a set of keyframes. The keyframes are composed of key value pairs. The key is a number (range [0,1]) to signify a time of day (0.0 and 1.0 are noon, 0.25 is sunset, 0.5 is midnight, and 0.75 is sunrise). The value is also a number (range [0,1.2])

      返回 void

      Sets the horizon blend mie start for atmospheric scattering in Vibrant Visuals

      This function can throw errors.

      InvalidArgumentError

    • 世界修改

      参数

      • blendMin: number | Record<number, number>

        Either a number (range [0,1]) or a set of keyframes. The keyframes are composed of key value pairs. The key is a number (range [0,1]) to signify a time of day (0.0 and 1.0 are noon, 0.25 is sunset, 0.5 is midnight, and 0.75 is sunrise). The value is also a number (range [0,1])

      返回 void

      Sets the horizon blend min for atmospheric scattering in Vibrant Visuals

      This function can throw errors.

      InvalidArgumentError

    • 世界修改

      参数

      • blendStart: number | Record<number, number>

        Either a number (range [0,1]) or a set of keyframes. The keyframes are composed of key value pairs. The key is a number (range [0,1]) to signify a time of day (0.0 and 1.0 are noon, 0.25 is sunset, 0.5 is midnight, and 0.75 is sunrise). The value is also a number (range [0,1])

      返回 void

      Sets the horizon blend start for atmospheric scattering in Vibrant Visuals

      This function can throw errors.

      InvalidArgumentError

    • 世界修改

      参数

      • moonMieStrength: number | Record<number, number>

        Either a number (range [0,60]) or a set of keyframes. The keyframes are composed of key value pairs. The key is a number (range [0,1]) to signify a time of day (0.0 and 1.0 are noon, 0.25 is sunset, 0.5 is midnight, and 0.75 is sunrise). The value is also a number (range [0,60])

      返回 void

      Sets the moon mie strength for atmospheric scattering in Vibrant Visuals

      This function can throw errors.

      InvalidArgumentError

    • 世界修改

      参数

      • rayleighStrength: number | Record<number, number>

        Either a number (range [0,11]) or a set of keyframes. The keyframes are composed of key value pairs. The key is a number (range [0,1]) to signify a time of day (0.0 and 1.0 are noon, 0.25 is sunset, 0.5 is midnight, and 0.75 is sunrise). The value is also a number (range [0,11])

      返回 void

      Sets the rayleigh strength for atmospheric scattering in Vibrant Visuals

      This function can throw errors.

      InvalidArgumentError

    • 世界修改

      参数

      • color: RGB | Record<number, RGB>

        Either a RGB triplet or a set of keyframes. The keyframes are composed of key value pairs. The key is a number (range [0,1]) to signify a time of day (0.0 and 1.0 are noon, 0.25 is sunset, 0.5 is midnight, and 0.75 is sunrise). The value is a RGB triplet

      返回 void

      Sets the sky horizon color for atmospheric scattering in Vibrant Visuals

      This function can throw errors.

      InvalidArgumentError

    • 世界修改

      参数

      • color: RGB | Record<number, RGB>

        Either a RGB triplet or a set of keyframes. The keyframes are composed of key value pairs. The key is a float in the range 0-1 to signify a time of day and the value is a RGB triplet

      返回 void

      Sets the sky zenith color for atmospheric scattering in Vibrant Visuals

      This function can throw errors.

      InvalidArgumentError

    • 世界修改

      参数

      • sunGlareShape: number | Record<number, number>

        Either a number (range [0,50]) or a set of keyframes. The keyframes are composed of key value pairs. The key is a number (range [0,1]) to signify a time of day (0.0 and 1.0 are noon, 0.25 is sunset, 0.5 is midnight, and 0.75 is sunrise). The value is also a number (range [0,50])

      返回 void

      Sets the sun glare shape for atmospheric scattering in Vibrant Visuals

      This function can throw errors.

      InvalidArgumentError

    • 世界修改

      参数

      • sunMieStrength: number | Record<number, number>

        Either a number (range [0,60]) or a set of keyframes. The keyframes are composed of key value pairs. The key is a number (range [0,1]) to signify a time of day (0.0 and 1.0 are noon, 0.25 is sunset, 0.5 is midnight, and 0.75 is sunrise). The value is also a number (range [0,60])

      返回 void

      Sets the sun mie strength for atmospheric scattering in Vibrant Visuals

      This function can throw errors.

      InvalidArgumentError