接口 Wither
- 所有超级接口:
Attributable,Boss,CommandSender,Creature,Damageable,Enemy,Entity,Leashable,LivingEntity,Lootable,Metadatable,Mob,Monster,Nameable,Permissible,PersistentDataHolder,ProjectileSource,ServerOperator
代表凋零boss.
-
嵌套类概要
嵌套类从接口继承的嵌套类/接口 org.bukkit.entity.Entity
Entity.Spigot -
方法概要
修饰符和类型方法说明int返回凋零当前的无敌刻.getTarget(@NotNull Wither.Head head) 此方法将获取凋零的单个头颅Wither.Head的目标.voidsetInvulnerabilityTicks(int ticks) 设置凋零当前的无敌刻.voidsetTarget(@NotNull Wither.Head head, @Nullable LivingEntity target) 此方法将设置凋零的单个头颅Wither.Head的目标.voidsetTarget(@Nullable LivingEntity target) 指示此生物将指定的活体实体设为其目标。从接口继承的方法 org.bukkit.attribute.Attributable
getAttribute从接口继承的方法 org.bukkit.entity.Boss
getBossBar从接口继承的方法 org.bukkit.command.CommandSender
getName, sendMessage, sendMessage, sendMessage, sendMessage从接口继承的方法 org.bukkit.entity.Damageable
damage, damage, damage, getAbsorptionAmount, getHealth, getMaxHealth, resetMaxHealth, setAbsorptionAmount, setHealth, setMaxHealth从接口继承的方法 org.bukkit.entity.Entity
addPassenger, addScoreboardTag, copy, copy, createSnapshot, eject, getAsString, getBoundingBox, getEntityId, getFacing, getFallDistance, getFireTicks, getFreezeTicks, getHeight, getLastDamageCause, getLocation, getLocation, getMaxFireTicks, getMaxFreezeTicks, getNearbyEntities, getPassenger, getPassengers, getPistonMoveReaction, getPortalCooldown, getPose, getScoreboardTags, getServer, getSpawnCategory, getSwimHighSpeedSplashSound, getSwimSound, getSwimSplashSound, getTicksLived, getTrackedBy, getType, getUniqueId, getVehicle, getVelocity, getWidth, getWorld, hasGravity, isCustomNameVisible, isDead, isEmpty, isFrozen, isGlowing, isInsideVehicle, isInvulnerable, isInWater, isInWorld, isOnGround, isPersistent, isSilent, isValid, isVisibleByDefault, isVisualFire, leaveVehicle, playEffect, remove, removePassenger, removeScoreboardTag, setCustomNameVisible, setFallDistance, setFireTicks, setFreezeTicks, setGlowing, setGravity, setInvulnerable, setLastDamageCause, setPassenger, setPersistent, setPortalCooldown, setRotation, setSilent, setTicksLived, setVelocity, setVisibleByDefault, setVisualFire, spigot, teleport, teleport, teleport, teleport从接口继承的方法 org.bukkit.entity.Leashable
getLeashHolder, isLeashed, setLeashHolder从接口继承的方法 org.bukkit.entity.LivingEntity
addPotionEffect, addPotionEffect, addPotionEffects, attack, canBreatheUnderwater, getActivePotionEffects, getArrowCooldown, getArrowsInBody, getCanPickupItems, getCategory, getCollidableExemptions, getDeathSound, getDrinkingSound, getEatingSound, getEquipment, getEyeHeight, getEyeHeight, getEyeLocation, getFallDamageSound, getFallDamageSoundBig, getFallDamageSoundSmall, getHurtSound, getItemInUse, getItemInUseTicks, getKiller, getLastDamage, getLastTwoTargetBlocks, getLineOfSight, getMaximumAir, getMaximumNoDamageTicks, getMemory, getNoActionTicks, getNoDamageTicks, getPotionEffect, getRemainingAir, getRemoveWhenFarAway, getTargetBlock, getTargetBlockExact, getTargetBlockExact, getWaypointColor, getWaypointStyle, hasAI, hasLineOfSight, hasPotionEffect, isClimbing, isCollidable, isGliding, isInvisible, isRiptiding, isSleeping, isSwimming, playHurtAnimation, rayTraceBlocks, rayTraceBlocks, removePotionEffect, setAI, setArrowCooldown, setArrowsInBody, setCanPickupItems, setCollidable, setGliding, setInvisible, setItemInUseTicks, setLastDamage, setMaximumAir, setMaximumNoDamageTicks, setMemory, setNoActionTicks, setNoDamageTicks, setRemainingAir, setRemoveWhenFarAway, setRiptiding, setSwimming, setWaypointColor, setWaypointStyle, swingMainHand, swingOffHand从接口继承的方法 org.bukkit.loot.Lootable
getLootTable, getSeed, setLootTable, setSeed从接口继承的方法 org.bukkit.metadata.Metadatable
getMetadata, hasMetadata, removeMetadata, setMetadata从接口继承的方法 org.bukkit.entity.Mob
getAmbientSound, getTarget, isAware, setAware从接口继承的方法 org.bukkit.Nameable
getCustomName, setCustomName从接口继承的方法 org.bukkit.permissions.Permissible
addAttachment, addAttachment, addAttachment, addAttachment, getEffectivePermissions, hasPermission, hasPermission, isPermissionSet, isPermissionSet, recalculatePermissions, removeAttachment从接口继承的方法 org.bukkit.persistence.PersistentDataHolder
getPersistentDataContainer从接口继承的方法 org.bukkit.projectiles.ProjectileSource
launchProjectile, launchProjectile从接口继承的方法 org.bukkit.permissions.ServerOperator
isOp, setOp
-
方法详细资料
-
setTarget
指示此生物将指定的活体实体设为其目标。原文:Instructs this Mob to set the specified LivingEntity as its target.
敌对生物可能会攻击其目标,友好生物可能会跟随其目标。
此方法将设置凋零的
中心头颅的目标.原文:This method will set the target of the
center headof the wither. -
setTarget
此方法将设置凋零的单个头颅Wither.Head的目标.原文:This method will set the target of individual heads
Wither.Headof the wither.- 参数:
head- 单个头颅target- 应被作为目标的实体
-
getTarget
此方法将获取凋零的单个头颅Wither.Head的目标.原文:This method will get the target of individual heads
Wither.Headof the wither.- 参数:
head- 单个头颅- 返回:
- 被指定头颅作为目标的实体,如果没有目标则返回 null
-
getInvulnerabilityTicks
int getInvulnerabilityTicks()返回凋零当前的无敌刻.原文:Returns the wither's current invulnerability ticks.
- 返回:
- 无敌刻的数量
-
setInvulnerabilityTicks
void setInvulnerabilityTicks(int ticks) 设置凋零当前的无敌刻.当无敌刻降为 0 时,凋零将触发一次爆炸.
原文:Sets the wither's current invulnerability ticks. When invulnerability ticks reach 0, the wither will trigger an explosion.
- 参数:
ticks- 无敌刻的数量
-