58 lines
1.0 KiB
Java
58 lines
1.0 KiB
Java
package org.bukkit.entity;
|
|
|
|
import org.bukkit.DyeColor;
|
|
import org.jetbrains.annotations.NotNull;
|
|
|
|
/**
|
|
* Meow.
|
|
*/
|
|
public interface Cat extends 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);
|
|
|
|
/**
|
|
* Get the collar color of this cat
|
|
*
|
|
* @return the color of the collar
|
|
*/
|
|
@NotNull
|
|
public DyeColor getCollarColor();
|
|
|
|
/**
|
|
* Set the collar color of this cat
|
|
*
|
|
* @param color the color to apply
|
|
*/
|
|
public void setCollarColor(@NotNull DyeColor color);
|
|
|
|
/**
|
|
* Represents the various different cat types there are.
|
|
*/
|
|
public enum Type {
|
|
TABBY,
|
|
BLACK,
|
|
RED,
|
|
SIAMESE,
|
|
BRITISH_SHORTHAIR,
|
|
CALICO,
|
|
PERSIAN,
|
|
RAGDOLL,
|
|
WHITE,
|
|
JELLIE,
|
|
ALL_BLACK;
|
|
}
|
|
}
|