public class BlazeArc extends FireAbility
Constructor and Description |
---|
BlazeArc(org.bukkit.entity.Player player,
org.bukkit.Location location,
org.bukkit.util.Vector direction,
double range) |
Modifier and Type | Method and Description |
---|---|
static void |
dissipateAll() |
long |
getCooldown() |
org.bukkit.util.Vector |
getDirection() |
static long |
getDissipateRemoveTime() |
static java.util.concurrent.ConcurrentHashMap<org.bukkit.block.Block,org.bukkit.entity.Player> |
getIgnitedBlocks() |
static java.util.concurrent.ConcurrentHashMap<org.bukkit.block.Block,java.lang.Long> |
getIgnitedTimes() |
long |
getInterval() |
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() |
static org.bukkit.Material[] |
getOverwritableMaterials() |
double |
getRange() |
static java.util.concurrent.ConcurrentHashMap<org.bukkit.Location,org.bukkit.material.MaterialData> |
getReplacedBlocks() |
double |
getSpeed() |
long |
getTime() |
static void |
handleDissipation() |
boolean |
isHarmlessAbility()
Determines if this ability is considered harmless against other players.
|
static boolean |
isIgnitable(org.bukkit.entity.Player player,
org.bukkit.block.Block block) |
boolean |
isSneakAbility()
Determines if this ability uses the
PlayerToggleSneakEvent as a
controlling mechanism. |
void |
progress()
Causes the ability to be updated.
|
static void |
removeAllCleanup() |
static void |
removeAroundPoint(org.bukkit.Location location,
double radius) |
static void |
removeBlock(org.bukkit.block.Block block) |
void |
setDirection(org.bukkit.util.Vector direction) |
void |
setInterval(long interval) |
void |
setLocation(org.bukkit.Location location) |
void |
setOrigin(org.bukkit.Location origin) |
void |
setRange(double range) |
void |
setSpeed(double speed) |
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 BlazeArc(org.bukkit.entity.Player player, org.bukkit.Location location, org.bukkit.util.Vector direction, double range)
public void progress()
Ability
public static void dissipateAll()
public static void handleDissipation()
public static boolean isIgnitable(org.bukkit.entity.Player player, org.bukkit.block.Block block)
public static void removeAllCleanup()
public static void removeAroundPoint(org.bukkit.Location location, double radius)
public static void removeBlock(org.bukkit.block.Block block)
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 long getTime()
public void setTime(long time)
public long getInterval()
public void setInterval(long interval)
public double getRange()
public void setRange(double range)
public double getSpeed()
public void setSpeed(double speed)
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 long getDissipateRemoveTime()
public static org.bukkit.Material[] getOverwritableMaterials()
public static java.util.concurrent.ConcurrentHashMap<org.bukkit.block.Block,org.bukkit.entity.Player> getIgnitedBlocks()
public static java.util.concurrent.ConcurrentHashMap<org.bukkit.block.Block,java.lang.Long> getIgnitedTimes()
public static java.util.concurrent.ConcurrentHashMap<org.bukkit.Location,org.bukkit.material.MaterialData> getReplacedBlocks()
public void setLocation(org.bukkit.Location location)