Interface AlphaValue
- All Superinterfaces:
Wrapper
The argument of
AttributeOperation.ALPHA_BLEND on a float attribute.- Since:
- 3.2.0
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfloatalpha()The alpha value between 0.0 and 1.0static AlphaValue.Builderbuilder()Creates a new builder.static AlphaValueof(float value, float alpha) Creates a new AlphaValuedefault AlphaValue.BuilderConverts it to a builder.floatvalue()The valueMethods inherited from interface Wrapper
asHandle, toMinecraft, unwrap
-
Method Details
-
value
-
alpha
The alpha value between 0.0 and 1.0- Returns:
- the alpha value
- Since:
- 3.2.0
-
toBuilder
Converts it to a builder.- Returns:
- a new builder
- Since:
- 3.2.0
-
of
Creates a new AlphaValue- Parameters:
value- the valuealpha- the alpha value between 0.0 and 1.0- Returns:
- a new AlphaValue
- Since:
- 3.2.0
-
builder
Creates a new builder.- Returns:
- a new builder
- Since:
- 3.2.0
-