public class IceSpikePillar extends IceAbility
Constructor and Description |
---|
IceSpikePillar(org.bukkit.entity.Player player) |
IceSpikePillar(org.bukkit.entity.Player player,
org.bukkit.Location origin,
int damage,
org.bukkit.util.Vector throwing,
long aoecooldown) |
Modifier and Type | Method and Description |
---|---|
static boolean |
blockInAllAffectedBlocks(org.bukkit.block.Block block) |
static boolean |
blockIsBase(org.bukkit.block.Block block) |
static java.util.concurrent.ConcurrentHashMap<org.bukkit.block.Block,org.bukkit.block.Block> |
getAlreadyDoneBlocks() |
static java.util.concurrent.ConcurrentHashMap<org.bukkit.block.Block,java.lang.Integer> |
getBaseBlocks() |
org.bukkit.block.Block |
getBlock() |
long |
getCooldown() |
double |
getDamage() |
org.bukkit.util.Vector |
getDirection() |
int |
getHeight() |
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() |
int |
getProgress() |
double |
getRange() |
long |
getRemoveTimer() |
long |
getRemoveTimestamp() |
long |
getSlowCooldown() |
int |
getSlowDuration() |
int |
getSlowPower() |
double |
getSpeed() |
org.bukkit.util.Vector |
getThrownForce() |
long |
getTime() |
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.
|
static void |
removeBlockBase(org.bukkit.block.Block block) |
static void |
revertBlock(org.bukkit.block.Block block) |
boolean |
revertblocks() |
void |
setBlock(org.bukkit.block.Block block) |
void |
setCooldown(long cooldown) |
void |
setDamage(double damage) |
void |
setDirection(org.bukkit.util.Vector direction) |
void |
setHeight(int height) |
void |
setInterval(long interval) |
void |
setLocation(org.bukkit.Location location) |
void |
setOrigin(org.bukkit.Location origin) |
void |
setProgress(int progress) |
void |
setRange(double range) |
void |
setRemoveTimer(long removeTimer) |
void |
setRemoveTimestamp(long removeTimestamp) |
void |
setSlowCooldown(long slowCooldown) |
void |
setSlowDuration(int slowDuration) |
void |
setSlowPower(int slowPower) |
void |
setSpeed(double speed) |
void |
setThrownForce(org.bukkit.util.Vector thrownForce) |
void |
setTime(long time) |
getElement, getParentAbility
canAutoSource, canDynamicSource, getIceSourceBlock, getIceSourceBlock, getNightFactor, getNightFactor, getNightFactor, getNightFactor, getPlantSourceBlock, getPlantSourceBlock, getPlantSourceBlock, getWaterSourceBlock, isAdjacentToFrozenBlock, isExplosiveAbility, isIcebendable, isIcebendable, isIcebendable, isIcebendable, isIgniteAbility, isLeaves, isLeaves, isPlantbendable, isPlantbendable, isPlantbendable, isPlantbendable, isSnow, isSnow, isWaterbendable, isWaterbendable, isWaterbendable, isWaterbendable, playFocusWaterEffect, playIcebendingSound, playPlantbendingSound, playWaterbendingSound, removeWaterSpouts, removeWaterSpouts, stopBending
getTransparentMaterial, getTransparentMaterialSet, isDay, isEarth, isEarth, isFullMoon, isIce, isIce, isLava, isLava, isLunarEclipse, isMeltable, isMetal, isMetal, isMetalBlock, isNegativeEffect, isNeutralEffect, isNight, isPlant, isPlant, isPositiveEffect, isSand, isSand, 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 IceSpikePillar(org.bukkit.entity.Player player)
public IceSpikePillar(org.bukkit.entity.Player player, org.bukkit.Location origin, int damage, org.bukkit.util.Vector throwing, long aoecooldown)
public static boolean blockInAllAffectedBlocks(org.bukkit.block.Block block)
public static void revertBlock(org.bukkit.block.Block block)
public void progress()
Ability
public static boolean blockIsBase(org.bukkit.block.Block block)
public static void removeBlockBase(org.bukkit.block.Block block)
public boolean revertblocks()
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 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 int getHeight()
public void setHeight(int height)
public int getProgress()
public void setProgress(int progress)
public int getSlowPower()
public void setSlowPower(int slowPower)
public int getSlowDuration()
public void setSlowDuration(int slowDuration)
public long getCooldown()
public void setCooldown(long cooldown)
public long getTime()
public void setTime(long time)
public long getRemoveTimestamp()
public void setRemoveTimestamp(long removeTimestamp)
public long getRemoveTimer()
public void setRemoveTimer(long removeTimer)
public long getInterval()
public void setInterval(long interval)
public long getSlowCooldown()
public void setSlowCooldown(long slowCooldown)
public double getDamage()
public void setDamage(double damage)
public double getRange()
public void setRange(double range)
public double getSpeed()
public void setSpeed(double speed)
public org.bukkit.block.Block getBlock()
public void setBlock(org.bukkit.block.Block block)
public org.bukkit.Location getOrigin()
public void setOrigin(org.bukkit.Location origin)
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 void setLocation(org.bukkit.Location location)
public org.bukkit.util.Vector getThrownForce()
public void setThrownForce(org.bukkit.util.Vector thrownForce)
public org.bukkit.util.Vector getDirection()
public void setDirection(org.bukkit.util.Vector direction)
public static java.util.concurrent.ConcurrentHashMap<org.bukkit.block.Block,org.bukkit.block.Block> getAlreadyDoneBlocks()
public static java.util.concurrent.ConcurrentHashMap<org.bukkit.block.Block,java.lang.Integer> getBaseBlocks()