Bukkit-API  1.7.9-R0.2
The inofficial Bukkit-API
Zombie.java
1 package org.bukkit.entity;
2 
3 /**
4  * Represents a Zombie.
5  */
6 public interface Zombie extends Monster {
7 
8  /**
9  * Gets whether the zombie is a baby
10  *
11  * @return Whether the zombie is a baby
12  */
13  public boolean isBaby();
14 
15  /**
16  * Sets whether the zombie is a baby
17  *
18  * @param flag Whether the zombie is a baby
19  */
20  public void setBaby(boolean flag);
21 
22  /**
23  * Gets whether the zombie is a villager
24  *
25  * @return Whether the zombie is a villager
26  */
27  public boolean isVillager();
28 
29  /**
30  * Sets whether the zombie is a villager
31  *
32  * @param flag Whether the zombie is a villager
33  */
34  public void setVillager(boolean flag);
35 }
void setBaby(boolean flag)
void setVillager(boolean flag)