mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-28 14:45:59 +00:00
Updated Java Doc
This commit is contained in:
1 parent
1dafe51fb8
commit
74d6f2391b
365 files changed
+30327
-5646
No files matched your search
@@ -2,10 +2,10 @@
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (11.0.20) on Wed Mar 27 15:11:31 EDT 2024 -->
|
||||
<!-- Generated by javadoc (11.0.20) on Thu May 29 16:24:46 EDT 2025 -->
|
||||
<title>IAnimationData</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<meta name="dc.created" content="2024-03-27">
|
||||
<meta name="dc.created" content="2025-05-29">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.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">
|
||||
@@ -28,7 +28,7 @@
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
var data = {"i0":6,"i1":6,"i2":6,"i3":6,"i4":6,"i5":6};
|
||||
var data = {"i0":6,"i1":6,"i2":6,"i3":6,"i4":6,"i5":6,"i6":6,"i7":6,"i8":6};
|
||||
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"]};
|
||||
var altColor = "altColor";
|
||||
var rowColor = "rowColor";
|
||||
@@ -125,6 +125,9 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
||||
<li class="blockList">
|
||||
<hr>
|
||||
<pre>public interface <span class="typeNameLabel">IAnimationData</span></pre>
|
||||
<div class="block">Holds and manages animation data for an animatable entity.
|
||||
This includes the current animation, its timing, and the ability to update
|
||||
the animation state on clients.</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
@@ -148,32 +151,65 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
||||
<tr id="i0" class="altColor">
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#enabled()">enabled</a></span>()</code></th>
|
||||
<td class="colLast"> </td>
|
||||
<td class="colLast">
|
||||
<div class="block">Checks if animations are enabled.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i1" class="rowColor">
|
||||
<td class="colFirst"><code><a href="IAnimation.html" title="interface in noppes.npcs.api.handler.data">IAnimation</a></code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getAnimation()">getAnimation</a></span>()</code></th>
|
||||
<td class="colLast"> </td>
|
||||
<td class="colFirst"><code>long</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getAnimatingTime()">getAnimatingTime</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Returns the total time the current animation has been running.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i2" class="altColor">
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isActive()">isActive</a></span>()</code></th>
|
||||
<td class="colLast"> </td>
|
||||
<td class="colFirst"><code><a href="IAnimation.html" title="interface in noppes.npcs.api.handler.data">IAnimation</a></code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getAnimation()">getAnimation</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Returns the current animation.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i3" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setAnimation(noppes.npcs.api.handler.data.IAnimation)">setAnimation</a></span>​(<a href="IAnimation.html" title="interface in noppes.npcs.api.handler.data">IAnimation</a> animation)</code></th>
|
||||
<td class="colLast"> </td>
|
||||
<td class="colFirst"><code><a href="../../entity/IAnimatable.html" title="interface in noppes.npcs.api.entity">IAnimatable</a></code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getEntity()">getEntity</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Retrieves the animatable entity this data is associated with.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i4" 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"> </td>
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isActive()">isActive</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Checks whether the current animation is active.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i5" class="rowColor">
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isClientAnimating()">isClientAnimating</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Checks whether the client is currently animating.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i6" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setAnimation(noppes.npcs.api.handler.data.IAnimation)">setAnimation</a></span>​(<a href="IAnimation.html" title="interface in noppes.npcs.api.handler.data">IAnimation</a> animation)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Sets the current animation.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i7" class="rowColor">
|
||||
<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">Enables or disables animations for the entity.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i8" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#updateClient()">updateClient</a></span>()</code></th>
|
||||
<td class="colLast"> </td>
|
||||
<td class="colLast">
|
||||
<div class="block">Updates the animation data on the client side.</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
@@ -192,6 +228,20 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Detail</h3>
|
||||
<a id="getEntity()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getEntity</h4>
|
||||
<pre class="methodSignature"><a href="../../entity/IAnimatable.html" title="interface in noppes.npcs.api.entity">IAnimatable</a> getEntity()</pre>
|
||||
<div class="block">Retrieves the animatable entity this data is associated with.</div>
|
||||
<dl>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>the animatable entity.</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="updateClient()">
|
||||
<!-- -->
|
||||
</a>
|
||||
@@ -199,6 +249,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
||||
<li class="blockList">
|
||||
<h4>updateClient</h4>
|
||||
<pre class="methodSignature">void updateClient()</pre>
|
||||
<div class="block">Updates the animation data on the client side.</div>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="isActive()">
|
||||
@@ -208,6 +259,25 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
||||
<li class="blockList">
|
||||
<h4>isActive</h4>
|
||||
<pre class="methodSignature">boolean isActive()</pre>
|
||||
<div class="block">Checks whether the current animation is active.</div>
|
||||
<dl>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>true if an animation is active; false otherwise.</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="isClientAnimating()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>isClientAnimating</h4>
|
||||
<pre class="methodSignature">boolean isClientAnimating()</pre>
|
||||
<div class="block">Checks whether the client is currently animating.</div>
|
||||
<dl>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>true if client animation is active; false otherwise.</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="setEnabled(boolean)">
|
||||
@@ -217,6 +287,11 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
||||
<li class="blockList">
|
||||
<h4>setEnabled</h4>
|
||||
<pre class="methodSignature">void setEnabled​(boolean enabled)</pre>
|
||||
<div class="block">Enables or disables animations for the entity.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>enabled</code> - true to enable animations; false to disable.</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="enabled()">
|
||||
@@ -226,6 +301,11 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
||||
<li class="blockList">
|
||||
<h4>enabled</h4>
|
||||
<pre class="methodSignature">boolean enabled()</pre>
|
||||
<div class="block">Checks if animations are enabled.</div>
|
||||
<dl>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>true if enabled; false otherwise.</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="setAnimation(noppes.npcs.api.handler.data.IAnimation)">
|
||||
@@ -235,15 +315,39 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
||||
<li class="blockList">
|
||||
<h4>setAnimation</h4>
|
||||
<pre class="methodSignature">void setAnimation​(<a href="IAnimation.html" title="interface in noppes.npcs.api.handler.data">IAnimation</a> animation)</pre>
|
||||
<div class="block">Sets the current animation.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>animation</code> - the animation to set.</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="getAnimation()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getAnimation</h4>
|
||||
<pre class="methodSignature"><a href="IAnimation.html" title="interface in noppes.npcs.api.handler.data">IAnimation</a> getAnimation()</pre>
|
||||
<div class="block">Returns the current animation.</div>
|
||||
<dl>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>the animation, or null if none is set.</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="getAnimatingTime()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>getAnimatingTime</h4>
|
||||
<pre class="methodSignature">long getAnimatingTime()</pre>
|
||||
<div class="block">Returns the total time the current animation has been running.</div>
|
||||
<dl>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>the animating time in ticks.</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
Reference in new issue
Block a user