mirror of
https://hub.spigotmc.org/stash/scm/spigot/bukkit.git
synced 2025-08-21 05:44:17 +00:00
Add API to get and set collar colors of wolves
This commit is contained in:
parent
516bcd8eb7
commit
7aa2a077b6
1 changed files with 15 additions and 0 deletions
|
@ -1,5 +1,7 @@
|
|||
package org.bukkit.entity;
|
||||
|
||||
import org.bukkit.DyeColor;
|
||||
|
||||
/**
|
||||
* Represents a Wolf
|
||||
*/
|
||||
|
@ -35,4 +37,17 @@ public interface Wolf extends Animals, Tameable {
|
|||
*/
|
||||
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);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue