org.bukkit.entity
Interface Zombie

All Superinterfaces:
Creature, Damageable, Entity, LivingEntity, Metadatable, Monster
All Known Subinterfaces:
PigZombie

public interface Zombie
extends Monster

Represents a Zombie.


Method Summary
 boolean isBaby()
          Gets whether the zombie is a baby
 boolean isVillager()
          Gets whether the zombie is a villager
 void setBaby(boolean flag)
          Sets whether the zombie is a baby
 void setVillager(boolean flag)
          Sets whether the zombie is a villager
 
Methods inherited from interface org.bukkit.entity.Creature
getTarget, setTarget
 
Methods inherited from interface org.bukkit.entity.LivingEntity
addPotionEffect, addPotionEffect, addPotionEffects, getActivePotionEffects, getCanPickupItems, getCustomName, getEquipment, getEyeHeight, getEyeHeight, getEyeLocation, getKiller, getLastDamage, getLastTwoTargetBlocks, getLineOfSight, getMaximumAir, getMaximumNoDamageTicks, getNoDamageTicks, getRemainingAir, getRemoveWhenFarAway, getTargetBlock, hasLineOfSight, hasPotionEffect, isCustomNameVisible, launchProjectile, removePotionEffect, setCanPickupItems, setCustomName, setCustomNameVisible, setLastDamage, setMaximumAir, setMaximumNoDamageTicks, setNoDamageTicks, setRemainingAir, setRemoveWhenFarAway, shootArrow, throwEgg, throwSnowball
 
Methods inherited from interface org.bukkit.entity.Damageable
damage, damage, getHealth, getMaxHealth, resetMaxHealth, setHealth, setMaxHealth
 

Method Detail

isBaby

boolean isBaby()
Gets whether the zombie is a baby

Returns:
Whether the zombie is a baby

setBaby

void setBaby(boolean flag)
Sets whether the zombie is a baby

Parameters:
flag - Whether the zombie is a baby

isVillager

boolean isVillager()
Gets whether the zombie is a villager

Returns:
Whether the zombie is a villager

setVillager

void setVillager(boolean flag)
Sets whether the zombie is a villager

Parameters:
flag - Whether the zombie is a villager


Copyright © 2013. All Rights Reserved.