接口 Creeper
- 所有超级接口:
- Attributable,- CommandSender,- Creature,- Damageable,- Enemy,- Entity,- LivingEntity,- Lootable,- Metadatable,- Mob,- Monster,- Nameable,- Permissible,- PersistentDataHolder,- ProjectileSource,- ServerOperator
- 
嵌套类概要从接口继承的嵌套类/接口 org.bukkit.entity.EntityEntity.Spigot
- 
方法概要修饰符和类型方法说明voidexplode()使该苦力怕立刻爆炸.int获得苦力怕的爆炸半径.int获得苦力怕点燃状态的tick值,此tick值为苦力怕爆炸前点燃状态的维持时间.获取点燃此苦力怕的实体(如存在).int获得此苦力怕的点燃状态最大tick值, 此tick值为苦力怕爆炸前点燃状态的维持时间.voidignite()点燃此苦力怕, 开始其爆炸计时.void点燃此苦力怕, 开始其爆炸计时.boolean检查这个苦力怕是否为高压的(触电).voidsetExplosionRadius(int radius) 设置苦力怕的爆炸半径.voidsetFuseTicks(int ticks) 设置苦力怕点燃状态的tick值,此tick值为苦力怕爆炸前点燃状态的维持时间.voidsetMaxFuseTicks(int ticks) 为苦力怕设置点燃tick值, 此tick值为苦力怕爆炸前点燃状态的维持时间.voidsetPowered(boolean value) 设置这个苦力怕的高压状态.从接口继承的方法 org.bukkit.attribute.AttributablegetAttribute从接口继承的方法 org.bukkit.command.CommandSendergetName, sendMessage, sendMessage, sendMessage, sendMessage从接口继承的方法 org.bukkit.entity.Damageabledamage, damage, damage, getAbsorptionAmount, getHealth, getMaxHealth, resetMaxHealth, setAbsorptionAmount, setHealth, setMaxHealth从接口继承的方法 org.bukkit.entity.EntityaddPassenger, 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.LivingEntityaddPotionEffect, 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, getLeashHolder, getLineOfSight, getMaximumAir, getMaximumNoDamageTicks, getMemory, getNoActionTicks, getNoDamageTicks, getPotionEffect, getRemainingAir, getRemoveWhenFarAway, getTargetBlock, getTargetBlockExact, getTargetBlockExact, getWaypointColor, getWaypointStyle, hasAI, hasLineOfSight, hasPotionEffect, isClimbing, isCollidable, isGliding, isInvisible, isLeashed, isRiptiding, isSleeping, isSwimming, playHurtAnimation, rayTraceBlocks, rayTraceBlocks, removePotionEffect, setAI, setArrowCooldown, setArrowsInBody, setCanPickupItems, setCollidable, setGliding, setInvisible, setItemInUseTicks, setLastDamage, setLeashHolder, setMaximumAir, setMaximumNoDamageTicks, setMemory, setNoActionTicks, setNoDamageTicks, setRemainingAir, setRemoveWhenFarAway, setRiptiding, setSwimming, setWaypointColor, setWaypointStyle, swingMainHand, swingOffHand从接口继承的方法 org.bukkit.loot.LootablegetLootTable, getSeed, setLootTable, setSeed从接口继承的方法 org.bukkit.metadata.MetadatablegetMetadata, hasMetadata, removeMetadata, setMetadata从接口继承的方法 org.bukkit.NameablegetCustomName, setCustomName从接口继承的方法 org.bukkit.permissions.PermissibleaddAttachment, addAttachment, addAttachment, addAttachment, getEffectivePermissions, hasPermission, hasPermission, isPermissionSet, isPermissionSet, recalculatePermissions, removeAttachment从接口继承的方法 org.bukkit.persistence.PersistentDataHoldergetPersistentDataContainer从接口继承的方法 org.bukkit.projectiles.ProjectileSourcelaunchProjectile, launchProjectile从接口继承的方法 org.bukkit.permissions.ServerOperatorisOp, setOp
- 
方法详细资料- 
isPoweredboolean isPowered()检查这个苦力怕是否为高压的(触电).原文: Checks if this Creeper is powered (Electrocuted) - 返回:
- true if 如果苦力怕是高压的则为true
 
