接口 Zombie
- 所有超级接口:
Attributable
,CommandSender
,Creature
,Damageable
,Entity
,LivingEntity
,Metadatable
,Monster
,Nameable
,Permissible
,ProjectileSource
,ServerOperator
- 所有已知子接口:
Husk
,PigZombie
,ZombieVillager
代表僵尸.
-
方法概要
修饰符和类型方法说明已过时。boolean
isBaby()
获取这个僵尸是否为小僵尸.boolean
已过时。void
setBaby
(boolean flag) 设置这个僵尸是否为小僵尸.void
setVillager
(boolean flag) 已过时。must spawnZombieVillager
.void
setVillagerProfession
(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
的是与否.