Attributable
, CommandSender
, Creature
, Damageable
, Entity
, LivingEntity
, Lootable
, Metadatable
, Mob
, Monster
, Nameable
, Permissible
, PersistentDataHolder
, ProjectileSource
, ServerOperator
Drowned
, Husk
, PigZombie
, ZombieVillager
public interface Zombie extends Monster
Entity.Spigot
Modifier and Type | Method | 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() |
Gets whether the zombie is a baby
|
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) |
Sets whether the zombie is a baby
|
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.
|
getAttribute
getName, sendMessage, sendMessage
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, 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
addPotionEffect, addPotionEffect, addPotionEffects, attack, getActivePotionEffects, getCanPickupItems, getEquipment, getEyeHeight, getEyeHeight, getEyeLocation, getKiller, getLastDamage, getLastTwoTargetBlocks, getLeashHolder, getLineOfSight, getMaximumAir, getMaximumNoDamageTicks, getMemory, getNoDamageTicks, getPotionEffect, getRemainingAir, getRemoveWhenFarAway, getTargetBlock, getTargetBlockExact, getTargetBlockExact, hasAI, hasLineOfSight, hasPotionEffect, isCollidable, isGliding, isLeashed, isRiptiding, isSleeping, isSwimming, rayTraceBlocks, rayTraceBlocks, removePotionEffect, setAI, setCanPickupItems, setCollidable, setGliding, setLastDamage, setLeashHolder, setMaximumAir, setMaximumNoDamageTicks, setMemory, setNoDamageTicks, setRemainingAir, setRemoveWhenFarAway, setSwimming, swingMainHand, swingOffHand
getLootTable, getSeed, setLootTable, setSeed
getMetadata, hasMetadata, removeMetadata, setMetadata
getCustomName, setCustomName
addAttachment, addAttachment, addAttachment, addAttachment, getEffectivePermissions, hasPermission, hasPermission, isPermissionSet, isPermissionSet, recalculatePermissions, removeAttachment
getPersistentDataContainer
launchProjectile, launchProjectile
isOp, setOp
boolean isBaby()
void setBaby(boolean flag)
flag
- Whether the zombie is a baby@Deprecated boolean isVillager()
ZombieVillager
.@Deprecated @Contract("_ -> fail") void setVillager(boolean flag)
ZombieVillager
.flag
- flag@Deprecated @Contract("_ -> fail") void setVillagerProfession(Villager.Profession profession)
profession
- professionZombieVillager.getVillagerProfession()
@Deprecated @Nullable @Contract("-> null") Villager.Profession getVillagerProfession()
ZombieVillager.getVillagerProfession()
boolean isConverting()
int getConversionTime()
IllegalStateException
- if isConverting()
is false.void setConversionTime(int time)
time
- new conversion timeCopyright © 2020. All rights reserved.