public class Ripple extends EarthAbility
Constructor and Description |
---|
Ripple(org.bukkit.entity.Player player,
org.bukkit.Location origin,
org.bukkit.util.Vector direction) |
Ripple(org.bukkit.entity.Player player,
org.bukkit.util.Vector direction) |
Modifier and Type | Method and Description |
---|---|
org.bukkit.block.Block |
getBlock1() |
org.bukkit.block.Block |
getBlock2() |
org.bukkit.block.Block |
getBlock3() |
org.bukkit.block.Block |
getBlock4() |
static java.util.Map<java.lang.Integer[],org.bukkit.block.Block> |
getBlocks() |
long |
getCooldown() |
double |
getDamage() |
org.bukkit.util.Vector |
getDirection() |
java.util.ArrayList<org.bukkit.entity.Entity> |
getEntities() |
double |
getKnockback() |
org.bukkit.Location |
getLocation()
Specifies the Location of the ability, which may be slightly inaccurate
depending on the Ability implementation.
|
java.util.ArrayList<org.bukkit.Location> |
getLocations() |
int |
getMaxStep() |
java.lang.String |
getName()
The name of the ability is used for commands such as /bending
display and /bending help.
|
org.bukkit.Location |
getOrigin() |
double |
getRange() |
int |
getStep() |
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 |
progressAllCleanup() |
void |
setBlock1(org.bukkit.block.Block block1) |
void |
setBlock2(org.bukkit.block.Block block2) |
void |
setBlock3(org.bukkit.block.Block block3) |
void |
setBlock4(org.bukkit.block.Block block4) |
void |
setDamage(double damage) |
void |
setDirection(org.bukkit.util.Vector direction) |
void |
setKnockback(double knockback) |
void |
setLocation(org.bukkit.Location location) |
void |
setMaxStep(int maxStep) |
void |
setOrigin(org.bukkit.Location origin) |
void |
setRange(double range) |
void |
setStep(int step) |
addTempAirBlock, displaySandParticle, getEarthbendableBlocksLength, getEarthSourceBlock, getEarthSourceBlock, getElement, 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, 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 Ripple(org.bukkit.entity.Player player, org.bukkit.util.Vector direction)
public Ripple(org.bukkit.entity.Player player, org.bukkit.Location origin, org.bukkit.util.Vector direction)
public void progress()
Ability
public static void progressAllCleanup()
public static java.util.Map<java.lang.Integer[],org.bukkit.block.Block> getBlocks()
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 int getStep()
public void setStep(int step)
public int getMaxStep()
public void setMaxStep(int maxStep)
public double getRange()
public void setRange(double range)
public double getDamage()
public void setDamage(double damage)
public double getKnockback()
public void setKnockback(double knockback)
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 org.bukkit.block.Block getBlock1()
public void setBlock1(org.bukkit.block.Block block1)
public org.bukkit.block.Block getBlock2()
public void setBlock2(org.bukkit.block.Block block2)
public org.bukkit.block.Block getBlock3()
public void setBlock3(org.bukkit.block.Block block3)
public org.bukkit.block.Block getBlock4()
public void setBlock4(org.bukkit.block.Block block4)
public java.util.ArrayList<org.bukkit.Location> getLocations()
public java.util.ArrayList<org.bukkit.entity.Entity> getEntities()
public void setLocation(org.bukkit.Location location)