Package org.bukkit.entity
Interface Zombie
-
- All Superinterfaces:
Attributable
,CommandSender
,Creature
,Damageable
,Entity
,LivingEntity
,Lootable
,Metadatable
,Mob
,Monster
,Nameable
,Permissible
,ProjectileSource
,ServerOperator
- All Known Subinterfaces:
Drowned
,Husk
,PigZombie
,ZombieVillager
public interface Zombie extends Monster
Represents a Zombie.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.bukkit.entity.Entity
Entity.Spigot
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description Villager.Profession
getVillagerProfession()
Deprecated.boolean
isBaby()
Gets whether the zombie is a babyboolean
isVillager()
Deprecated.check if instanceofZombieVillager
.void
setBaby(boolean flag)
Sets whether the zombie is a babyvoid
setVillager(boolean flag)
Deprecated.must spawnZombieVillager
.void
setVillagerProfession(Villager.Profession profession)
Deprecated.-
Methods inherited from interface org.bukkit.attribute.Attributable
getAttribute
-
Methods inherited from interface org.bukkit.command.CommandSender
getName, sendMessage, sendMessage
-
Methods inherited from interface org.bukkit.entity.Damageable
damage, damage, getHealth, getMaxHealth, resetMaxHealth, setHealth, setMaxHealth
-
Methods inherited from interface org.bukkit.entity.Entity
addPassenger, addScoreboardTag, eject, getEntityId, getFacing, getFallDistance, getFireTicks, getHeight, getLastDamageCause, getLocation, getLocation, getMaxFireTicks, getNearbyEntities, getPassenger, getPassengers, getPistonMoveReaction, getPortalCooldown, getScoreboardTags, getServer, getTicksLived, getType, getUniqueId, getVehicle, getVelocity, getWidth, getWorld, hasGravity, isCustomNameVisible, isDead, isEmpty, isGlowing, isInsideVehicle, isInvulnerable, isOnGround, isPersistent, isSilent, isValid, leaveVehicle, playEffect, remove, removePassenger, removeScoreboardTag, setCustomNameVisible, setFallDistance, setFireTicks, setGlowing, setGravity, setInvulnerable, setLastDamageCause, setPassenger, setPersistent, setPortalCooldown, setSilent, setTicksLived, setVelocity, spigot, teleport, teleport, teleport, teleport
-
Methods inherited from interface org.bukkit.entity.LivingEntity
addPotionEffect, addPotionEffect, addPotionEffects, getActivePotionEffects, getCanPickupItems, getEquipment, getEyeHeight, getEyeHeight, getEyeLocation, getKiller, getLastDamage, getLastTwoTargetBlocks, getLeashHolder, getLineOfSight, getMaximumAir, getMaximumNoDamageTicks, getNoDamageTicks, getPotionEffect, getRemainingAir, getRemoveWhenFarAway, getTargetBlock, hasAI, hasLineOfSight, hasPotionEffect, isCollidable, isGliding, isLeashed, isRiptiding, isSwimming, removePotionEffect, setAI, setCanPickupItems, setCollidable, setGliding, setLastDamage, setLeashHolder, setMaximumAir, setMaximumNoDamageTicks, setNoDamageTicks, setRemainingAir, setRemoveWhenFarAway, setSwimming
-
Methods inherited from interface org.bukkit.loot.Lootable
getLootTable, getSeed, setLootTable, setSeed
-
Methods inherited from interface org.bukkit.metadata.Metadatable
getMetadata, hasMetadata, removeMetadata, setMetadata
-
Methods inherited from interface org.bukkit.Nameable
getCustomName, setCustomName
-
Methods inherited from interface org.bukkit.permissions.Permissible
addAttachment, addAttachment, addAttachment, addAttachment, getEffectivePermissions, hasPermission, hasPermission, isPermissionSet, isPermissionSet, recalculatePermissions, removeAttachment
-
Methods inherited from interface org.bukkit.projectiles.ProjectileSource
launchProjectile, launchProjectile
-
Methods inherited from interface org.bukkit.permissions.ServerOperator
isOp, setOp
-
-
-
-
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
@Deprecated boolean isVillager()
Deprecated.check if instanceofZombieVillager
.Gets whether the zombie is a villager- Returns:
- Whether the zombie is a villager
-
setVillager
@Deprecated void setVillager(boolean flag)
Deprecated.must spawnZombieVillager
.- Parameters:
flag
-
-
setVillagerProfession
@Deprecated void setVillagerProfession(Villager.Profession profession)
Deprecated.- Parameters:
profession
-- See Also:
ZombieVillager.getVillagerProfession()
-
getVillagerProfession
@Deprecated Villager.Profession getVillagerProfession()
Deprecated.- Returns:
- profession
- See Also:
ZombieVillager.getVillagerProfession()
-
-