public class AirBlast extends AirAbility
Constructor and Description |
---|
AirBlast(org.bukkit.entity.Player player) |
AirBlast(org.bukkit.entity.Player player,
org.bukkit.Location location,
org.bukkit.util.Vector direction,
double modifiedPushFactor,
AirBurst burst) |
Modifier and Type | Method and Description |
---|---|
java.util.ArrayList<org.bukkit.entity.Entity> |
getAffectedEntities() |
java.util.ArrayList<org.bukkit.block.Block> |
getAffectedLevers() |
long |
getCooldown() |
double |
getDamage() |
org.bukkit.util.Vector |
getDirection() |
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.
|
org.bukkit.Location |
getOrigin() |
int |
getParticles() |
double |
getPushFactor() |
double |
getPushFactorForOthers() |
double |
getRadius() |
double |
getRange() |
static int |
getSelectParticles() |
static double |
getSelectRange() |
AirBurst |
getSource() |
double |
getSpeed() |
double |
getSpeedFactor() |
int |
getTicks() |
boolean |
isCanCoolLava() |
boolean |
isCanFlickLevers() |
boolean |
isCanOpenDoors() |
boolean |
isCanPressButtons() |
boolean |
isFromOtherOrigin() |
boolean |
isHarmlessAbility()
Determines if this ability is considered harmless against other players.
|
boolean |
isShowParticles() |
boolean |
isSneakAbility()
Determines if this ability uses the
PlayerToggleSneakEvent as a
controlling mechanism. |
void |
progress()
Causes the ability to be updated.
|
static void |
progressOrigins() |
static boolean |
removeAirBlastsAroundPoint(org.bukkit.Location location,
double radius) |
void |
setCanCoolLava(boolean canCoolLava) |
void |
setCanFlickLevers(boolean canFlickLevers) |
void |
setCanOpenDoors(boolean canOpenDoors) |
void |
setCanPressButtons(boolean canPressButtons) |
void |
setCooldown(long cooldown) |
void |
setDamage(double damage) |
void |
setDirection(org.bukkit.util.Vector direction) |
void |
setFromOtherOrigin(boolean isFromOtherOrigin) |
void |
setLocation(org.bukkit.Location location) |
void |
setOrigin(org.bukkit.Location origin) |
static void |
setOrigin(org.bukkit.entity.Player player) |
void |
setParticles(int particles) |
void |
setPushFactor(double pushFactor) |
void |
setPushFactorForOthers(double pushFactorForOthers) |
void |
setRadius(double radius) |
void |
setRange(double range) |
void |
setShowParticles(boolean showParticles) |
void |
setSource(AirBurst source) |
void |
setSpeed(double speed) |
void |
setSpeedFactor(double speedFactor) |
void |
setTicks(int ticks) |
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 AirBlast(org.bukkit.entity.Player player)
public AirBlast(org.bukkit.entity.Player player, org.bukkit.Location location, org.bukkit.util.Vector direction, double modifiedPushFactor, AirBurst burst)
public static void progressOrigins()
public static void setOrigin(org.bukkit.entity.Player player)
public void progress()
Ability
public static boolean removeAirBlastsAroundPoint(org.bukkit.Location location, double radius)
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 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 int getTicks()
public void setTicks(int ticks)
public double getSpeedFactor()
public void setSpeedFactor(double speedFactor)
public double getRange()
public void setRange(double range)
public double getPushFactor()
public void setPushFactor(double pushFactor)
public double getPushFactorForOthers()
public void setPushFactorForOthers(double pushFactorForOthers)
public double getDamage()
public void setDamage(double damage)
public double getSpeed()
public void setSpeed(double speed)
public double getRadius()
public void setRadius(double radius)
public boolean isCanFlickLevers()
public void setCanFlickLevers(boolean canFlickLevers)
public boolean isCanOpenDoors()
public void setCanOpenDoors(boolean canOpenDoors)
public boolean isCanPressButtons()
public void setCanPressButtons(boolean canPressButtons)
public boolean isCanCoolLava()
public void setCanCoolLava(boolean canCoolLava)
public boolean isFromOtherOrigin()
public void setFromOtherOrigin(boolean isFromOtherOrigin)
public boolean isShowParticles()
public void setShowParticles(boolean showParticles)
public AirBurst getSource()
public void setSource(AirBurst source)
public java.util.ArrayList<org.bukkit.block.Block> getAffectedLevers()
public java.util.ArrayList<org.bukkit.entity.Entity> getAffectedEntities()
public void setLocation(org.bukkit.Location location)
public void setCooldown(long cooldown)
public int getParticles()
public void setParticles(int particles)
public static int getSelectParticles()
public static double getSelectRange()