47
paper-api/src/main/java/org/bukkit/entity/Parrot.java
Normal file
47
paper-api/src/main/java/org/bukkit/entity/Parrot.java
Normal file
@@ -0,0 +1,47 @@
|
||||
package org.bukkit.entity;
|
||||
|
||||
/**
|
||||
* Represents a Parrot.
|
||||
*/
|
||||
public interface Parrot extends Animals, Tameable {
|
||||
|
||||
/**
|
||||
* 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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user