Modifier and Type | Method and Description |
---|---|
DyeColor |
getColor()
Gets the color of this object.
|
void |
setColor(DyeColor color)
Sets the color of this object to the specified DyeColor.
|
@Nullable DyeColor getColor()
void setColor(DyeColor color)
color
- The color of the object, as a DyeColor.NullPointerException
- if argument is null and this implementation does not support nullCopyright © 2022. All rights reserved.