public interface Zombie extends Monster, Ageable
Entity.Spigot
Modifier and Type | Method and Description |
---|---|
int |
getConversionTime()
Gets the amount of ticks until this entity will be converted to a Drowned
as a result of being underwater.
|
Villager.Profession |
getVillagerProfession()
Deprecated.
|
boolean |
isBaby()
Deprecated.
|
boolean |
isConverting()
Get if this entity is in the process of converting to a Drowned as a
result of being underwater.
|
boolean |
isVillager()
Deprecated.
check if instanceof
ZombieVillager . |
void |
setBaby(boolean flag)
Deprecated.
see
Ageable.setBaby() and Ageable.setAdult() |
void |
setConversionTime(int time)
Sets the amount of ticks until this entity will be converted to a Drowned
as a result of being underwater.
|
void |
setVillager(boolean flag)
Deprecated.
must spawn
ZombieVillager . |
void |
setVillagerProfession(Villager.Profession profession)
Deprecated.
|
canBreed, getAge, getAgeLock, isAdult, setAdult, setAge, setAgeLock, setBaby, setBreed
addPotionEffect, addPotionEffect, addPotionEffects, attack, getActivePotionEffects, getArrowCooldown, getArrowsInBody, getCanPickupItems, getCategory, getCollidableExemptions, getEquipment, getEyeHeight, getEyeHeight, getEyeLocation, getKiller, getLastDamage, getLastTwoTargetBlocks, getLeashHolder, getLineOfSight, getMaximumAir, getMaximumNoDamageTicks, getMemory, getNoDamageTicks, getPotionEffect, getRemainingAir, getRemoveWhenFarAway, getTargetBlock, getTargetBlockExact, getTargetBlockExact, hasAI, hasLineOfSight, hasPotionEffect, isCollidable, isGliding, isInvisible, isLeashed, isRiptiding, isSleeping, isSwimming, rayTraceBlocks, rayTraceBlocks, removePotionEffect, setAI, setArrowCooldown, setArrowsInBody, setCanPickupItems, setCollidable, setGliding, setInvisible, setLastDamage, setLeashHolder, setMaximumAir, setMaximumNoDamageTicks, setMemory, setNoDamageTicks, setRemainingAir, setRemoveWhenFarAway, setSwimming, swingMainHand, swingOffHand
getAttribute
damage, damage, getAbsorptionAmount, getHealth, getMaxHealth, resetMaxHealth, setAbsorptionAmount, setHealth, setMaxHealth
addPassenger, addScoreboardTag, eject, getBoundingBox, getEntityId, getFacing, getFallDistance, getFireTicks, getHeight, getLastDamageCause, getLocation, getLocation, getMaxFireTicks, getNearbyEntities, getPassenger, getPassengers, getPistonMoveReaction, getPortalCooldown, getPose, getScoreboardTags, getServer, getTicksLived, getType, getUniqueId, getVehicle, getVelocity, getWidth, getWorld, hasGravity, isCustomNameVisible, isDead, isEmpty, isGlowing, isInsideVehicle, isInvulnerable, isInWater, isOnGround, isPersistent, isSilent, isValid, leaveVehicle, playEffect, remove, removePassenger, removeScoreboardTag, setCustomNameVisible, setFallDistance, setFireTicks, setGlowing, setGravity, setInvulnerable, setLastDamageCause, setPassenger, setPersistent, setPortalCooldown, setRotation, setSilent, setTicksLived, setVelocity, spigot, teleport, teleport, teleport, teleport
getMetadata, hasMetadata, removeMetadata, setMetadata
getName, sendMessage, sendMessage, sendMessage, sendMessage
addAttachment, addAttachment, addAttachment, addAttachment, getEffectivePermissions, hasPermission, hasPermission, isPermissionSet, isPermissionSet, recalculatePermissions, removeAttachment
isOp, setOp
getCustomName, setCustomName
getPersistentDataContainer
launchProjectile, launchProjectile
getLootTable, getSeed, setLootTable, setSeed
@Deprecated boolean isBaby()
Ageable.isAdult()
@Deprecated void setBaby(boolean flag)
Ageable.setBaby()
and Ageable.setAdult()
flag
- Whether the zombie is a baby@Deprecated boolean isVillager()
ZombieVillager
.@Deprecated @Contract(value="_ -> fail") void setVillager(boolean flag)
ZombieVillager
.flag
- flag@Deprecated @Contract(value="_ -> fail") void setVillagerProfession(Villager.Profession profession)
profession
- professionZombieVillager.getVillagerProfession()
@Deprecated @Nullable @Contract(value="-> null") Villager.Profession getVillagerProfession()
ZombieVillager.getVillagerProfession()
boolean isConverting()
int getConversionTime()
IllegalStateException
- if isConverting()
is false.void setConversionTime(int time)
time
- new conversion timeCopyright © 2021. All rights reserved.