42 lines
739 B
Java
42 lines
739 B
Java
package org.bukkit.entity;
|
|
|
|
import org.jetbrains.annotations.NotNull;
|
|
|
|
/**
|
|
* Meow.
|
|
*/
|
|
public interface Cat extends Animals, Tameable, Sittable {
|
|
|
|
/**
|
|
* Gets the current type of this cat.
|
|
*
|
|
* @return Type of the cat.
|
|
*/
|
|
@NotNull
|
|
public Type getCatType();
|
|
|
|
/**
|
|
* Sets the current type of this cat.
|
|
*
|
|
* @param type New type of this cat.
|
|
*/
|
|
public void setCatType(@NotNull Type type);
|
|
|
|
/**
|
|
* Represents the various different cat types there are.
|
|
*/
|
|
public enum Type {
|
|
TABBY,
|
|
BLACK,
|
|
RED,
|
|
SIAMESE,
|
|
BRITISH_SHORTHAIR,
|
|
CALICO,
|
|
PERSIAN,
|
|
RAGDOLL,
|
|
WHITE,
|
|
JELLIE,
|
|
ALL_BLACK;
|
|
}
|
|
}
|