- 
setPoweredvoid setPowered(boolean value) 设置这个苦力怕的高压状态.原文: Sets the Powered status of this Creeper - 参数:
- value- 新的高压状态
 
- 
setMaxFuseTicksvoid setMaxFuseTicks(int ticks) 为苦力怕设置点燃tick值, 此tick值为苦力怕爆炸前点燃状态的维持时间.原文: Set the maximum fuse ticks for this Creeper, where the maximum ticks is the amount of time in which a creeper is allowed to be in the primed state before exploding. - 参数:
- ticks- 新的点燃状态的最大tick值
 
- 
getMaxFuseTicksint getMaxFuseTicks()获得此苦力怕的点燃状态最大tick值, 此tick值为苦力怕爆炸前点燃状态的维持时间.原文: Get the maximum fuse ticks for this Creeper, where the maximum ticks is the amount of time in which a creeper is allowed to be in the primed state before exploding. - 返回:
- 点燃状态的最大tick值
 
- 
setFuseTicksvoid setFuseTicks(int ticks) 设置苦力怕点燃状态的tick值,此tick值为苦力怕爆炸前点燃状态的维持时间.原文: Set the fuse ticks for this Creeper, where the ticks is the amount of time in which a creeper has been in the primed state. - 参数:
- ticks- 新的点燃状态的tick值
 
- 
getFuseTicksint getFuseTicks()获得苦力怕点燃状态的tick值,此tick值为苦力怕爆炸前点燃状态的维持时间.原文: Get the maximum fuse ticks for this Creeper, where the ticks is the amount of time in which a creeper has been in the primed state. - 返回:
- 点燃状态的tick值
 
- 
setExplosionRadiusvoid setExplosionRadius(int radius) 设置苦力怕的爆炸半径.原文: Set the explosion radius in which this Creeper's explosion will affect. - 参数:
- radius- 新的爆炸半径
 
- 
getExplosionRadiusint getExplosionRadius()获得苦力怕的爆炸半径.原文: Get the explosion radius in which this Creeper's explosion will affect. - 返回:
- 爆炸半径
 
- 
explodevoid explode()使该苦力怕立刻爆炸.
 使用本方法引起的爆炸可被ExplosionPrimeEvent取消, 并且遵循其所处世界的mobGriefing游戏规则.原文:Makes this Creeper explode instantly. 
 The resulting explosion can be cancelled by anExplosionPrimeEventand obeys the mob griefing gamerule.
- 
ignite点燃此苦力怕, 开始其爆炸计时.
 苦力怕从点燃到爆炸所需时间取决于setMaxFuseTicks(int)的设置,默认值为30. 使用本方法引起的爆炸可被ExplosionPrimeEvent取消, 并且遵循其所处世界的mobGriefing游戏规则.原文:Ignites this Creeper, beginning its fuse. 
 The amount of time the Creeper takes to explode will depend on whatsetMaxFuseTicks(int)is set as.
 The resulting explosion can be cancelled by anExplosionPrimeEventand obeys the mob griefing gamerule.- 参数:
- entity- 点燃苦力怕的实体
 
- 
ignitevoid ignite()点燃此苦力怕, 开始其爆炸计时.
 苦力怕从点燃到爆炸所需时间取决于setMaxFuseTicks(int)的设置,默认值为30. 使用本方法引起的爆炸可被ExplosionPrimeEvent取消, 并且遵循其所处世界的mobGriefing游戏规则.原文:Ignites this Creeper, beginning its fuse. 
 The amount of time the Creeper takes to explode will depend on whatsetMaxFuseTicks(int)is set as. The resulting explosion can be cancelled by anExplosionPrimeEventand obeys the mob griefing gamerule.
- 
getIgniter获取点燃此苦力怕的实体(如存在).原文:Gets the entity which ignited the creeper, if available. - 返回:
- 点燃此苦力怕的实体,不存在返回 null
 
 
-