Files
Paper/paper-api/src/main/java/org/bukkit/entity/Cat.java
2019-04-23 12:00:00 +10:00

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;
}
}