geforkt von Mirrors/Paper
Add API to get and set collar colors of wolves
By: feildmaster <admin@feildmaster.com>
Dieser Commit ist enthalten in:
Ursprung
eaf21d744e
Commit
3cf005da64
@ -1,5 +1,7 @@
|
|||||||
package org.bukkit.entity;
|
package org.bukkit.entity;
|
||||||
|
|
||||||
|
import org.bukkit.DyeColor;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Represents a Wolf
|
* Represents a Wolf
|
||||||
*/
|
*/
|
||||||
@ -35,4 +37,17 @@ public interface Wolf extends Animals, Tameable {
|
|||||||
*/
|
*/
|
||||||
public void setSitting(boolean sitting);
|
public void setSitting(boolean sitting);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get the collar color of this wolf
|
||||||
|
*
|
||||||
|
* @return the color of the collar
|
||||||
|
*/
|
||||||
|
public DyeColor getCollarColor();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Set the collar color of this wolf
|
||||||
|
*
|
||||||
|
* @param color the color to apply
|
||||||
|
*/
|
||||||
|
public void setCollarColor(DyeColor color);
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren