Update to Minecraft 1.11

By: md_5 <git@md-5.net>
This commit is contained in:
Bukkit/Spigot
2016-11-17 12:40:59 +11:00
parent 06e0085b98
commit f1fb3d9462
59 changed files with 646 additions and 682 deletions

View File

@@ -0,0 +1,49 @@
package org.bukkit.entity;
import org.bukkit.inventory.LlamaInventory;
/**
* Represents a Llama.
*/
public interface Llama extends ChestedHorse {
/**
* Represents the base color that the llama has.
*/
public enum Color {
/**
* A cream-colored llama.
*/
CREAMY,
/**
* A white llama.
*/
WHITE,
/**
* A brown llama.
*/
BROWN,
/**
* A gray llama.
*/
GRAY;
}
/**
* Gets the llamas's color.
*
* @return a {@link Color} representing the llama's color
*/
public Color getColor();
/**
* Sets the llama's color.
*
* @param color a {@link Color} for this llama
*/
public void setColor(Color color);
@Override
public LlamaInventory getInventory();
}