Package noppes.npcs.api.ability.type
Interface IAbilitySlam
-
- All Superinterfaces:
IAbility,IAbilityAction
public interface IAbilitySlam extends IAbility
API interface for Slam abilities. Ground-pound AOE attack with leap.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description floatgetDamage()floatgetKnockbackStrength()floatgetLeapHeight()floatgetLeapSpeed()floatgetRadius()voidsetDamage(float damage)voidsetKnockbackStrength(float knockback)voidsetLeapHeight(float height)voidsetLeapSpeed(float speed)voidsetRadius(float radius)-
Methods inherited from interface noppes.npcs.api.ability.IAbility
getAllowedByType, getBurstAmount, getBurstDelay, getCooldownTicks, getCurrentTick, getDazedTicks, getDisplayName, getId, getLockMovementType, getMagicData, getMaxRange, getMinRange, getName, getNbt, getPhaseInt, getRotationModeType, getRotationPhaseType, getToggleStateLabel, getToggleStates, getTrackSpeedValue, getTypeId, getWeight, getWindUpTicks, isBurstEnabled, isBurstOverlap, isBurstReplayAnimations, isEnabled, isExecuting, isIgnoreCooldown, isIgnoreIFrames, isInterruptible, isMovementLockedDuringActive, isMovementLockedDuringWindup, isPerAbilityCooldown, isRotationLockedDuringActive, isRotationLockedDuringWindup, isToggleable, setAllowedByType, setBurstAmount, setBurstDelay, setBurstEnabled, setBurstOverlap, setBurstReplayAnimations, setCooldownTicks, setDazedTicks, setDisplayName, setEnabled, setId, setIgnoreCooldown, setIgnoreIFrames, setInterruptible, setLockMovementType, setMaxRange, setMinRange, setName, setNbt, setPerAbilityCooldown, setRotationModeType, setRotationPhaseType, setToggleStates, setTrackSpeedValue, setWeight, setWindUpTicks
-
Methods inherited from interface noppes.npcs.api.ability.IAbilityAction
isChain
-
-
-
-
Method Detail
-
getDamage
float getDamage()
- Returns:
- Damage dealt on ground impact.
-
setDamage
void setDamage(float damage)
- Parameters:
damage- Impact damage amount.
-
getRadius
float getRadius()
- Returns:
- Radius of the impact area in blocks.
-
setRadius
void setRadius(float radius)
- Parameters:
radius- Impact radius in blocks.
-
getKnockbackStrength
float getKnockbackStrength()
- Returns:
- Knockback strength applied to entities in the impact area.
-
setKnockbackStrength
void setKnockbackStrength(float knockback)
- Parameters:
knockback- Knockback strength.
-
getLeapSpeed
float getLeapSpeed()
- Returns:
- Horizontal speed of the leap toward the target.
-
setLeapSpeed
void setLeapSpeed(float speed)
- Parameters:
speed- Leap speed.
-
getLeapHeight
float getLeapHeight()
- Returns:
- Vertical height of the leap in blocks.
-
setLeapHeight
void setLeapHeight(float height)
- Parameters:
height- Leap height in blocks.
-
-