mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-19 03:49:10 +00:00
1569 lines
62 KiB
HTML
1569 lines
62 KiB
HTML
<!DOCTYPE HTML>
|
|
<!-- NewPage -->
|
|
<html lang="en">
|
|
<head>
|
|
<!-- Generated by javadoc -->
|
|
<title>IAbility (CustomNPC-Plus 1.11.1 API)</title>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
|
<link rel="stylesheet" type="text/css" href="../../../../javadoc-theme.css" title="Style">
|
|
<link rel="stylesheet" type="text/css" href="../../../../jquery/jquery-ui.min.css" title="Style">
|
|
<link rel="stylesheet" type="text/css" href="../../../../jquery-ui.overrides.css" title="Style">
|
|
<script type="text/javascript" src="../../../../script.js"></script>
|
|
<script type="text/javascript" src="../../../../jquery/jszip/dist/jszip.min.js"></script>
|
|
<script type="text/javascript" src="../../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script>
|
|
<!--[if IE]>
|
|
<script type="text/javascript" src="../../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
|
|
<![endif]-->
|
|
<script type="text/javascript" src="../../../../jquery/jquery-3.7.1.min.js"></script>
|
|
<script type="text/javascript" src="../../../../jquery/jquery-ui.min.js"></script>
|
|
</head>
|
|
<body>
|
|
<script type="text/javascript"><!--
|
|
try {
|
|
if (location.href.indexOf('is-external=true') == -1) {
|
|
parent.document.title="IAbility (CustomNPC-Plus 1.11.1 API)";
|
|
}
|
|
}
|
|
catch(err) {
|
|
}
|
|
//-->
|
|
var data = {"i0":6,"i1":6,"i2":6,"i3":6,"i4":6,"i5":6,"i6":6,"i7":6,"i8":6,"i9":6,"i10":6,"i11":6,"i12":6,"i13":6,"i14":6,"i15":6,"i16":6,"i17":6,"i18":6,"i19":6,"i20":6,"i21":6,"i22":6,"i23":6,"i24":6,"i25":6,"i26":6,"i27":6,"i28":6,"i29":6,"i30":6,"i31":6,"i32":6,"i33":6,"i34":6,"i35":6,"i36":6,"i37":6,"i38":6,"i39":6,"i40":6,"i41":6,"i42":6,"i43":6,"i44":6,"i45":6,"i46":6,"i47":6,"i48":6,"i49":6,"i50":6,"i51":6,"i52":6,"i53":6,"i54":6,"i55":6,"i56":6,"i57":6,"i58":6,"i59":6,"i60":6,"i61":6,"i62":6};
|
|
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"]};
|
|
var altColor = "altColor";
|
|
var rowColor = "rowColor";
|
|
var tableTab = "tableTab";
|
|
var activeTableTab = "activeTableTab";
|
|
var pathtoroot = "../../../../";
|
|
var useModuleDirectories = true;
|
|
loadScripts(document, 'script');</script>
|
|
<noscript>
|
|
<div>JavaScript is disabled on your browser.</div>
|
|
</noscript>
|
|
<header role="banner">
|
|
<nav role="navigation">
|
|
<div class="fixedNav">
|
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
|
<div class="topNav"><a id="navbar.top">
|
|
<!-- -->
|
|
</a>
|
|
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
|
<a id="navbar.top.firstrow">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="navList" title="Navigation">
|
|
<li><a href="../../../../index.html">Overview</a></li>
|
|
<li><a href="package-summary.html">Package</a></li>
|
|
<li class="navBarCell1Rev">Class</li>
|
|
<li><a href="package-tree.html">Tree</a></li>
|
|
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
|
|
<li><a href="../../../../index-all.html">Index</a></li>
|
|
<li><a href="../../../../help-doc.html">Help</a></li>
|
|
</ul>
|
|
<div class="aboutLanguage"><div id="javadoc-header"> <a href="/CustomNPC-Plus/" class="header-brand"> <div class="header-title"> CustomNPC+ <span>Javadoc Reference</span> </div> </a> <a href="/CustomNPC-Plus/" class="header-back"> Back to Index </a> </div></div>
|
|
</div>
|
|
<div class="subNav">
|
|
<ul class="navList" id="allclasses_navbar_top">
|
|
<li><a href="../../../../allclasses.html">All Classes</a></li>
|
|
</ul>
|
|
<ul class="navListSearch">
|
|
<li><label for="search">SEARCH:</label>
|
|
<input type="text" id="search" value="search" disabled="disabled">
|
|
<input type="reset" id="reset" value="reset" disabled="disabled">
|
|
</li>
|
|
</ul>
|
|
<div>
|
|
<script type="text/javascript"><!--
|
|
allClassesLink = document.getElementById("allclasses_navbar_top");
|
|
if(window==top) {
|
|
allClassesLink.style.display = "block";
|
|
}
|
|
else {
|
|
allClassesLink.style.display = "none";
|
|
}
|
|
//-->
|
|
</script>
|
|
<noscript>
|
|
<div>JavaScript is disabled on your browser.</div>
|
|
</noscript>
|
|
</div>
|
|
<div>
|
|
<ul class="subNavList">
|
|
<li>Summary: </li>
|
|
<li>Nested | </li>
|
|
<li>Field | </li>
|
|
<li>Constr | </li>
|
|
<li><a href="#method.summary">Method</a></li>
|
|
</ul>
|
|
<ul class="subNavList">
|
|
<li>Detail: </li>
|
|
<li>Field | </li>
|
|
<li>Constr | </li>
|
|
<li><a href="#method.detail">Method</a></li>
|
|
</ul>
|
|
</div>
|
|
<a id="skip.navbar.top">
|
|
<!-- -->
|
|
</a></div>
|
|
<!-- ========= END OF TOP NAVBAR ========= -->
|
|
</div>
|
|
<div class="navPadding"> </div>
|
|
<script type="text/javascript"><!--
|
|
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
|
//-->
|
|
</script>
|
|
</nav>
|
|
</header>
|
|
<!-- ======== START OF CLASS DATA ======== -->
|
|
<main role="main">
|
|
<div class="header">
|
|
<div class="subTitle"><span class="packageLabelInType">Package</span> <a href="package-summary.html">noppes.npcs.api.ability</a></div>
|
|
<h2 title="Interface IAbility" class="title">Interface IAbility</h2>
|
|
</div>
|
|
<div class="contentContainer">
|
|
<div class="description">
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<dl>
|
|
<dt>All Superinterfaces:</dt>
|
|
<dd><code><a href="IAbilityAction.html" title="interface in noppes.npcs.api.ability">IAbilityAction</a></code></dd>
|
|
</dl>
|
|
<dl>
|
|
<dt>All Known Subinterfaces:</dt>
|
|
<dd><code><a href="type/IAbilityCharge.html" title="interface in noppes.npcs.api.ability.type">IAbilityCharge</a></code>, <code><a href="type/IAbilityCounter.html" title="interface in noppes.npcs.api.ability.type">IAbilityCounter</a></code>, <code><a href="type/IAbilityCutter.html" title="interface in noppes.npcs.api.ability.type">IAbilityCutter</a></code>, <code><a href="type/IAbilityDash.html" title="interface in noppes.npcs.api.ability.type">IAbilityDash</a></code>, <code><a href="type/IAbilityDefend.html" title="interface in noppes.npcs.api.ability.type">IAbilityDefend</a></code>, <code><a href="type/IAbilityDisc.html" title="interface in noppes.npcs.api.ability.type">IAbilityDisc</a></code>, <code><a href="type/IAbilityDodge.html" title="interface in noppes.npcs.api.ability.type">IAbilityDodge</a></code>, <code><a href="type/IAbilityEffect.html" title="interface in noppes.npcs.api.ability.type">IAbilityEffect</a></code>, <code><a href="type/IAbilityEnergyBeam.html" title="interface in noppes.npcs.api.ability.type">IAbilityEnergyBeam</a></code>, <code><a href="type/IAbilityEnergyProjectile.html" title="interface in noppes.npcs.api.ability.type">IAbilityEnergyProjectile</a></code>, <code><a href="type/IAbilityGuard.html" title="interface in noppes.npcs.api.ability.type">IAbilityGuard</a></code>, <code><a href="type/IAbilityHazard.html" title="interface in noppes.npcs.api.ability.type">IAbilityHazard</a></code>, <code><a href="type/IAbilityHeavyHit.html" title="interface in noppes.npcs.api.ability.type">IAbilityHeavyHit</a></code>, <code><a href="type/IAbilityLaser.html" title="interface in noppes.npcs.api.ability.type">IAbilityLaser</a></code>, <code><a href="type/IAbilityOrb.html" title="interface in noppes.npcs.api.ability.type">IAbilityOrb</a></code>, <code><a href="type/IAbilityProjectile.html" title="interface in noppes.npcs.api.ability.type">IAbilityProjectile</a></code>, <code><a href="type/IAbilityShockwave.html" title="interface in noppes.npcs.api.ability.type">IAbilityShockwave</a></code>, <code><a href="type/IAbilitySlam.html" title="interface in noppes.npcs.api.ability.type">IAbilitySlam</a></code>, <code><a href="type/IAbilitySweeper.html" title="interface in noppes.npcs.api.ability.type">IAbilitySweeper</a></code>, <code><a href="type/IAbilityTeleport.html" title="interface in noppes.npcs.api.ability.type">IAbilityTeleport</a></code>, <code><a href="type/IAbilityTrap.html" title="interface in noppes.npcs.api.ability.type">IAbilityTrap</a></code>, <code><a href="type/IAbilityVortex.html" title="interface in noppes.npcs.api.ability.type">IAbilityVortex</a></code>, <code><a href="type/IAbilityZone.html" title="interface in noppes.npcs.api.ability.type">IAbilityZone</a></code>, <code><a href="ICustomAbility.html" title="interface in noppes.npcs.api.ability">ICustomAbility</a></code></dd>
|
|
</dl>
|
|
<hr>
|
|
<pre>public interface <span class="typeNameLabel">IAbility</span>
|
|
extends <a href="IAbilityAction.html" title="interface in noppes.npcs.api.ability">IAbilityAction</a></pre>
|
|
<div class="block">Interface for NPC abilities.
|
|
Abilities are special attacks or actions that NPCs can perform during combat.</div>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div class="summary">
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<!-- ========== METHOD SUMMARY =========== -->
|
|
<section>
|
|
<ul class="blockList">
|
|
<li class="blockList"><a id="method.summary">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Method Summary</h3>
|
|
<table class="memberSummary">
|
|
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd"> </span></span></caption>
|
|
<tr>
|
|
<th class="colFirst" scope="col">Modifier and Type</th>
|
|
<th class="colSecond" scope="col">Method</th>
|
|
<th class="colLast" scope="col">Description</th>
|
|
</tr>
|
|
<tr id="i0" class="altColor">
|
|
<td class="colFirst"><code>int</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getAllowedByType()">getAllowedByType</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Get the allowed user type for this ability.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i1" class="rowColor">
|
|
<td class="colFirst"><code>int</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getBurstAmount()">getBurstAmount</a></span>()</code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr id="i2" class="altColor">
|
|
<td class="colFirst"><code>int</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getBurstDelay()">getBurstDelay</a></span>()</code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr id="i3" class="rowColor">
|
|
<td class="colFirst"><code>int</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getCooldownTicks()">getCooldownTicks</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Get the cooldown time in ticks.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i4" class="altColor">
|
|
<td class="colFirst"><code>int</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getCurrentTick()">getCurrentTick</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Get the current tick within the current phase.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i5" class="rowColor">
|
|
<td class="colFirst"><code>int</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getDazedTicks()">getDazedTicks</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Get the dazed time in ticks (stun after interrupt during WINDUP).</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i6" class="altColor">
|
|
<td class="colFirst"><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getDisplayName()">getDisplayName</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Get the display name (cosmetic).</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i7" class="rowColor">
|
|
<td class="colFirst"><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getId()">getId</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Get the unique ID (UUID for custom abilities, registry key for built-in).</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i8" class="altColor">
|
|
<td class="colFirst"><code>int</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getLockMovementType()">getLockMovementType</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Get the lock movement type for this ability.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i9" class="rowColor">
|
|
<td class="colFirst"><code><a href="../handler/data/IMagicData.html" title="interface in noppes.npcs.api.handler.data">IMagicData</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getMagicData()">getMagicData</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Get this ability's magic data.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i10" class="altColor">
|
|
<td class="colFirst"><code>float</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getMaxRange()">getMaxRange</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Get the maximum range at which this ability can be used.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i11" class="rowColor">
|
|
<td class="colFirst"><code>float</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getMinRange()">getMinRange</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Get the minimum range at which this ability can be used.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i12" class="altColor">
|
|
<td class="colFirst"><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getName()">getName</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Get the unique identifier/name of this ability (used for file naming, commands, search).</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i13" class="rowColor">
|
|
<td class="colFirst"><code><a href="../INbt.html" title="interface in noppes.npcs.api">INbt</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getNbt()">getNbt</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Get this ability's data as NBT.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i14" class="altColor">
|
|
<td class="colFirst"><code>int</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getPhaseInt()">getPhaseInt</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Get the current execution phase (0=IDLE, 1=WINDUP, 2=ACTIVE, 3=DAZED, 4=BURST_DELAY).</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i15" class="rowColor">
|
|
<td class="colFirst"><code>int</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getRotationModeType()">getRotationModeType</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Get the rotation mode for this ability.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i16" class="altColor">
|
|
<td class="colFirst"><code>int</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getRotationPhaseType()">getRotationPhaseType</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Get the rotation phase for this ability (when rotation mode applies).</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i17" class="rowColor">
|
|
<td class="colFirst"><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getToggleStateLabel(int)">getToggleStateLabel</a></span>​(int state)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Get the display label for a specific toggle state (1-indexed).</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i18" class="altColor">
|
|
<td class="colFirst"><code>int</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getToggleStates()">getToggleStates</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Get the number of toggle states.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i19" class="rowColor">
|
|
<td class="colFirst"><code>float</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getTrackSpeedValue()">getTrackSpeedValue</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Get track speed for TRACK rotation mode (blocks/second).</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i20" class="altColor">
|
|
<td class="colFirst"><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getTypeId()">getTypeId</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Get the type ID of this ability (e.g., "cnpc:slam", "cnpc:beam").</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i21" class="rowColor">
|
|
<td class="colFirst"><code>int</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getWeight()">getWeight</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Get the selection weight for random ability selection.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i22" class="altColor">
|
|
<td class="colFirst"><code>int</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getWindUpTicks()">getWindUpTicks</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Get the wind-up time in ticks (telegraph phase).</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i23" class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isBurstEnabled()">isBurstEnabled</a></span>()</code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr id="i24" class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isBurstOverlap()">isBurstOverlap</a></span>()</code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr id="i25" class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isBurstReplayAnimations()">isBurstReplayAnimations</a></span>()</code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr id="i26" class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isEnabled()">isEnabled</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Check if this ability is enabled.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i27" class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isExecuting()">isExecuting</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Check if this ability is currently being executed.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i28" class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isIgnoreCooldown()">isIgnoreCooldown</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Check if this ability ignores cooldowns.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i29" class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isIgnoreIFrames()">isIgnoreIFrames</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Check if this ability ignores target invulnerability frames (hurt resistance).</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i30" class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isInterruptible()">isInterruptible</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Check if this ability can be interrupted by damage.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i31" class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isMovementLockedDuringActive()">isMovementLockedDuringActive</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Check if movement (pathfinding/motion) is locked during the ACTIVE phase.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i32" class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isMovementLockedDuringWindup()">isMovementLockedDuringWindup</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Check if movement (pathfinding/motion) is locked during the WINDUP phase.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i33" class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isPerAbilityCooldown()">isPerAbilityCooldown</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Check if this ability uses per-ability cooldown instead of global cooldown.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i34" class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isRotationLockedDuringActive()">isRotationLockedDuringActive</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Check if rotation (yaw/pitch) is locked during the ACTIVE phase.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i35" class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isRotationLockedDuringWindup()">isRotationLockedDuringWindup</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Check if rotation (yaw/pitch) is locked during the WINDUP phase.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i36" class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isToggleable()">isToggleable</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Check if this ability is toggleable (has at least 1 toggle state).</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i37" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setAllowedByType(int)">setAllowedByType</a></span>​(int type)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Set the allowed user type for this ability.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i38" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setBurstAmount(int)">setBurstAmount</a></span>​(int amount)</code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr id="i39" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setBurstDelay(int)">setBurstDelay</a></span>​(int delay)</code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr id="i40" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setBurstEnabled(boolean)">setBurstEnabled</a></span>​(boolean enabled)</code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr id="i41" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setBurstOverlap(boolean)">setBurstOverlap</a></span>​(boolean overlap)</code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr id="i42" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setBurstReplayAnimations(boolean)">setBurstReplayAnimations</a></span>​(boolean replay)</code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr id="i43" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setCooldownTicks(int)">setCooldownTicks</a></span>​(int ticks)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Set the cooldown time in ticks.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i44" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setDazedTicks(int)">setDazedTicks</a></span>​(int ticks)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Set the dazed time in ticks.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i45" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setDisplayName(java.lang.String)">setDisplayName</a></span>​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> displayName)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Set the display name (cosmetic).</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i46" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setEnabled(boolean)">setEnabled</a></span>​(boolean enabled)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Enable or disable this ability.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i47" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setId(java.lang.String)">setId</a></span>​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> id)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Set the unique ID of this ability instance.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i48" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setIgnoreCooldown(boolean)">setIgnoreCooldown</a></span>​(boolean ignore)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Set whether this ability ignores cooldowns.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i49" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setIgnoreIFrames(boolean)">setIgnoreIFrames</a></span>​(boolean ignore)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Set whether this ability ignores target invulnerability frames (hurt resistance).</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i50" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setInterruptible(boolean)">setInterruptible</a></span>​(boolean interruptible)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Set whether this ability can be interrupted.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i51" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setLockMovementType(int)">setLockMovementType</a></span>​(int type)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Set the lock movement type for this ability.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i52" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setMaxRange(float)">setMaxRange</a></span>​(float range)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Set the maximum range.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i53" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setMinRange(float)">setMinRange</a></span>​(float range)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Set the minimum range.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i54" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setName(java.lang.String)">setName</a></span>​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> name)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Set the unique identifier/name of this ability.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i55" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setNbt(noppes.npcs.api.INbt)">setNbt</a></span>​(<a href="../INbt.html" title="interface in noppes.npcs.api">INbt</a> nbt)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Set this ability's data from NBT.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i56" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setPerAbilityCooldown(boolean)">setPerAbilityCooldown</a></span>​(boolean perAbility)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Set whether this ability uses per-ability cooldown.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i57" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setRotationModeType(int)">setRotationModeType</a></span>​(int type)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Set the rotation mode for this ability.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i58" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setRotationPhaseType(int)">setRotationPhaseType</a></span>​(int type)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Set the rotation phase for this ability.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i59" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setToggleStates(int)">setToggleStates</a></span>​(int states)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Set the number of toggle states.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i60" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setTrackSpeedValue(float)">setTrackSpeedValue</a></span>​(float speed)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Set track speed for TRACK rotation mode (blocks/second).</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i61" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setWeight(int)">setWeight</a></span>​(int weight)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Set the selection weight.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i62" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setWindUpTicks(int)">setWindUpTicks</a></span>​(int ticks)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Set the wind-up time in ticks.</div>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<ul class="blockList">
|
|
<li class="blockList"><a id="methods.inherited.from.class.noppes.npcs.api.ability.IAbilityAction">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Methods inherited from interface noppes.npcs.api.ability.<a href="IAbilityAction.html" title="interface in noppes.npcs.api.ability">IAbilityAction</a></h3>
|
|
<code><a href="IAbilityAction.html#isChain()">isChain</a></code></li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</section>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div class="details">
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<!-- ============ METHOD DETAIL ========== -->
|
|
<section>
|
|
<ul class="blockList">
|
|
<li class="blockList"><a id="method.detail">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Method Detail</h3>
|
|
<a id="getId()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getId</h4>
|
|
<pre class="methodSignature"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> getId()</pre>
|
|
<div class="block">Get the unique ID (UUID for custom abilities, registry key for built-in).
|
|
This is the stable reference that never changes after creation.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>the unique ability ID</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="setId(java.lang.String)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setId</h4>
|
|
<pre class="methodSignature">void setId​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> id)</pre>
|
|
<div class="block">Set the unique ID of this ability instance.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>id</code> - Unique ability ID.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="getName()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getName</h4>
|
|
<pre class="methodSignature"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> getName()</pre>
|
|
<div class="block">Get the unique identifier/name of this ability (used for file naming, commands, search).</div>
|
|
<dl>
|
|
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
|
<dd><code><a href="IAbilityAction.html#getName()">getName</a></code> in interface <code><a href="IAbilityAction.html" title="interface in noppes.npcs.api.ability">IAbilityAction</a></code></dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>The unique identifier/name of this action.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="setName(java.lang.String)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setName</h4>
|
|
<pre class="methodSignature">void setName​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> name)</pre>
|
|
<div class="block">Set the unique identifier/name of this ability.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>name</code> - Unique identifier.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="getDisplayName()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getDisplayName</h4>
|
|
<pre class="methodSignature"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> getDisplayName()</pre>
|
|
<div class="block">Get the display name (cosmetic). Falls back to getName() if not set.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>the display name</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="setDisplayName(java.lang.String)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setDisplayName</h4>
|
|
<pre class="methodSignature">void setDisplayName​(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> displayName)</pre>
|
|
<div class="block">Set the display name (cosmetic). Pass empty string to use getName() as display.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>displayName</code> - Display name, or empty string for default.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="getTypeId()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getTypeId</h4>
|
|
<pre class="methodSignature"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> getTypeId()</pre>
|
|
<div class="block">Get the type ID of this ability (e.g., "cnpc:slam", "cnpc:beam").</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>the type ID</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="isEnabled()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isEnabled</h4>
|
|
<pre class="methodSignature">boolean isEnabled()</pre>
|
|
<div class="block">Check if this ability is enabled.</div>
|
|
<dl>
|
|
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
|
<dd><code><a href="IAbilityAction.html#isEnabled()">isEnabled</a></code> in interface <code><a href="IAbilityAction.html" title="interface in noppes.npcs.api.ability">IAbilityAction</a></code></dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Whether this action is enabled.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="setEnabled(boolean)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setEnabled</h4>
|
|
<pre class="methodSignature">void setEnabled​(boolean enabled)</pre>
|
|
<div class="block">Enable or disable this ability.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>enabled</code> - Whether the ability is enabled.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="getWeight()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getWeight</h4>
|
|
<pre class="methodSignature">int getWeight()</pre>
|
|
<div class="block">Get the selection weight for random ability selection.
|
|
Higher weight = more likely to be selected.</div>
|
|
<dl>
|
|
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
|
<dd><code><a href="IAbilityAction.html#getWeight()">getWeight</a></code> in interface <code><a href="IAbilityAction.html" title="interface in noppes.npcs.api.ability">IAbilityAction</a></code></dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Selection weight for random ability selection (higher = more likely).</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="setWeight(int)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setWeight</h4>
|
|
<pre class="methodSignature">void setWeight​(int weight)</pre>
|
|
<div class="block">Set the selection weight.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>weight</code> - Selection weight (higher = more likely).</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="getMinRange()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getMinRange</h4>
|
|
<pre class="methodSignature">float getMinRange()</pre>
|
|
<div class="block">Get the minimum range at which this ability can be used.</div>
|
|
<dl>
|
|
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
|
<dd><code><a href="IAbilityAction.html#getMinRange()">getMinRange</a></code> in interface <code><a href="IAbilityAction.html" title="interface in noppes.npcs.api.ability">IAbilityAction</a></code></dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Minimum range in blocks at which this action can be used.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="setMinRange(float)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setMinRange</h4>
|
|
<pre class="methodSignature">void setMinRange​(float range)</pre>
|
|
<div class="block">Set the minimum range.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>range</code> - Minimum range in blocks.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="getMaxRange()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getMaxRange</h4>
|
|
<pre class="methodSignature">float getMaxRange()</pre>
|
|
<div class="block">Get the maximum range at which this ability can be used.</div>
|
|
<dl>
|
|
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
|
<dd><code><a href="IAbilityAction.html#getMaxRange()">getMaxRange</a></code> in interface <code><a href="IAbilityAction.html" title="interface in noppes.npcs.api.ability">IAbilityAction</a></code></dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Maximum range in blocks at which this action can be used.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="setMaxRange(float)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setMaxRange</h4>
|
|
<pre class="methodSignature">void setMaxRange​(float range)</pre>
|
|
<div class="block">Set the maximum range.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>range</code> - Maximum range in blocks.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="getCooldownTicks()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getCooldownTicks</h4>
|
|
<pre class="methodSignature">int getCooldownTicks()</pre>
|
|
<div class="block">Get the cooldown time in ticks.</div>
|
|
<dl>
|
|
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
|
<dd><code><a href="IAbilityAction.html#getCooldownTicks()">getCooldownTicks</a></code> in interface <code><a href="IAbilityAction.html" title="interface in noppes.npcs.api.ability">IAbilityAction</a></code></dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Cooldown duration in ticks after this action is used.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="setCooldownTicks(int)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setCooldownTicks</h4>
|
|
<pre class="methodSignature">void setCooldownTicks​(int ticks)</pre>
|
|
<div class="block">Set the cooldown time in ticks.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>ticks</code> - Cooldown duration in ticks.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="getWindUpTicks()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getWindUpTicks</h4>
|
|
<pre class="methodSignature">int getWindUpTicks()</pre>
|
|
<div class="block">Get the wind-up time in ticks (telegraph phase).</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>wind-up time in ticks</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="setWindUpTicks(int)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setWindUpTicks</h4>
|
|
<pre class="methodSignature">void setWindUpTicks​(int ticks)</pre>
|
|
<div class="block">Set the wind-up time in ticks.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>ticks</code> - Wind-up duration in ticks.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="getDazedTicks()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getDazedTicks</h4>
|
|
<pre class="methodSignature">int getDazedTicks()</pre>
|
|
<div class="block">Get the dazed time in ticks (stun after interrupt during WINDUP).</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>dazed time in ticks</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="setDazedTicks(int)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setDazedTicks</h4>
|
|
<pre class="methodSignature">void setDazedTicks​(int ticks)</pre>
|
|
<div class="block">Set the dazed time in ticks.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>ticks</code> - Dazed duration in ticks.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="isInterruptible()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isInterruptible</h4>
|
|
<pre class="methodSignature">boolean isInterruptible()</pre>
|
|
<div class="block">Check if this ability can be interrupted by damage.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>true if interruptible</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="setInterruptible(boolean)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setInterruptible</h4>
|
|
<pre class="methodSignature">void setInterruptible​(boolean interruptible)</pre>
|
|
<div class="block">Set whether this ability can be interrupted.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>interruptible</code> - Whether the ability is interruptible.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="isIgnoreIFrames()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isIgnoreIFrames</h4>
|
|
<pre class="methodSignature">boolean isIgnoreIFrames()</pre>
|
|
<div class="block">Check if this ability ignores target invulnerability frames (hurt resistance).</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>true if ignoring invulnerability frames</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="setIgnoreIFrames(boolean)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setIgnoreIFrames</h4>
|
|
<pre class="methodSignature">void setIgnoreIFrames​(boolean ignore)</pre>
|
|
<div class="block">Set whether this ability ignores target invulnerability frames (hurt resistance).</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>ignore</code> - Whether to ignore invulnerability frames.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="getLockMovementType()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getLockMovementType</h4>
|
|
<pre class="methodSignature">int getLockMovementType()</pre>
|
|
<div class="block">Get the lock movement type for this ability.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>0=NO, 1=WINDUP, 2=ACTIVE, 3=WINDUP_AND_ACTIVE</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="setLockMovementType(int)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setLockMovementType</h4>
|
|
<pre class="methodSignature">void setLockMovementType​(int type)</pre>
|
|
<div class="block">Set the lock movement type for this ability.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>type</code> - 0=NO, 1=WINDUP, 2=ACTIVE, 3=WINDUP_AND_ACTIVE</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="getRotationModeType()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getRotationModeType</h4>
|
|
<pre class="methodSignature">int getRotationModeType()</pre>
|
|
<div class="block">Get the rotation mode for this ability.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>0=FREE, 1=LOCKED, 2=TRACK</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="setRotationModeType(int)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setRotationModeType</h4>
|
|
<pre class="methodSignature">void setRotationModeType​(int type)</pre>
|
|
<div class="block">Set the rotation mode for this ability.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>type</code> - 0=FREE, 1=LOCKED, 2=TRACK</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="getRotationPhaseType()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getRotationPhaseType</h4>
|
|
<pre class="methodSignature">int getRotationPhaseType()</pre>
|
|
<div class="block">Get the rotation phase for this ability (when rotation mode applies).</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>0=NO, 1=WINDUP, 2=ACTIVE, 3=WINDUP_AND_ACTIVE</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="setRotationPhaseType(int)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setRotationPhaseType</h4>
|
|
<pre class="methodSignature">void setRotationPhaseType​(int type)</pre>
|
|
<div class="block">Set the rotation phase for this ability.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>type</code> - 0=NO, 1=WINDUP, 2=ACTIVE, 3=WINDUP_AND_ACTIVE</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="getTrackSpeedValue()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getTrackSpeedValue</h4>
|
|
<pre class="methodSignature">float getTrackSpeedValue()</pre>
|
|
<div class="block">Get track speed for TRACK rotation mode (blocks/second).
|
|
0 = instant tracking. Comparable to player sprint speed (~5.6 blocks/sec).</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>track speed in blocks/second</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="setTrackSpeedValue(float)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setTrackSpeedValue</h4>
|
|
<pre class="methodSignature">void setTrackSpeedValue​(float speed)</pre>
|
|
<div class="block">Set track speed for TRACK rotation mode (blocks/second).</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>speed</code> - 0 = instant tracking. ~4 = dodgeable while sprinting. ~6 = barely undodgeable.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="isMovementLockedDuringWindup()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isMovementLockedDuringWindup</h4>
|
|
<pre class="methodSignature">boolean isMovementLockedDuringWindup()</pre>
|
|
<div class="block">Check if movement (pathfinding/motion) is locked during the WINDUP phase.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>true if movement is locked during windup</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="isMovementLockedDuringActive()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isMovementLockedDuringActive</h4>
|
|
<pre class="methodSignature">boolean isMovementLockedDuringActive()</pre>
|
|
<div class="block">Check if movement (pathfinding/motion) is locked during the ACTIVE phase.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>true if movement is locked during active phase</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="isRotationLockedDuringWindup()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isRotationLockedDuringWindup</h4>
|
|
<pre class="methodSignature">boolean isRotationLockedDuringWindup()</pre>
|
|
<div class="block">Check if rotation (yaw/pitch) is locked during the WINDUP phase.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>true if rotation is locked during windup</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="isRotationLockedDuringActive()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isRotationLockedDuringActive</h4>
|
|
<pre class="methodSignature">boolean isRotationLockedDuringActive()</pre>
|
|
<div class="block">Check if rotation (yaw/pitch) is locked during the ACTIVE phase.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>true if rotation is locked during active phase</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="isExecuting()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isExecuting</h4>
|
|
<pre class="methodSignature">boolean isExecuting()</pre>
|
|
<div class="block">Check if this ability is currently being executed.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>true if currently executing</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="getPhaseInt()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getPhaseInt</h4>
|
|
<pre class="methodSignature">int getPhaseInt()</pre>
|
|
<div class="block">Get the current execution phase (0=IDLE, 1=WINDUP, 2=ACTIVE, 3=DAZED, 4=BURST_DELAY).</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>the current phase ordinal</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="getCurrentTick()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getCurrentTick</h4>
|
|
<pre class="methodSignature">int getCurrentTick()</pre>
|
|
<div class="block">Get the current tick within the current phase.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>the current tick within the phase</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="getAllowedByType()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getAllowedByType</h4>
|
|
<pre class="methodSignature">int getAllowedByType()</pre>
|
|
<div class="block">Get the allowed user type for this ability.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>0=NPC_ONLY, 1=PLAYER_ONLY, 2=BOTH</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="setAllowedByType(int)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setAllowedByType</h4>
|
|
<pre class="methodSignature">void setAllowedByType​(int type)</pre>
|
|
<div class="block">Set the allowed user type for this ability.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>type</code> - 0=NPC_ONLY, 1=PLAYER_ONLY, 2=BOTH</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="isIgnoreCooldown()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isIgnoreCooldown</h4>
|
|
<pre class="methodSignature">boolean isIgnoreCooldown()</pre>
|
|
<div class="block">Check if this ability ignores cooldowns.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>true if ignoring cooldowns</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="setIgnoreCooldown(boolean)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setIgnoreCooldown</h4>
|
|
<pre class="methodSignature">void setIgnoreCooldown​(boolean ignore)</pre>
|
|
<div class="block">Set whether this ability ignores cooldowns.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>ignore</code> - Whether to ignore cooldowns.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="isPerAbilityCooldown()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isPerAbilityCooldown</h4>
|
|
<pre class="methodSignature">boolean isPerAbilityCooldown()</pre>
|
|
<div class="block">Check if this ability uses per-ability cooldown instead of global cooldown.
|
|
When true, using this ability only puts THIS ability on cooldown, not all abilities.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>true if using per-ability cooldown</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="setPerAbilityCooldown(boolean)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setPerAbilityCooldown</h4>
|
|
<pre class="methodSignature">void setPerAbilityCooldown​(boolean perAbility)</pre>
|
|
<div class="block">Set whether this ability uses per-ability cooldown.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>perAbility</code> - Whether to use per-ability cooldown.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="getNbt()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getNbt</h4>
|
|
<pre class="methodSignature"><a href="../INbt.html" title="interface in noppes.npcs.api">INbt</a> getNbt()</pre>
|
|
<div class="block">Get this ability's data as NBT.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>the ability's NBT data</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="setNbt(noppes.npcs.api.INbt)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setNbt</h4>
|
|
<pre class="methodSignature">void setNbt​(<a href="../INbt.html" title="interface in noppes.npcs.api">INbt</a> nbt)</pre>
|
|
<div class="block">Set this ability's data from NBT.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>nbt</code> - NBT data to load.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="isBurstEnabled()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isBurstEnabled</h4>
|
|
<pre class="methodSignature">boolean isBurstEnabled()</pre>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Whether burst firing is enabled (fires multiple instances in rapid succession).</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="setBurstEnabled(boolean)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setBurstEnabled</h4>
|
|
<pre class="methodSignature">void setBurstEnabled​(boolean enabled)</pre>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>enabled</code> - Whether burst firing is enabled.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="getBurstAmount()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getBurstAmount</h4>
|
|
<pre class="methodSignature">int getBurstAmount()</pre>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Number of times the ability fires per burst.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="setBurstAmount(int)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setBurstAmount</h4>
|
|
<pre class="methodSignature">void setBurstAmount​(int amount)</pre>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>amount</code> - Number of shots per burst.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="getBurstDelay()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getBurstDelay</h4>
|
|
<pre class="methodSignature">int getBurstDelay()</pre>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Delay in ticks between each burst shot.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="setBurstDelay(int)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setBurstDelay</h4>
|
|
<pre class="methodSignature">void setBurstDelay​(int delay)</pre>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>delay</code> - Delay in ticks between burst shots.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="isBurstReplayAnimations()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isBurstReplayAnimations</h4>
|
|
<pre class="methodSignature">boolean isBurstReplayAnimations()</pre>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Whether animations replay for each burst shot.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="setBurstReplayAnimations(boolean)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setBurstReplayAnimations</h4>
|
|
<pre class="methodSignature">void setBurstReplayAnimations​(boolean replay)</pre>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>replay</code> - Whether to replay animations per burst shot.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="isBurstOverlap()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isBurstOverlap</h4>
|
|
<pre class="methodSignature">boolean isBurstOverlap()</pre>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Whether burst shots can overlap (fire before previous shot ends).</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="setBurstOverlap(boolean)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setBurstOverlap</h4>
|
|
<pre class="methodSignature">void setBurstOverlap​(boolean overlap)</pre>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>overlap</code> - Whether burst shots can overlap.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="isToggleable()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isToggleable</h4>
|
|
<pre class="methodSignature">boolean isToggleable()</pre>
|
|
<div class="block">Check if this ability is toggleable (has at least 1 toggle state).</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>true if toggleable</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="getToggleStates()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getToggleStates</h4>
|
|
<pre class="methodSignature">int getToggleStates()</pre>
|
|
<div class="block">Get the number of toggle states.
|
|
0 = not toggleable, 1 = binary on/off, 2+ = multi-state cycling.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>number of toggle states</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="setToggleStates(int)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setToggleStates</h4>
|
|
<pre class="methodSignature">void setToggleStates​(int states)</pre>
|
|
<div class="block">Set the number of toggle states.
|
|
0 = not toggleable, 1 = binary on/off, 2+ = multi-state cycling.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>states</code> - Number of toggle states.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="getToggleStateLabel(int)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getToggleStateLabel</h4>
|
|
<pre class="methodSignature"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> getToggleStateLabel​(int state)</pre>
|
|
<div class="block">Get the display label for a specific toggle state (1-indexed).</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>state</code> - Toggle state number (1-indexed).</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>the label, or null if none set.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="getMagicData()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockListLast">
|
|
<li class="blockList">
|
|
<h4>getMagicData</h4>
|
|
<pre class="methodSignature"><a href="../handler/data/IMagicData.html" title="interface in noppes.npcs.api.handler.data">IMagicData</a> getMagicData()</pre>
|
|
<div class="block">Get this ability's magic data. Defines magic types, damage splits,
|
|
and flat magic damage for this ability. Inherited by spawned energy entities.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>the ability's magic data</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</section>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</main>
|
|
<!-- ========= END OF CLASS DATA ========= -->
|
|
<footer role="contentinfo">
|
|
<nav role="navigation">
|
|
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
|
<div class="bottomNav"><a id="navbar.bottom">
|
|
<!-- -->
|
|
</a>
|
|
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
|
<a id="navbar.bottom.firstrow">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="navList" title="Navigation">
|
|
<li><a href="../../../../index.html">Overview</a></li>
|
|
<li><a href="package-summary.html">Package</a></li>
|
|
<li class="navBarCell1Rev">Class</li>
|
|
<li><a href="package-tree.html">Tree</a></li>
|
|
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
|
|
<li><a href="../../../../index-all.html">Index</a></li>
|
|
<li><a href="../../../../help-doc.html">Help</a></li>
|
|
</ul>
|
|
<div class="aboutLanguage"><script> (function() { // Fix uppercase text in table cells // Javadoc 11: method names are in th[scope="row"] a, not td a function fixCase() { document.querySelectorAll("th[scope='row'] a, td a, .memberNameLink a").forEach(function(el) { var t = el.textContent.trim(); if (t.length > 2 && t === t.toUpperCase() && t.indexOf(" ") === -1) { el.textContent = t.toLowerCase(); } }); } // Correct navPadding = topNav height + subNav height // Uses !important to override jQuery's inline style function fixPadding() { var topNav = document.querySelector(".topNav"); var subNav = document.querySelector(".subNav"); var pad = document.querySelector(".navPadding"); if (!pad) return; var h = (topNav ? topNav.offsetHeight : 0) + (subNav ? subNav.offsetHeight : 0); if (h > 0) { pad.style.setProperty("padding-top", h + "px", "important"); } } document.addEventListener("DOMContentLoaded", function() { fixCase(); // Run fixPadding after jQuery has had its chance setTimeout(fixPadding, 0); setTimeout(fixPadding, 50); setTimeout(fixPadding, 200); // Use MutationObserver to permanently override any further jQuery writes var pad = document.querySelector(".navPadding"); if (pad) { var observer = new MutationObserver(function() { fixPadding(); }); observer.observe(pad, { attributes: true, attributeFilter: ["style"] }); } }); })(); </script></div>
|
|
</div>
|
|
<div class="subNav">
|
|
<ul class="navList" id="allclasses_navbar_bottom">
|
|
<li><a href="../../../../allclasses.html">All Classes</a></li>
|
|
</ul>
|
|
<div>
|
|
<script type="text/javascript"><!--
|
|
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
|
if(window==top) {
|
|
allClassesLink.style.display = "block";
|
|
}
|
|
else {
|
|
allClassesLink.style.display = "none";
|
|
}
|
|
//-->
|
|
</script>
|
|
<noscript>
|
|
<div>JavaScript is disabled on your browser.</div>
|
|
</noscript>
|
|
</div>
|
|
<div>
|
|
<ul class="subNavList">
|
|
<li>Summary: </li>
|
|
<li>Nested | </li>
|
|
<li>Field | </li>
|
|
<li>Constr | </li>
|
|
<li><a href="#method.summary">Method</a></li>
|
|
</ul>
|
|
<ul class="subNavList">
|
|
<li>Detail: </li>
|
|
<li>Field | </li>
|
|
<li>Constr | </li>
|
|
<li><a href="#method.detail">Method</a></li>
|
|
</ul>
|
|
</div>
|
|
<a id="skip.navbar.bottom">
|
|
<!-- -->
|
|
</a></div>
|
|
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
|
</nav>
|
|
</footer>
|
|
</body>
|
|
</html>
|