SPIGOT-3246: Use Sittable for Ocelot, Wolf and Parrot

By: BlackHole <black-hole@live.com>
This commit is contained in:
Bukkit/Spigot
2017-05-15 23:29:02 +02:00
parent 331d059798
commit d3b7eee1f4
4 changed files with 26 additions and 34 deletions

View File

@@ -4,7 +4,7 @@ package org.bukkit.entity;
/**
* A wild tameable cat
*/
public interface Ocelot extends Animals, Tameable {
public interface Ocelot extends Animals, Tameable, Sittable {
/**
* Gets the current type of this cat.
@@ -20,21 +20,6 @@ public interface Ocelot extends Animals, Tameable {
*/
public void setCatType(Type type);
/**
* Checks if this ocelot is sitting
*
* @return true if sitting
*/
public boolean isSitting();
/**
* Sets if this ocelot is sitting. Will remove any path that the ocelot
* was following beforehand.
*
* @param sitting true if sitting
*/
public void setSitting(boolean sitting);
/**
* Represents the various different cat types there are.
*/