Files
Paper/paper-api/src/main/java/org/bukkit/entity/Parrot.java
2019-03-13 17:42:57 +11:00

51 lines
947 B
Java

package org.bukkit.entity;
import org.jetbrains.annotations.NotNull;
/**
* Represents a Parrot.
*/
public interface Parrot extends Animals, Tameable, Sittable {
/**
* Get the variant of this parrot.
*
* @return parrot variant
*/
@NotNull
public Variant getVariant();
/**
* Set the variant of this parrot.
*
* @param variant parrot variant
*/
public void setVariant(@NotNull Variant variant);
/**
* Represents the variant of a parrot - ie its color.
*/
public enum Variant {
/**
* Classic parrot - red with colored wingtips.
*/
RED,
/**
* Royal blue colored parrot.
*/
BLUE,
/**
* Green colored parrot.
*/
GREEN,
/**
* Cyan colored parrot.
*/
CYAN,
/**
* Gray colored parrot.
*/
GRAY;
}
}