mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-08 19:34:09 +01:00
Clarify Colorable docs further
By: md_5 <git@md-5.net>
This commit is contained in:
parent
f387984287
commit
6fb32733f2
1 changed files with 4 additions and 2 deletions
|
@ -10,7 +10,8 @@ public interface Colorable {
|
||||||
/**
|
/**
|
||||||
* Gets the color of this object.
|
* Gets the color of this object.
|
||||||
* <br>
|
* <br>
|
||||||
* This may be null to represent the default color of an object.
|
* This may be null to represent the default color of an object, if the
|
||||||
|
* object has a special default color (e.g Shulkers).
|
||||||
*
|
*
|
||||||
* @return The DyeColor of this object.
|
* @return The DyeColor of this object.
|
||||||
*/
|
*/
|
||||||
|
@ -19,7 +20,8 @@ public interface Colorable {
|
||||||
/**
|
/**
|
||||||
* Sets the color of this object to the specified DyeColor.
|
* Sets the color of this object to the specified DyeColor.
|
||||||
* <br>
|
* <br>
|
||||||
* This may be null to represent the default color of an object.
|
* This may be null to represent the default color of an object, if the
|
||||||
|
* object has a special default color (e.g Shulkers).
|
||||||
*
|
*
|
||||||
* @param color The color of the object, as a DyeColor.
|
* @param color The color of the object, as a DyeColor.
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in a new issue