接口 Raider
- 所有超级接口:
Attributable
,CommandSender
,Creature
,Damageable
,Enemy
,Entity
,LivingEntity
,Lootable
,Metadatable
,Mob
,Monster
,Nameable
,Permissible
,PersistentDataHolder
,ProjectileSource
,ServerOperator
- 所有已知子接口:
Evoker
,Illager
,Illusioner
,Pillager
,Ravager
,Spellcaster
,Vindicator
,Witch
-
嵌套类概要
从接口继承的嵌套类/接口 org.bukkit.entity.Entity
Entity.Spigot
-
方法概要
修饰符和类型方法说明Get theSound
this entity will play when celebrating.获取袭击者要巡逻的目标方块.boolean
获取此生物能否参与一个活跃的袭击.boolean
判断此实体是否为灾厄巡逻队队长(袭击队长).void
setCanJoinRaid
(boolean join) 设置此生物能否参与一个活跃的袭击.void
setPatrolLeader
(boolean leader) 设置此实体是否为袭击队长.void
setPatrolTarget
(@Nullable Block block) 设置袭击者要巡逻的目标方块.从接口继承的方法 org.bukkit.attribute.Attributable
getAttribute
从接口继承的方法 org.bukkit.command.CommandSender
getName, sendMessage, sendMessage, sendMessage, sendMessage
从接口继承的方法 org.bukkit.entity.Damageable
damage, damage, getAbsorptionAmount, getHealth, getMaxHealth, resetMaxHealth, setAbsorptionAmount, setHealth, setMaxHealth
从接口继承的方法 org.bukkit.entity.Entity
addPassenger, addScoreboardTag, eject, 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, getType, getUniqueId, getVehicle, getVelocity, getWidth, getWorld, hasGravity, isCustomNameVisible, isDead, isEmpty, isFrozen, isGlowing, isInsideVehicle, isInvulnerable, isInWater, 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.LivingEntity
addPotionEffect, addPotionEffect, addPotionEffects, attack, canBreatheUnderwater, getActivePotionEffects, getArrowCooldown, getArrowsInBody, getCanPickupItems, getCategory, getCollidableExemptions, getDeathSound, getDrinkingSound, getEatingSound, getEquipment, getEyeHeight, getEyeHeight, getEyeLocation, getFallDamageSound, getFallDamageSoundBig, getFallDamageSoundSmall, getHurtSound, getKiller, getLastDamage, getLastTwoTargetBlocks, getLeashHolder, getLineOfSight, getMaximumAir, getMaximumNoDamageTicks, getMemory, getNoDamageTicks, getPotionEffect, getRemainingAir, getRemoveWhenFarAway, getTargetBlock, getTargetBlockExact, getTargetBlockExact, hasAI, hasLineOfSight, hasPotionEffect, isClimbing, isCollidable, isGliding, isInvisible, isLeashed, isRiptiding, isSleeping, isSwimming, rayTraceBlocks, rayTraceBlocks, removePotionEffect, setAI, setArrowCooldown, setArrowsInBody, setCanPickupItems, setCollidable, setGliding, setInvisible, setLastDamage, setLeashHolder, setMaximumAir, setMaximumNoDamageTicks, setMemory, setNoDamageTicks, setRemainingAir, setRemoveWhenFarAway, setSwimming, 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
-
方法详细资料
-
getPatrolTarget
获取袭击者要巡逻的目标方块.原文:Gets the block the raider is targeting to patrol.
- 返回:
- 目标方块或null
-
setPatrolTarget
设置袭击者要巡逻的目标方块.原文:Sets the block the raider is targeting to patrol.
- 参数:
block
- 目标方块或null, 此方块所处位置必须与此生物位于同一世界
-
isPatrolLeader
boolean isPatrolLeader()判断此实体是否为灾厄巡逻队队长(袭击队长).原文:Gets whether this entity is a patrol leader.
- 返回:
- 此实体是否为袭击队长
-
setPatrolLeader
void setPatrolLeader(boolean leader) 设置此实体是否为袭击队长.原文:Sets whether this entity is a patrol leader.
- 参数:
leader
- 是否为袭击队长
-
isCanJoinRaid
boolean isCanJoinRaid()获取此生物能否参与一个活跃的袭击.原文:Gets whether this mob can join an active raid.
- 返回:
- 能否参与一个活跃的袭击
-
setCanJoinRaid
void setCanJoinRaid(boolean join) 设置此生物能否参与一个活跃的袭击.原文:Sets whether this mob can join an active raid.
- 参数:
join
- 能否参与一个活跃的袭击
-
getCelebrationSound
Get theSound
this entity will play when celebrating.- 返回:
- the celebration sound
-