d3b7eee1f4
By: BlackHole <black-hole@live.com>
48 lines
882 B
Java
48 lines
882 B
Java
package org.bukkit.entity;
|
|
|
|
/**
|
|
* Represents a Parrot.
|
|
*/
|
|
public interface Parrot extends Animals, Tameable, Sittable {
|
|
|
|
/**
|
|
* Get the variant of this parrot.
|
|
*
|
|
* @return parrot variant
|
|
*/
|
|
public Variant getVariant();
|
|
|
|
/**
|
|
* Set the variant of this parrot.
|
|
*
|
|
* @param variant parrot variant
|
|
*/
|
|
public void setVariant(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;
|
|
}
|
|
}
|