For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt, and this page is available as Markdown at /server/interfaces/RGBA.md.

Interface: RGBA

Beta

表示 Minecraft 中完全可自定义的颜色。

Represents a fully customizable color within Minecraft.

Extends

Properties

alpha

alpha: number

Beta

Remarks

确定颜色的 alpha(不透明度)分量。有效值在 0(透明)到 1.0(不透明)之间。

Determines a color's alpha (opacity) component. Valid values are between 0 (transparent) and 1.0 (opaque).


blue

blue: number

Beta

Remarks

确定颜色的蓝色分量。有效值在 0 到 1.0 之间。

Determines a color's blue component. Valid values are between 0 and 1.0.

Inherited from

RGB.blue


green

green: number

Beta

Remarks

确定颜色的绿色分量。有效值在 0 到 1.0 之间。

Determines a color's green component. Valid values are between 0 and 1.0.

Inherited from

RGB.green


red

red: number

Beta

Remarks

确定颜色的红色分量。有效值在 0 到 1.0 之间。

Determines a color's red component. Valid values are between 0 and 1.0.

Inherited from

RGB.red