接口 Zombie
- 所有超级接口:
Attributable,CommandSender,Creature,Damageable,Entity,LivingEntity,Metadatable,Monster,Nameable,Permissible,ProjectileSource,ServerOperator
- 所有已知子接口:
Husk,PigZombie,ZombieVillager
代表僵尸.
-
方法概要
修饰符和类型方法说明已过时。booleanisBaby()获取这个僵尸是否为小僵尸.boolean已过时。voidsetBaby(boolean flag) 设置这个僵尸是否为小僵尸.voidsetVillager(boolean flag) 已过时。must spawnZombieVillager.voidsetVillagerProfession(Villager.Profession profession) 已过时。从接口继承的方法 org.bukkit.attribute.Attributable
getAttribute从接口继承的方法 org.bukkit.command.CommandSender
getName, sendMessage, sendMessage从接口继承的方法 org.bukkit.entity.Damageable
damage, damage, getHealth, getMaxHealth, resetMaxHealth, setHealth, setMaxHealth从接口继承的方法 org.bukkit.entity.Entity
addPassenger, addScoreboardTag, eject, getEntityId, 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, isSilent, isValid, leaveVehicle, playEffect, remove, removePassenger, removeScoreboardTag, setCustomNameVisible, setFallDistance, setFireTicks, setGlowing, setGravity, setInvulnerable, setLastDamageCause, setPassenger, setPortalCooldown, setSilent, setTicksLived, setVelocity, teleport, teleport, teleport, teleport从接口继承的方法 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, removePotionEffect, setAI, setCanPickupItems, setCollidable, setGliding, setLastDamage, setLeashHolder, setMaximumAir, setMaximumNoDamageTicks, setNoDamageTicks, setRemainingAir, setRemoveWhenFarAway从接口继承的方法 org.bukkit.metadata.Metadatable
getMetadata, hasMetadata, removeMetadata, setMetadata从接口继承的方法 org.bukkit.Nameable
getCustomName, setCustomName从接口继承的方法 org.bukkit.permissions.Permissible
addAttachment, addAttachment, addAttachment, addAttachment, getEffectivePermissions, hasPermission, hasPermission, isPermissionSet, isPermissionSet, recalculatePermissions, removeAttachment从接口继承的方法 org.bukkit.projectiles.ProjectileSource
launchProjectile, launchProjectile从接口继承的方法 org.bukkit.permissions.ServerOperator
isOp, setOp
-
方法详细资料
-
isBaby
boolean isBaby()获取这个僵尸是否为小僵尸.原文: Gets whether the zombie is a baby
- 返回:
- 这个僵尸是否为小僵尸
-
setBaby
void setBaby(boolean flag) 设置这个僵尸是否为小僵尸.原文: Sets whether the zombie is a baby
- 参数:
flag- 这个僵尸是否为小僵尸
-
isVillager
已过时。检查 instanceofZombieVillager的是与否.获取这个僵尸是否为村民僵尸.原文: Gets whether the zombie is a villager
- 返回:
- 这个僵尸是否为村民僵尸
-
setVillager
已过时。must spawnZombieVillager.- 参数:
flag-
-
setVillagerProfession
已过时。- 参数:
profession-- 另请参阅:
-
getVillagerProfession
已过时。- 返回:
- profession
- 另请参阅:
-
ZombieVillager的是与否.