public class AirBurst extends AirAbility
Constructor and Description |
---|
AirBurst(org.bukkit.entity.Player player,
boolean isFallBurst) |
Modifier and Type | Method and Description |
---|---|
void |
addAffectedEntity(org.bukkit.entity.Entity entity) |
static void |
coneBurst(org.bukkit.entity.Player player) |
java.util.ArrayList<org.bukkit.entity.Entity> |
getAffectedEntities() |
double |
getBlastAnglePhi() |
double |
getBlastAngleTheta() |
java.util.ArrayList<AirBlast> |
getBlasts() |
long |
getChargeTime() |
long |
getCooldown() |
double |
getDamage() |
double |
getFallThreshold() |
org.bukkit.Location |
getLocation()
Specifies the Location of the ability, which may be slightly inaccurate
depending on the Ability implementation.
|
java.lang.String |
getName()
The name of the ability is used for commands such as /bending
display and /bending help.
|
double |
getPushFactor() |
void |
handleSmoothParticles() |
boolean |
isAffectedEntity(org.bukkit.entity.Entity entity) |
boolean |
isCharged() |
boolean |
isFallBurst() |
boolean |
isHarmlessAbility()
Determines if this ability is considered harmless against other players.
|
boolean |
isSneakAbility()
Determines if this ability uses the
PlayerToggleSneakEvent as a
controlling mechanism. |
void |
progress()
Causes the ability to be updated.
|
void |
setBlastAnglePhi(double blastAnglePhi) |
void |
setBlastAngleTheta(double blastAngleTheta) |
void |
setCharged(boolean isCharged) |
void |
setChargeTime(long chargeTime) |
void |
setDamage(double damage) |
void |
setFallBurst(boolean isFallBurst) |
void |
setFallThreshold(double fallThreshold) |
void |
setPushFactor(double pushFactor) |
breakBreathbendingHold, getAirbendingParticles, getElement, isExplosiveAbility, isIgniteAbility, isWithinAirShield, playAirbendingParticles, playAirbendingParticles, playAirbendingSound, removeAirSpouts, removeAirSpouts
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 void progress()
Ability
public static void coneBurst(org.bukkit.entity.Player player)
public void handleSmoothParticles()
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 void addAffectedEntity(org.bukkit.entity.Entity entity)
public boolean isAffectedEntity(org.bukkit.entity.Entity entity)
public long getChargeTime()
public void setChargeTime(long chargeTime)
public double getFallThreshold()
public void setFallThreshold(double fallThreshold)
public double getPushFactor()
public void setPushFactor(double pushFactor)
public double getDamage()
public void setDamage(double damage)
public double getBlastAngleTheta()
public void setBlastAngleTheta(double blastAngleTheta)
public double getBlastAnglePhi()
public void setBlastAnglePhi(double blastAnglePhi)
public boolean isCharged()
public void setCharged(boolean isCharged)
public boolean isFallBurst()
public void setFallBurst(boolean isFallBurst)
public java.util.ArrayList<AirBlast> getBlasts()
public java.util.ArrayList<org.bukkit.entity.Entity> getAffectedEntities()