接口 Warden
- 所有超级接口:
Attributable,CommandSender,Creature,Damageable,Enemy,Entity,Leashable,LivingEntity,Lootable,Metadatable,Mob,Monster,Nameable,Permissible,PersistentDataHolder,ProjectileSource,ServerOperator
监守者.
-
嵌套类概要
嵌套类从接口继承的嵌套类/接口 org.bukkit.entity.Entity
Entity.Spigot -
方法概要
修饰符和类型方法说明voidclearAnger(@NotNull Entity entity) 清除此监守者对指定实体的愤怒等级。intgetAnger()获取此监守者的愤怒等级。int获取此监守者对指定实体的愤怒等级。获取此监守者的愤怒等级。获取此监守者最为愤怒的LivingEntity。voidincreaseAnger(@NotNull Entity entity, int increase) 增加此监守者的愤怒等级。void设置此监守者的愤怒等级。voidsetDisturbanceLocation(@NotNull Location location) 让监守者感知到指定位置的扰动。从接口继承的方法 org.bukkit.attribute.Attributable
getAttribute从接口继承的方法 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.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
-
方法详细资料
-
getAnger
int getAnger()获取此监守者的愤怒等级。愤怒值为0到150的整数。当监守者对某个目标的愤怒值达到80时,它会主动追击该目标。
原文:Gets the anger level of this warden.
- 返回:
- 愤怒等级
-
getAnger
获取此监守者对指定实体的愤怒等级。愤怒值为0到150的整数。当监守者对某个目标的愤怒值达到80时,它会主动追击该目标。
原文:Gets the anger level of this warden.
- 参数:
entity- 目标实体- 返回:
- 愤怒等级
-
increaseAnger
增加此监守者的愤怒等级。愤怒值为0到150的整数。当监守者对某个目标的愤怒值达到80时,它会主动追击该目标。
原文:Increases the anger level of this warden.
- 参数:
entity- 目标实体increase- 要增加的数量- 另请参阅:
-
setAnger
设置此监守者的愤怒等级。愤怒值为0到150的整数。当监守者对某个目标的愤怒值达到80时,它会主动追击该目标。
原文:Sets the anger level of this warden.
- 参数:
entity- 目标实体anger- 新的愤怒等级- 另请参阅:
-
clearAnger
清除此监守者对指定实体的愤怒等级。原文:Clears the anger level of this warden.
- 参数:
entity- 目标实体
-
getEntityAngryAt
获取此监守者最为愤怒的LivingEntity。原文:Gets the
LivingEntityat which this warden is most angry.- 返回:
- 目标
LivingEntity,若无则为null
-
setDisturbanceLocation
让监守者感知到指定位置的扰动。原文:Make the warden sense a disturbance in the force at the location given.
- 参数:
location- 扰动的位置
-
getAngerLevel
获取此监守者的愤怒等级。原文:Get the level of anger of this warden.
- 返回:
- 愤怒等级
-