public class WallOfFire extends FireAbility
Constructor and Description |
---|
WallOfFire(org.bukkit.entity.Player player) |
Modifier and Type | Method and Description |
---|---|
java.util.List<org.bukkit.block.Block> |
getBlocks() |
long |
getCooldown() |
int |
getDamage() |
long |
getDamageInterval() |
int |
getDamageTick() |
long |
getDuration() |
double |
getFireTicks() |
int |
getHeight() |
long |
getInterval() |
int |
getIntervalTick() |
org.bukkit.Location |
getLocation()
Specifies the Location of the ability, which may be slightly inaccurate
depending on the Ability implementation.
|
double |
getMaxAngle() |
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 |
getRange() |
long |
getTime() |
int |
getWidth() |
boolean |
isActive() |
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 |
setActive(boolean active) |
void |
setCooldown(long cooldown) |
void |
setDamage(int damage) |
void |
setDamageInterval(long damageInterval) |
void |
setDamageTick(int damageTick) |
void |
setDuration(long duration) |
void |
setFireTicks(double fireTicks) |
void |
setHeight(int height) |
void |
setInterval(long interval) |
void |
setIntervalTick(int intervalTick) |
void |
setMaxAngle(double maxAngle) |
void |
setOrigin(org.bukkit.Location origin) |
void |
setRange(int range) |
void |
setTime(long time) |
void |
setWidth(int width) |
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 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 isActive()
public void setActive(boolean active)
public int getDamageTick()
public void setDamageTick(int damageTick)
public int getIntervalTick()
public void setIntervalTick(int intervalTick)
public int getRange()
public void setRange(int range)
public int getHeight()
public void setHeight(int height)
public int getWidth()
public void setWidth(int width)
public int getDamage()
public void setDamage(int damage)
public long getDamageInterval()
public void setDamageInterval(long damageInterval)
public long getDuration()
public void setDuration(long duration)
public long getTime()
public void setTime(long time)
public long getInterval()
public void setInterval(long interval)
public double getFireTicks()
public void setFireTicks(double fireTicks)
public double getMaxAngle()
public void setMaxAngle(double maxAngle)
public org.bukkit.Location getOrigin()
public void setOrigin(org.bukkit.Location origin)
public java.util.List<org.bukkit.block.Block> getBlocks()
public void setCooldown(long cooldown)