Newer
Older
ultramine_bukkit / src / main / java / org / bukkit / entity / Zombie.java
@vlad20012 vlad20012 on 24 Feb 2017 635 bytes initial
package org.bukkit.entity;

/**
 * Represents a Zombie.
 */
public interface Zombie extends Monster
{

	/**
	 * Gets whether the zombie is a baby
	 *
	 * @return Whether the zombie is a baby
	 */
	public boolean isBaby();

	/**
	 * Sets whether the zombie is a baby
	 *
	 * @param flag Whether the zombie is a baby
	 */
	public void setBaby(boolean flag);

	/**
	 * Gets whether the zombie is a villager
	 *
	 * @return Whether the zombie is a villager
	 */
	public boolean isVillager();

	/**
	 * Sets whether the zombie is a villager
	 *
	 * @param flag Whether the zombie is a villager
	 */
	public void setVillager(boolean flag);
}