public class FireBlast extends FireAbility
Constructor and Description |
---|
FireBlast(org.bukkit.Location location,
org.bukkit.util.Vector direction,
org.bukkit.entity.Player player,
int damage,
java.util.List<org.bukkit.block.Block> safeBlocks) |
FireBlast(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) |
static java.util.ArrayList<FireBlast> |
getAroundPoint(org.bukkit.Location location,
double radius) |
double |
getCollisionRadius() |
long |
getCooldown() |
double |
getDamage() |
org.bukkit.util.Vector |
getDirection() |
double |
getFireTicks() |
org.bukkit.Location |
getLocation()
Specifies the Location of the ability, which may be slightly inaccurate
depending on the Ability implementation.
|
static int |
getMaxTicks() |
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 |
getPushFactor() |
java.util.Random |
getRandom() |
double |
getRange() |
java.util.List<org.bukkit.block.Block> |
getSafeBlocks() |
double |
getSpeed() |
double |
getSpeedFactor() |
int |
getTicks() |
boolean |
isDissipate() |
boolean |
isFireBurst() |
boolean |
isHarmlessAbility()
Determines if this ability is considered harmless against other players.
|
boolean |
isPowerFurnace() |
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 |
removeFireBlastsAroundPoint(org.bukkit.Location location,
double radius) |
void |
setCollisionRadius(double collisionRadius) |
void |
setCooldown(long cooldown) |
void |
setDamage(double damage) |
void |
setDirection(org.bukkit.util.Vector direction) |
void |
setDissipate(boolean dissipate) |
void |
setFireBurst(boolean isFireBurst) |
void |
setFireTicks(double fireTicks) |
void |
setLocation(org.bukkit.Location location) |
void |
setOrigin(org.bukkit.Location origin) |
void |
setPowerFurnace(boolean powerFurnace) |
void |
setPushFactor(double pushFactor) |
void |
setRandom(java.util.Random random) |
void |
setRange(double range) |
void |
setShowParticles(boolean showParticles) |
void |
setSpeed(double speed) |
void |
setSpeedFactor(double speedFactor) |
void |
setTicks(int ticks) |
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 FireBlast(org.bukkit.Location location, org.bukkit.util.Vector direction, org.bukkit.entity.Player player, int damage, java.util.List<org.bukkit.block.Block> safeBlocks)
public FireBlast(org.bukkit.entity.Player player)
public void progress()
Ability
public static boolean annihilateBlasts(org.bukkit.Location location, double radius, org.bukkit.entity.Player source)
public static java.util.ArrayList<FireBlast> getAroundPoint(org.bukkit.Location location, double radius)
public static void removeFireBlastsAroundPoint(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 boolean isPowerFurnace()
public void setPowerFurnace(boolean powerFurnace)
public boolean isShowParticles()
public void setShowParticles(boolean showParticles)
public boolean isDissipate()
public void setDissipate(boolean dissipate)
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 getDamage()
public void setDamage(double damage)
public double getSpeed()
public void setSpeed(double speed)
public double getCollisionRadius()
public void setCollisionRadius(double collisionRadius)
public double getFireTicks()
public void setFireTicks(double fireTicks)
public double getPushFactor()
public void setPushFactor(double pushFactor)
public java.util.Random getRandom()
public void setRandom(java.util.Random random)
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 int getMaxTicks()
public java.util.List<org.bukkit.block.Block> getSafeBlocks()
public void setCooldown(long cooldown)
public void setLocation(org.bukkit.Location location)
public boolean isFireBurst()
public void setFireBurst(boolean isFireBurst)