public class HeatControlSolidify extends FireAbility
Constructor and Description |
---|
HeatControlSolidify(org.bukkit.entity.Player player) |
Modifier and Type | Method and Description |
---|---|
void |
freeze(java.util.List<org.bukkit.Location> area) |
long |
getCooldown() |
long |
getDelay() |
long |
getLastBlockTime() |
long |
getLastParticleTime() |
org.bukkit.Location |
getLocation()
Specifies the Location of the ability, which may be slightly inaccurate
depending on the Ability implementation.
|
double |
getMaxRadius() |
java.lang.String |
getName()
The name of the ability is used for commands such as /bending
display and /bending help.
|
int |
getRadius() |
double |
getRange() |
long |
getRevertTime() |
java.util.ArrayList<TempBlock> |
getTempBlocks() |
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 |
particles(java.util.List<org.bukkit.Location> area) |
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 |
resetLocation(org.bukkit.Location loc) |
void |
revertAll() |
void |
setDelay(long delay) |
void |
setLastBlockTime(long lastBlockTime) |
void |
setLastParticleTime(long lastParticleTime) |
void |
setLocation(org.bukkit.Location location) |
void |
setMaxRadius(double maxRadius) |
void |
setRadius(int radius) |
void |
setRange(double range) |
void |
setRevertTime(long revertTime) |
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, removeAll, start
public void freeze(java.util.List<org.bukkit.Location> area)
public void particles(java.util.List<org.bukkit.Location> area)
public void progress()
Ability
public void remove()
CoreAbility
Ability.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 Ability
remove
in class CoreAbility
CoreAbility.isRemoved()
public void resetLocation(org.bukkit.Location loc)
public void revertAll()
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 getRadius()
public void setRadius(int radius)
public long getDelay()
public void setDelay(long delay)
public long getLastBlockTime()
public void setLastBlockTime(long lastBlockTime)
public long getLastParticleTime()
public void setLastParticleTime(long lastParticleTime)
public long getRevertTime()
public void setRevertTime(long revertTime)
public double getMaxRadius()
public void setMaxRadius(double maxRadius)
public double getRange()
public void setRange(double range)
public java.util.ArrayList<TempBlock> getTempBlocks()
public void setLocation(org.bukkit.Location location)