org.bukkit.entity
Interface Zombie

All Superinterfaces:
Creature, Damageable, Entity, LivingEntity, Metadatable, Monster, ProjectileSource
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
_INVALID_getLastDamage, _INVALID_setLastDamage, addPotionEffect, addPotionEffect, addPotionEffects, getActivePotionEffects, getCanPickupItems, getCustomName, getEquipment, getEyeHeight, getEyeHeight, getEyeLocation, getKiller, getLastDamage, getLastTwoTargetBlocks, getLeashHolder, getLineOfSight, getMaximumAir, getMaximumNoDamageTicks, getNoDamageTicks, getRemainingAir, getRemoveWhenFarAway, getTargetBlock, hasLineOfSight, hasPotionEffect, isCustomNameVisible, isLeashed, removePotionEffect, setCanPickupItems, setCustomName, setCustomNameVisible, setLastDamage, setLeashHolder, setMaximumAir, setMaximumNoDamageTicks, setNoDamageTicks, setRemainingAir, setRemoveWhenFarAway, shootArrow, throwEgg, throwSnowball
 
Methods inherited from interface org.bukkit.entity.Damageable
_INVALID_damage, _INVALID_damage, _INVALID_getHealth, _INVALID_getMaxHealth, _INVALID_setHealth, _INVALID_setMaxHealth, damage, damage, getHealth, getMaxHealth, resetMaxHealth, setHealth, setMaxHealth
 
Methods inherited from interface org.bukkit.entity.Entity
eject, getEntityId, getFallDistance, getFireTicks, getLastDamageCause, getLocation, getLocation, getMaxFireTicks, getNearbyEntities, getPassenger, getServer, getTicksLived, getType, getUniqueId, getVehicle, getVelocity, getWorld, isDead, isEmpty, isInsideVehicle, isOnGround, isValid, leaveVehicle, playEffect, remove, setFallDistance, setFireTicks, setLastDamageCause, setPassenger, setTicksLived, setVelocity, teleport, teleport, teleport, teleport
 
Methods inherited from interface org.bukkit.metadata.Metadatable
getMetadata, hasMetadata, removeMetadata, setMetadata
 
Methods inherited from interface org.bukkit.projectiles.ProjectileSource
launchProjectile, launchProjectile
 

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 © 2014. All rights reserved.