public class WaterSpoutWave extends WaterAbility
| Modifier and Type | Class and Description |
|---|---|
static class |
WaterSpoutWave.AbilityType |
static class |
WaterSpoutWave.AnimateState |
| Constructor and Description |
|---|
WaterSpoutWave(org.bukkit.entity.Player player,
WaterSpoutWave.AbilityType type) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
canThaw(org.bukkit.block.Block block) |
static boolean |
containsType(org.bukkit.entity.Player player,
WaterSpoutWave.AbilityType type) |
void |
createBlock(org.bukkit.block.Block block,
org.bukkit.Material mat) |
void |
createBlock(org.bukkit.block.Block block,
org.bukkit.Material mat,
byte data) |
void |
createBlockDelay(org.bukkit.block.Block block,
org.bukkit.Material mat,
byte data,
long delay) |
void |
createIceSphere(org.bukkit.entity.Player player,
org.bukkit.entity.Entity entity,
double radius) |
void |
drawCircle(double theta,
double increment) |
java.util.concurrent.ConcurrentHashMap<org.bukkit.block.Block,TempBlock> |
getAffectedBlocks() |
java.util.ArrayList<org.bukkit.entity.Entity> |
getAffectedEntities() |
WaterSpoutWave.AnimateState |
getAnimation() |
double |
getAnimationSpeed() |
double |
getChargeTime() |
long |
getCooldown() |
double |
getDamage() |
org.bukkit.util.Vector |
getDirection() |
Element |
getElement()
Specifies the Element used to represent this type of ability, favoring
SubElements over Elements.
|
double |
getFlightTime() |
static java.util.concurrent.ConcurrentHashMap<org.bukkit.block.Block,TempBlock> |
getFrozenBlocks() |
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 |
getProgressCounter() |
double |
getRadius() |
double |
getSelectRange() |
double |
getSpeed() |
java.util.ArrayList<org.bukkit.scheduler.BukkitRunnable> |
getTasks() |
long |
getTime() |
WaterSpoutWave.AbilityType |
getType() |
static java.util.ArrayList<WaterSpoutWave> |
getType(org.bukkit.entity.Player player,
WaterSpoutWave.AbilityType type) |
double |
getWaveRadius() |
boolean |
isCharging() |
boolean |
isEnabled()
Returns true if the ability is enabled through the config.yml.
|
boolean |
isHarmlessAbility()
Determines if this ability is considered harmless against other players.
|
boolean |
isIceOnly() |
boolean |
isIceWave() |
boolean |
isMoving() |
boolean |
isSneakAbility()
Determines if this ability uses the
PlayerToggleSneakEvent as a
controlling mechanism. |
void |
progress()
Causes the ability to be updated.
|
void |
remove()
Causes this CoreAbility instance to be removed, and
Ability.progress()
will no longer be called every tick. |
void |
removeOldType(org.bukkit.entity.Player player,
WaterSpoutWave.AbilityType type) |
void |
revertBlocks() |
void |
revertBlocksDelay(long delay) |
void |
setAnimation(WaterSpoutWave.AnimateState animation) |
void |
setAnimationSpeed(double animationSpeed) |
void |
setChargeTime(double chargeTime) |
void |
setCharging(boolean charging) |
void |
setCooldown(long cooldown) |
void |
setDamage(double damage) |
void |
setDirection(org.bukkit.util.Vector direction) |
void |
setFlightTime(double flightTime) |
void |
setIceOnly(boolean iceOnly) |
void |
setIceWave(boolean iceWave) |
void |
setLocation(org.bukkit.Location location) |
void |
setMoving(boolean moving) |
void |
setOrigin(org.bukkit.Location origin) |
void |
setProgressCounter(int progressCounter) |
void |
setRadius(double radius) |
void |
setSelectRange(double selectRange) |
void |
setSpeed(double speed) |
void |
setTime(long time) |
void |
setType(WaterSpoutWave.AbilityType type) |
void |
setWaveRadius(double waveRadius) |
static void |
thaw(org.bukkit.block.Block block) |
static boolean |
wasBrokenFor(org.bukkit.entity.Player player,
org.bukkit.block.Block block) |
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, stopBendinggetTransparentMaterial, 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, isWatergetAbilities, getAbilities, getAbilities, getAbilitiesByElement, getAbility, getAbility, getBendingPlayer, getConfig, getDebugString, getDescription, getId, getLanguageConfig, getPlayer, getPlayers, getStartTime, hasAbility, isHiddenAbility, isRemoved, isStarted, progressAll, registerAbilities, registerAddonAbilities, registerPluginAbilities, removeAll, startpublic WaterSpoutWave(org.bukkit.entity.Player player,
WaterSpoutWave.AbilityType type)
public void progress()
Abilitypublic void drawCircle(double theta,
double increment)
public void remove()
CoreAbilityAbility.progress()
will no longer be called every tick. If this method is overridden then
the new method must call super.remove().
Causes the ability to be removed from existence.remove in interface Abilityremove in class CoreAbilityCoreAbility.isRemoved()public void createBlockDelay(org.bukkit.block.Block block,
org.bukkit.Material mat,
byte data,
long delay)
public void createBlock(org.bukkit.block.Block block,
org.bukkit.Material mat)
public void createBlock(org.bukkit.block.Block block,
org.bukkit.Material mat,
byte data)
public void revertBlocks()
public void revertBlocksDelay(long delay)
public void createIceSphere(org.bukkit.entity.Player player,
org.bukkit.entity.Entity entity,
double radius)
public static boolean containsType(org.bukkit.entity.Player player,
WaterSpoutWave.AbilityType type)
public void removeOldType(org.bukkit.entity.Player player,
WaterSpoutWave.AbilityType type)
public static java.util.ArrayList<WaterSpoutWave> getType(org.bukkit.entity.Player player, WaterSpoutWave.AbilityType type)
public static boolean wasBrokenFor(org.bukkit.entity.Player player,
org.bukkit.block.Block block)
public static boolean canThaw(org.bukkit.block.Block block)
public static void thaw(org.bukkit.block.Block block)
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 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 Element getElement()
AbilityElement.LIGHTNING instead of Element.FIRE.getElement in interface AbilitygetElement in class WaterAbilityElement.SubElement.getParentElement()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 double getRadius()
public void setRadius(double radius)
public boolean isCharging()
public void setCharging(boolean charging)
public boolean isIceWave()
public void setIceWave(boolean iceWave)
public boolean isIceOnly()
public void setIceOnly(boolean iceOnly)
public boolean isEnabled()
AbilityisEnabled in interface AbilityisEnabled in class CoreAbilitypublic boolean isMoving()
public void setMoving(boolean moving)
public int getProgressCounter()
public void setProgressCounter(int progressCounter)
public long getTime()
public void setTime(long time)
public double getSelectRange()
public void setSelectRange(double selectRange)
public double getSpeed()
public void setSpeed(double speed)
public double getChargeTime()
public void setChargeTime(double chargeTime)
public double getFlightTime()
public void setFlightTime(double flightTime)
public double getWaveRadius()
public void setWaveRadius(double waveRadius)
public double getDamage()
public void setDamage(double damage)
public double getAnimationSpeed()
public void setAnimationSpeed(double animationSpeed)
public WaterSpoutWave.AbilityType getType()
public void setType(WaterSpoutWave.AbilityType type)
public WaterSpoutWave.AnimateState getAnimation()
public void setAnimation(WaterSpoutWave.AnimateState animation)
public org.bukkit.util.Vector getDirection()
public void setDirection(org.bukkit.util.Vector direction)
public org.bukkit.Location getOrigin()
public void setOrigin(org.bukkit.Location origin)
public static java.util.concurrent.ConcurrentHashMap<org.bukkit.block.Block,TempBlock> getFrozenBlocks()
public java.util.ArrayList<org.bukkit.entity.Entity> getAffectedEntities()
public java.util.ArrayList<org.bukkit.scheduler.BukkitRunnable> getTasks()
public java.util.concurrent.ConcurrentHashMap<org.bukkit.block.Block,TempBlock> getAffectedBlocks()
public void setCooldown(long cooldown)
public void setLocation(org.bukkit.Location location)