Minecraft 1.12-pre2 API Changes

By: md_5 <git@md-5.net>
This commit is contained in:
Bukkit/Spigot
2017-05-14 12:00:00 +10:00
parent 05d2efaa86
commit 75a18fd5ad
29 changed files with 785 additions and 36 deletions

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