public class FireBlastCharged extends FireAbility
Constructor and Description |
---|
FireBlastCharged(org.bukkit.entity.Player player) |
Modifier and Type | Method and Description |
---|---|
static boolean |
annihilateBlasts(org.bukkit.Location location,
double radius,
org.bukkit.entity.Player source) |
void |
dealDamage(org.bukkit.entity.Entity entity) |
void |
explode() |
long |
getChargeTime() |
double |
getCollisionRadius() |
long |
getCooldown() |
double |
getDamageRadius() |
org.bukkit.util.Vector |
getDirection() |
org.bukkit.entity.TNTPrimed |
getExplosion() |
double |
getExplosionRadius() |
static java.util.concurrent.ConcurrentHashMap<org.bukkit.entity.Entity,FireBlastCharged> |
getExplosions() |
static FireBlastCharged |
getFireball(org.bukkit.entity.Entity entity) |
double |
getFireTicks() |
double |
getInnerRadius() |
long |
getInterval() |
org.bukkit.Location |
getLocation()
Specifies the Location of the ability, which may be slightly inaccurate
depending on the Ability implementation.
|
double |
getMaxDamage() |
java.lang.String |
getName()
The name of the ability is used for commands such as /bending
display and /bending help.
|
org.bukkit.Location |
getOrigin() |
double |
getRange() |
long |
getTime() |
boolean |
isCanDamageBlocks() |
boolean |
isCharged() |
static boolean |
isCharging(org.bukkit.entity.Player player) |
boolean |
isDissipate() |
boolean |
isHarmlessAbility()
Determines if this ability is considered harmless against other players.
|
boolean |
isLaunched() |
boolean |
isSneakAbility()
Determines if this ability uses the
PlayerToggleSneakEvent as a
controlling mechanism. |
void |
progress()
Causes the ability to be updated.
|
static void |
removeFireballsAroundPoint(org.bukkit.Location location,
double radius) |
void |
setCanDamageBlocks(boolean canDamageBlocks) |
void |
setCharged(boolean charged) |
void |
setChargeTime(long chargeTime) |
void |
setCollisionRadius(double collisionRadius) |
void |
setDamageRadius(double damageRadius) |
void |
setDirection(org.bukkit.util.Vector direction) |
void |
setDissipate(boolean dissipate) |
void |
setExplosion(org.bukkit.entity.TNTPrimed explosion) |
void |
setExplosionRadius(double explosionRadius) |
void |
setFireTicks(double fireTicks) |
void |
setInnerRadius(double innerRadius) |
void |
setInterval(long interval) |
void |
setLaunched(boolean launched) |
void |
setLocation(org.bukkit.Location location) |
void |
setMaxDamage(double maxDamage) |
void |
setOrigin(org.bukkit.Location origin) |
void |
setRange(double range) |
void |
setTime(long time) |
canFireGrief, createTempFire, getDayFactor, getDayFactor, getDayFactor, getElement, getSubChatColor, isExplosiveAbility, isIgnitable, isIgnitable, isIgniteAbility, isWithinFireShield, playCombustionSound, playFirebendingParticles, playFirebendingSound, playLightningbendingParticle, playLightningbendingParticle, removeFire, revertTempFire, stopBending
getTransparentMaterial, getTransparentMaterialSet, isDay, isEarth, isEarth, isFullMoon, isIce, isIce, isLava, isLava, isLunarEclipse, isMeltable, isMetal, isMetal, isMetalBlock, isNegativeEffect, isNeutralEffect, isNight, isPlant, isPlant, isPositiveEffect, isSand, isSand, isSnow, isSnow, isSolarEclipse, isSozinsComet, isTransparent, isTransparent, isTransparent, isUndead, isWater, isWater
getAbilities, getAbilities, getAbilities, getAbilitiesByElement, getAbility, getAbility, getBendingPlayer, getConfig, getDebugString, getDescription, getId, getLanguageConfig, getPlayer, getPlayers, getStartTime, hasAbility, isEnabled, isHiddenAbility, isRemoved, isStarted, progressAll, registerAbilities, registerAddonAbilities, registerPluginAbilities, remove, removeAll, start
public static boolean annihilateBlasts(org.bukkit.Location location, double radius, org.bukkit.entity.Player source)
public static FireBlastCharged getFireball(org.bukkit.entity.Entity entity)
public static boolean isCharging(org.bukkit.entity.Player player)
public static void removeFireballsAroundPoint(org.bukkit.Location location, double radius)
public void dealDamage(org.bukkit.entity.Entity entity)
public void explode()
public void progress()
Ability
public java.lang.String getName()
Ability
BendingPlayer.addCooldown(Ability)
, therefore if two abilities
have the same name they will also share cooldowns. If two classes share
the same name (SurgeWall/SurgeWave) but need to have independent
cooldowns, then BendingPlayer.addCooldown(String, long)
should be
called explicitly.public org.bukkit.Location getLocation()
Ability
TorrentWave
could not be fully specified by a single location,
while it is possible for an EarthBlast
. The location is useful
for making sure that the player is currently in the same world as the
ability.BendingPlayer.canBend(CoreAbility)
public long getCooldown()
public boolean isSneakAbility()
Ability
PlayerToggleSneakEvent
as a
controlling mechanism. Currently WaterPassive
will not work while
the player has a sneak ability bound.public boolean isHarmlessAbility()
Ability
public boolean isCharged()
public void setCharged(boolean charged)
public boolean isLaunched()
public void setLaunched(boolean launched)
public boolean isCanDamageBlocks()
public void setCanDamageBlocks(boolean canDamageBlocks)
public boolean isDissipate()
public void setDissipate(boolean dissipate)
public long getTime()
public void setTime(long time)
public long getChargeTime()
public void setChargeTime(long chargeTime)
public long getInterval()
public void setInterval(long interval)
public double getMaxDamage()
public void setMaxDamage(double maxDamage)
public double getRange()
public void setRange(double range)
public double getCollisionRadius()
public void setCollisionRadius(double collisionRadius)
public double getDamageRadius()
public void setDamageRadius(double damageRadius)
public double getExplosionRadius()
public void setExplosionRadius(double explosionRadius)
public double getInnerRadius()
public void setInnerRadius(double innerRadius)
public double getFireTicks()
public void setFireTicks(double fireTicks)
public org.bukkit.entity.TNTPrimed getExplosion()
public void setExplosion(org.bukkit.entity.TNTPrimed explosion)
public org.bukkit.Location getOrigin()
public void setOrigin(org.bukkit.Location origin)
public org.bukkit.util.Vector getDirection()
public void setDirection(org.bukkit.util.Vector direction)
public static java.util.concurrent.ConcurrentHashMap<org.bukkit.entity.Entity,FireBlastCharged> getExplosions()
public void setLocation(org.bukkit.Location location)