001 package org.bukkit.entity; 002 003 /** 004 * Represents a Zombie. 005 */ 006 public interface Zombie extends Monster { 007 008 /** 009 * Gets whether the zombie is a baby 010 * 011 * @return Whether the zombie is a baby 012 */ 013 public boolean isBaby(); 014 015 /** 016 * Sets whether the zombie is a baby 017 * 018 * @param flag Whether the zombie is a baby 019 */ 020 public void setBaby(boolean flag); 021 022 /** 023 * Gets whether the zombie is a villager 024 * 025 * @return Whether the zombie is a villager 026 */ 027 public boolean isVillager(); 028 029 /** 030 * Sets whether the zombie is a villager 031 * 032 * @param flag Whether the zombie is a villager 033 */ 034 public void setVillager(boolean flag); 035 }