public class LavaSurgeWall extends LavaAbility
| Constructor and Description |
|---|
LavaSurgeWall(org.bukkit.entity.Player player) |
| Modifier and Type | Method and Description |
|---|---|
void |
cancel() |
static void |
cleanup() |
static void |
form(org.bukkit.entity.Player player) |
static java.util.concurrent.ConcurrentHashMap<org.bukkit.block.Block,org.bukkit.block.Block> |
getAffectedBlocks() |
long |
getCooldown() |
org.bukkit.Location |
getFirstDestination() |
org.bukkit.util.Vector |
getFirstDirection() |
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.
|
double |
getRadius() |
double |
getRange() |
org.bukkit.block.Block |
getSourceBlock() |
org.bukkit.Location |
getTargetDestination() |
org.bukkit.util.Vector |
getTargetDirection() |
long |
getTime() |
static java.util.concurrent.ConcurrentHashMap<org.bukkit.block.Block,org.bukkit.entity.Player> |
getWallBlocks() |
boolean |
isForming() |
boolean |
isHarmlessAbility()
Determines if this ability is considered harmless against other players.
|
boolean |
isProgressing() |
boolean |
isSettingUp() |
boolean |
isSneakAbility()
Determines if this ability uses the
PlayerToggleSneakEvent as a
controlling mechanism. |
void |
moveLava() |
static void |
moveLava(org.bukkit.entity.Player player) |
boolean |
prepare() |
void |
progress()
Causes the ability to be updated.
|
void |
setCooldown(long cooldown) |
void |
setFirstDestination(org.bukkit.Location firstDestination) |
void |
setFirstDirection(org.bukkit.util.Vector firstDirection) |
void |
setForming(boolean forming) |
void |
setInterval(long interval) |
void |
setLocation(org.bukkit.Location location) |
void |
setProgressing(boolean progressing) |
void |
setRadius(double radius) |
void |
setRange(double range) |
void |
setSettingUp(boolean settingUp) |
void |
setSourceBlock(org.bukkit.block.Block sourceBlock) |
void |
setTargetDestination(org.bukkit.Location targetDestination) |
void |
setTargetDirection(org.bukkit.util.Vector targetDirection) |
void |
setTime(long time) |
static boolean |
wasBrokenFor(org.bukkit.entity.Player player,
org.bukkit.block.Block block) |
getElement, getParentAbilityaddTempAirBlock, displaySandParticle, getEarthbendableBlocksLength, getEarthSourceBlock, getEarthSourceBlock, getLavaSourceBlock, getLavaSourceBlock, getLavaSourceBlock, getMetalAugment, getMovedEarth, getNearbyEarthBlock, getPreventEarthbendingBlocks, getPreventPhysicsBlocks, getSubChatColor, getTargetEarthBlock, getTargetEarthBlock, getTempAirLocations, isEarthbendable, isEarthbendable, isEarthbendable, isEarthbendable, isEarthRevertOn, isExplosiveAbility, isIgniteAbility, isLavabendable, isLavabendable, isMetalbendable, isMetalbendable, isMetalbendable, isSandbendable, isSandbendable, isSandbendable, moveEarth, moveEarth, moveEarth, moveEarth, moveEarthBlock, playEarthbendingSound, playMetalbendingSound, playSandBendingSound, removeAllEarthbendedBlocks, removeRevertIndex, removeSandSpouts, removeSandSpouts, revertAirBlock, revertAirBlock, revertBlock, stopBendinggetTransparentMaterial, 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, isWatergetAbilities, 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, startpublic boolean prepare()
public void cancel()
public void moveLava()
public void progress()
Abilitypublic static void moveLava(org.bukkit.entity.Player player)
public static void form(org.bukkit.entity.Player player)
public static void cleanup()
public static boolean wasBrokenFor(org.bukkit.entity.Player player,
org.bukkit.block.Block block)
public static java.util.concurrent.ConcurrentHashMap<org.bukkit.block.Block,org.bukkit.block.Block> getAffectedBlocks()
public static java.util.concurrent.ConcurrentHashMap<org.bukkit.block.Block,org.bukkit.entity.Player> getWallBlocks()
public java.lang.String getName()
AbilityBendingPlayer.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()
AbilityTorrentWave 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()
AbilityPlayerToggleSneakEvent as a
controlling mechanism. Currently WaterPassive will not work while
the player has a sneak ability bound.public boolean isHarmlessAbility()
Abilitypublic boolean isProgressing()
public void setProgressing(boolean progressing)
public boolean isSettingUp()
public void setSettingUp(boolean settingUp)
public boolean isForming()
public void setForming(boolean forming)
public long getTime()
public void setTime(long time)
public long getInterval()
public void setInterval(long interval)
public double getRadius()
public void setRadius(double radius)
public double getRange()
public void setRange(double range)
public org.bukkit.block.Block getSourceBlock()
public void setSourceBlock(org.bukkit.block.Block sourceBlock)
public org.bukkit.Location getFirstDestination()
public void setFirstDestination(org.bukkit.Location firstDestination)
public org.bukkit.Location getTargetDestination()
public void setTargetDestination(org.bukkit.Location targetDestination)
public org.bukkit.util.Vector getFirstDirection()
public void setFirstDirection(org.bukkit.util.Vector firstDirection)
public org.bukkit.util.Vector getTargetDirection()
public void setTargetDirection(org.bukkit.util.Vector targetDirection)
public void setCooldown(long cooldown)
public void setLocation(org.bukkit.Location location)