SPIGOT-3246: Use Sittable for Ocelot, Wolf and Parrot
By: BlackHole <black-hole@live.com>
This commit is contained in:
@@ -5,7 +5,7 @@ import org.bukkit.DyeColor;
|
||||
/**
|
||||
* Represents a Wolf
|
||||
*/
|
||||
public interface Wolf extends Animals, Tameable {
|
||||
public interface Wolf extends Animals, Tameable, Sittable {
|
||||
|
||||
/**
|
||||
* Checks if this wolf is angry
|
||||
@@ -24,22 +24,6 @@ public interface Wolf extends Animals, Tameable {
|
||||
*/
|
||||
public void setAngry(boolean angry);
|
||||
|
||||
/**
|
||||
* Checks if this wolf is sitting
|
||||
*
|
||||
* @return true if sitting
|
||||
*/
|
||||
public boolean isSitting();
|
||||
|
||||
/**
|
||||
* Sets if this wolf is sitting.
|
||||
* <p>
|
||||
* Will remove any path that the wolf was following beforehand.
|
||||
*
|
||||
* @param sitting true if sitting
|
||||
*/
|
||||
public void setSitting(boolean sitting);
|
||||
|
||||
/**
|
||||
* Get the collar color of this wolf
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user