mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-06 00:07:56 +01:00
Clarify Colorable docs further
By: md_5 <git@md-5.net>
This commit is contained in:
parent
f387984287
commit
6fb32733f2
@ -10,7 +10,8 @@ public interface Colorable {
|
||||
/**
|
||||
* Gets the color of this object.
|
||||
* <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.
|
||||
*/
|
||||
@ -19,7 +20,8 @@ public interface Colorable {
|
||||
/**
|
||||
* Sets the color of this object to the specified DyeColor.
|
||||
* <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.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user