Add definitions for Minecraft 1.9 gameplay elements

Includes an API for AreaEffectCloud and rework of Sound enum to include new sound values.

By: md_5 <git@md-5.net>
This commit is contained in:
Bukkit/Spigot
2016-03-01 08:30:03 +11:00
parent bbb7d2b8a8
commit de63cae2d7
19 changed files with 1062 additions and 242 deletions

View File

@@ -30,6 +30,23 @@ public interface Zombie extends Monster {
* Sets whether the zombie is a villager
*
* @param flag Whether the zombie is a villager
* @deprecated Defaults to a basic villager
*/
@Deprecated
public void setVillager(boolean flag);
/**
* Sets whether the zombie is a villager
*
* @param profession the profession of the villager or null to clear
*/
public void setVillagerProfession(Villager.Profession profession);
/**
* Returns the villager profession of the zombie if the
* zombie is a villager
*
* @return the profession or null
*/
public Villager.Profession getVillagerProfession();
}