Package noppes.npcs.api.ability.type
Interface IAbilityDodge
-
- All Superinterfaces:
IAbility,IAbilityAction,IAbilityDefend
public interface IAbilityDodge extends IAbilityDefend
API interface for Dodge abilities. Cancels the incoming attack event entirely and plays a random dodge animation.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetDodgeAnimation1Id()intgetDodgeAnimation2Id()intgetDodgeAnimation3Id()voidsetDodgeAnimation1Id(int animationId)voidsetDodgeAnimation2Id(int animationId)voidsetDodgeAnimation3Id(int animationId)-
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
-
Methods inherited from interface noppes.npcs.api.ability.type.IAbilityDefend
getDurationTicks, getMaxHitAmount, isDefending, setDurationTicks, setMaxHitAmount
-
-
-
-
Method Detail
-
getDodgeAnimation1Id
int getDodgeAnimation1Id()
- Returns:
- Animation ID for dodge variant 1, or -1 for none.
-
setDodgeAnimation1Id
void setDodgeAnimation1Id(int animationId)
- Parameters:
animationId- Animation ID, or -1 for none.
-
getDodgeAnimation2Id
int getDodgeAnimation2Id()
- Returns:
- Animation ID for dodge variant 2, or -1 for none.
-
setDodgeAnimation2Id
void setDodgeAnimation2Id(int animationId)
- Parameters:
animationId- Animation ID, or -1 for none.
-
getDodgeAnimation3Id
int getDodgeAnimation3Id()
- Returns:
- Animation ID for dodge variant 3, or -1 for none.
-
setDodgeAnimation3Id
void setDodgeAnimation3Id(int animationId)
- Parameters:
animationId- Animation ID, or -1 for none.
-
-