Interface GrayBlend
- All Superinterfaces:
Wrapper
The argument of
AttributeOperation.BLEND_TO_GRAY on a color attribute.- Since:
- 3.2.0
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfloatThe brightness of the gray color.floatfactor()The factor of the gray color.static GrayBlendof(float brightness, float factor) Creates a new gray blend.default GrayBlend.BuilderCreates a new builder with the same values as this gray blend.Methods inherited from interface Wrapper
asHandle, toMinecraft, unwrap
-
Method Details
-
brightness
The brightness of the gray color.- Returns:
- the brightness of the gray color
- Since:
- 3.2.0
-
factor
The factor of the gray color.- Returns:
- the factor of the gray color
- Since:
- 3.2.0
-
toBuilder
Creates a new builder with the same values as this gray blend.- Returns:
- a new builder with the same values
- Since:
- 3.3.0
-
of
-