Files
2025-10-28 02:05:17 -04:00

847 lines
31 KiB
HTML

<!DOCTYPE HTML>
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (11.0.27) on Tue Oct 28 02:00:43 EDT 2025 -->
<title>IPos</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="dc.created" content="2025-10-28">
<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">
<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="IPos";
}
}
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};
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-files/index-1.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../allclasses.html">All&nbsp;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:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</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">&nbsp;</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>&nbsp;<a href="package-summary.html">noppes.npcs.api</a></div>
<h2 title="Interface IPos" class="title">Interface IPos</h2>
</div>
<div class="contentContainer">
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<pre>public interface <span class="typeNameLabel">IPos</span></pre>
</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">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd">&nbsp;</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><a href="IPos.html" title="interface in noppes.npcs.api">IPos</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#add(double,double,double)">add</a></span>&#8203;(double&nbsp;x,
double&nbsp;y,
double&nbsp;z)</code></th>
<td class="colLast">
<div class="block">Adds the IPos' coordinates by each of the parameters given.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code><a href="IPos.html" title="interface in noppes.npcs.api">IPos</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#add(noppes.npcs.api.IPos)">add</a></span>&#8203;(<a href="IPos.html" title="interface in noppes.npcs.api">IPos</a>&nbsp;pos)</code></th>
<td class="colLast">
<div class="block">Directly adds the coordinates of two IPos objects and returns the resulting IPos sum.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code><a href="IPos.html" title="interface in noppes.npcs.api">IPos</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#crossProduct(double,double,double)">crossProduct</a></span>&#8203;(double&nbsp;x,
double&nbsp;y,
double&nbsp;z)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code><a href="IPos.html" title="interface in noppes.npcs.api">IPos</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#crossProduct(noppes.npcs.api.IPos)">crossProduct</a></span>&#8203;(<a href="IPos.html" title="interface in noppes.npcs.api">IPos</a>&nbsp;pos)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>double</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#distanceTo(double,double,double)">distanceTo</a></span>&#8203;(double&nbsp;x,
double&nbsp;y,
double&nbsp;z)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>double</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#distanceTo(noppes.npcs.api.IPos)">distanceTo</a></span>&#8203;(<a href="IPos.html" title="interface in noppes.npcs.api">IPos</a>&nbsp;pos)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code><a href="IPos.html" title="interface in noppes.npcs.api">IPos</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#divide(double)">divide</a></span>&#8203;(double&nbsp;scalar)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code><a href="IPos.html" title="interface in noppes.npcs.api">IPos</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#down()">down</a></span>()</code></th>
<td class="colLast">
<div class="block">Shifts the IPos down by 1 block and returns the new object.</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code><a href="IPos.html" title="interface in noppes.npcs.api">IPos</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#down(double)">down</a></span>&#8203;(double&nbsp;n)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code><a href="IPos.html" title="interface in noppes.npcs.api">IPos</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#east()">east</a></span>()</code></th>
<td class="colLast">
<div class="block">Shifts the IPos east by 1 block and returns the new object.</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code><a href="IPos.html" title="interface in noppes.npcs.api">IPos</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#east(double)">east</a></span>&#8203;(double&nbsp;n)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code><a href="IPos.html" title="interface in noppes.npcs.api">IPos</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#fromLong(long)">fromLong</a></span>&#8203;(long&nbsp;serialized)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code><a href="../../../net/minecraft/util/math/BlockPos.html" title="class in net.minecraft.util.math">BlockPos</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getMCPos()">getMCPos</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getX()">getX</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code>double</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getXD()">getXD</a></span>()</code></th>
<td class="colLast">&nbsp;</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="#getY()">getY</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i16" class="altColor">
<td class="colFirst"><code>double</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getYD()">getYD</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i17" class="rowColor">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getZ()">getZ</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i18" class="altColor">
<td class="colFirst"><code>double</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getZD()">getZD</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i19" class="rowColor">
<td class="colFirst"><code><a href="IPos.html" title="interface in noppes.npcs.api">IPos</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#normalize()">normalize</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns a normalized vector of this block's position, calculated by:</div>
</td>
</tr>
<tr id="i20" class="altColor">
<td class="colFirst"><code>double[]</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#normalizeDouble()">normalizeDouble</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i21" class="rowColor">
<td class="colFirst"><code><a href="IPos.html" title="interface in noppes.npcs.api">IPos</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#north()">north</a></span>()</code></th>
<td class="colLast">
<div class="block">Shifts the IPos north by 1 block and returns the new object.</div>
</td>
</tr>
<tr id="i22" class="altColor">
<td class="colFirst"><code><a href="IPos.html" title="interface in noppes.npcs.api">IPos</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#north(double)">north</a></span>&#8203;(double&nbsp;n)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i23" class="rowColor">
<td class="colFirst"><code><a href="IPos.html" title="interface in noppes.npcs.api">IPos</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#offset(int)">offset</a></span>&#8203;(int&nbsp;direction)</code></th>
<td class="colLast">
<div class="block">Offsets the block by 1 block in the given direction and returns the resulting IPos object</div>
</td>
</tr>
<tr id="i24" class="altColor">
<td class="colFirst"><code><a href="IPos.html" title="interface in noppes.npcs.api">IPos</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#offset(int,double)">offset</a></span>&#8203;(int&nbsp;direction,
double&nbsp;n)</code></th>
<td class="colLast">
<div class="block">Offsets the block by n blocks in the given direction and returns the resulting IPos object</div>
</td>
</tr>
<tr id="i25" class="rowColor">
<td class="colFirst"><code><a href="IPos.html" title="interface in noppes.npcs.api">IPos</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#south()">south</a></span>()</code></th>
<td class="colLast">
<div class="block">Shifts the IPos south by 1 block and returns the new object.</div>
</td>
</tr>
<tr id="i26" class="altColor">
<td class="colFirst"><code><a href="IPos.html" title="interface in noppes.npcs.api">IPos</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#south(double)">south</a></span>&#8203;(double&nbsp;n)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i27" class="rowColor">
<td class="colFirst"><code><a href="IPos.html" title="interface in noppes.npcs.api">IPos</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#subtract(double,double,double)">subtract</a></span>&#8203;(double&nbsp;x,
double&nbsp;y,
double&nbsp;z)</code></th>
<td class="colLast">
<div class="block">Subtracts the IPos' coordinates by each of the parameters given.</div>
</td>
</tr>
<tr id="i28" class="altColor">
<td class="colFirst"><code><a href="IPos.html" title="interface in noppes.npcs.api">IPos</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#subtract(noppes.npcs.api.IPos)">subtract</a></span>&#8203;(<a href="IPos.html" title="interface in noppes.npcs.api">IPos</a>&nbsp;pos)</code></th>
<td class="colLast">
<div class="block">Directly subtracts the coordinates of two IPos objects and returns the resulting IPos difference.</div>
</td>
</tr>
<tr id="i29" class="rowColor">
<td class="colFirst"><code>long</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#toLong()">toLong</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i30" class="altColor">
<td class="colFirst"><code><a href="IPos.html" title="interface in noppes.npcs.api">IPos</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#up()">up</a></span>()</code></th>
<td class="colLast">
<div class="block">Shifts the IPos up by 1 block and returns the new object.</div>
</td>
</tr>
<tr id="i31" class="rowColor">
<td class="colFirst"><code><a href="IPos.html" title="interface in noppes.npcs.api">IPos</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#up(double)">up</a></span>&#8203;(double&nbsp;n)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i32" class="altColor">
<td class="colFirst"><code><a href="IPos.html" title="interface in noppes.npcs.api">IPos</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#west()">west</a></span>()</code></th>
<td class="colLast">
<div class="block">Shifts the IPos west by 1 block and returns the new object.</div>
</td>
</tr>
<tr id="i33" class="rowColor">
<td class="colFirst"><code><a href="IPos.html" title="interface in noppes.npcs.api">IPos</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#west(double)">west</a></span>&#8203;(double&nbsp;n)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
</table>
</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="getX()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getX</h4>
<pre class="methodSignature">int&nbsp;getX()</pre>
</li>
</ul>
<a id="getY()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getY</h4>
<pre class="methodSignature">int&nbsp;getY()</pre>
</li>
</ul>
<a id="getZ()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getZ</h4>
<pre class="methodSignature">int&nbsp;getZ()</pre>
</li>
</ul>
<a id="getXD()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getXD</h4>
<pre class="methodSignature">double&nbsp;getXD()</pre>
</li>
</ul>
<a id="getYD()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getYD</h4>
<pre class="methodSignature">double&nbsp;getYD()</pre>
</li>
</ul>
<a id="getZD()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getZD</h4>
<pre class="methodSignature">double&nbsp;getZD()</pre>
</li>
</ul>
<a id="up()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>up</h4>
<pre class="methodSignature"><a href="IPos.html" title="interface in noppes.npcs.api">IPos</a>&nbsp;up()</pre>
<div class="block">Shifts the IPos up by 1 block and returns the new object.</div>
</li>
</ul>
<a id="up(double)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>up</h4>
<pre class="methodSignature"><a href="IPos.html" title="interface in noppes.npcs.api">IPos</a>&nbsp;up&#8203;(double&nbsp;n)</pre>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>n</code> - The number of blocks to move the position up by.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The new IPos object.</dd>
</dl>
</li>
</ul>
<a id="down()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>down</h4>
<pre class="methodSignature"><a href="IPos.html" title="interface in noppes.npcs.api">IPos</a>&nbsp;down()</pre>
<div class="block">Shifts the IPos down by 1 block and returns the new object.</div>
</li>
</ul>
<a id="down(double)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>down</h4>
<pre class="methodSignature"><a href="IPos.html" title="interface in noppes.npcs.api">IPos</a>&nbsp;down&#8203;(double&nbsp;n)</pre>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>n</code> - The number of blocks to move the position down by.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The new IPos object.</dd>
</dl>
</li>
</ul>
<a id="north()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>north</h4>
<pre class="methodSignature"><a href="IPos.html" title="interface in noppes.npcs.api">IPos</a>&nbsp;north()</pre>
<div class="block">Shifts the IPos north by 1 block and returns the new object.</div>
</li>
</ul>
<a id="north(double)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>north</h4>
<pre class="methodSignature"><a href="IPos.html" title="interface in noppes.npcs.api">IPos</a>&nbsp;north&#8203;(double&nbsp;n)</pre>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>n</code> - The number of blocks to move the position north by.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The new IPos object.</dd>
</dl>
</li>
</ul>
<a id="east()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>east</h4>
<pre class="methodSignature"><a href="IPos.html" title="interface in noppes.npcs.api">IPos</a>&nbsp;east()</pre>
<div class="block">Shifts the IPos east by 1 block and returns the new object.</div>
</li>
</ul>
<a id="east(double)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>east</h4>
<pre class="methodSignature"><a href="IPos.html" title="interface in noppes.npcs.api">IPos</a>&nbsp;east&#8203;(double&nbsp;n)</pre>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>n</code> - The number of blocks to move the position east by.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The new IPos object.</dd>
</dl>
</li>
</ul>
<a id="south()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>south</h4>
<pre class="methodSignature"><a href="IPos.html" title="interface in noppes.npcs.api">IPos</a>&nbsp;south()</pre>
<div class="block">Shifts the IPos south by 1 block and returns the new object.</div>
</li>
</ul>
<a id="south(double)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>south</h4>
<pre class="methodSignature"><a href="IPos.html" title="interface in noppes.npcs.api">IPos</a>&nbsp;south&#8203;(double&nbsp;n)</pre>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>n</code> - The number of blocks to move the position south by.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The new IPos object.</dd>
</dl>
</li>
</ul>
<a id="west()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>west</h4>
<pre class="methodSignature"><a href="IPos.html" title="interface in noppes.npcs.api">IPos</a>&nbsp;west()</pre>
<div class="block">Shifts the IPos west by 1 block and returns the new object.</div>
</li>
</ul>
<a id="west(double)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>west</h4>
<pre class="methodSignature"><a href="IPos.html" title="interface in noppes.npcs.api">IPos</a>&nbsp;west&#8203;(double&nbsp;n)</pre>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>n</code> - The number of blocks to move the position west by.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The new IPos object.</dd>
</dl>
</li>
</ul>
<a id="add(double,double,double)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>add</h4>
<pre class="methodSignature"><a href="IPos.html" title="interface in noppes.npcs.api">IPos</a>&nbsp;add&#8203;(double&nbsp;x,
double&nbsp;y,
double&nbsp;z)</pre>
<div class="block">Adds the IPos' coordinates by each of the parameters given.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>x</code> - X coordinate amount to be added</dd>
<dd><code>y</code> - Y coordinate amount to be added</dd>
<dd><code>z</code> - Z coordinate amount to be added</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The resulting IPos from the addition.</dd>
</dl>
</li>
</ul>
<a id="add(noppes.npcs.api.IPos)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>add</h4>
<pre class="methodSignature"><a href="IPos.html" title="interface in noppes.npcs.api">IPos</a>&nbsp;add&#8203;(<a href="IPos.html" title="interface in noppes.npcs.api">IPos</a>&nbsp;pos)</pre>
<div class="block">Directly adds the coordinates of two IPos objects and returns the resulting IPos sum.
For example, if one IPos was represented by the coordinates (0,60,5), and another by (-10,-30,25),
the resulting object's coordinates are (0 - 10,60 - 30,5 + 25) = (-10,30,30).</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>pos</code> - The position to be added to this IPos object.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The sum of the two IPos objects as a new IPos object.</dd>
</dl>
</li>
</ul>
<a id="subtract(double,double,double)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>subtract</h4>
<pre class="methodSignature"><a href="IPos.html" title="interface in noppes.npcs.api">IPos</a>&nbsp;subtract&#8203;(double&nbsp;x,
double&nbsp;y,
double&nbsp;z)</pre>
<div class="block">Subtracts the IPos' coordinates by each of the parameters given.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>x</code> - X coordinate amount to be subtracted</dd>
<dd><code>y</code> - Y coordinate amount to be subtracted</dd>
<dd><code>z</code> - Z coordinate amount to be subtracted</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The resulting IPos from the subtraction.</dd>
</dl>
</li>
</ul>
<a id="subtract(noppes.npcs.api.IPos)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>subtract</h4>
<pre class="methodSignature"><a href="IPos.html" title="interface in noppes.npcs.api">IPos</a>&nbsp;subtract&#8203;(<a href="IPos.html" title="interface in noppes.npcs.api">IPos</a>&nbsp;pos)</pre>
<div class="block">Directly subtracts the coordinates of two IPos objects and returns the resulting IPos difference.
For example, if one IPos was represented by the coordinates (0,60,5), and another by (-10,-30,25),
the resulting object's coordinates are (0 + 10,60 + 30,5 - 25) = (10,90,-20).</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>pos</code> - The position to be subtracted from this IPos object.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The difference of the two IPos objects as a new IPos object.</dd>
</dl>
</li>
</ul>
<a id="normalize()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>normalize</h4>
<pre class="methodSignature"><a href="IPos.html" title="interface in noppes.npcs.api">IPos</a>&nbsp;normalize()</pre>
<div class="block">Returns a normalized vector of this block's position, calculated by:</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The normalized vector of this block position.</dd>
</dl>
</li>
</ul>
<a id="normalizeDouble()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>normalizeDouble</h4>
<pre class="methodSignature">double[]&nbsp;normalizeDouble()</pre>
</li>
</ul>
<a id="offset(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>offset</h4>
<pre class="methodSignature"><a href="IPos.html" title="interface in noppes.npcs.api">IPos</a>&nbsp;offset&#8203;(int&nbsp;direction)</pre>
<div class="block">Offsets the block by 1 block in the given direction and returns the resulting IPos object</div>
</li>
</ul>
<a id="offset(int,double)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>offset</h4>
<pre class="methodSignature"><a href="IPos.html" title="interface in noppes.npcs.api">IPos</a>&nbsp;offset&#8203;(int&nbsp;direction,
double&nbsp;n)</pre>
<div class="block">Offsets the block by n blocks in the given direction and returns the resulting IPos object</div>
</li>
</ul>
<a id="crossProduct(double,double,double)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>crossProduct</h4>
<pre class="methodSignature"><a href="IPos.html" title="interface in noppes.npcs.api">IPos</a>&nbsp;crossProduct&#8203;(double&nbsp;x,
double&nbsp;y,
double&nbsp;z)</pre>
</li>
</ul>
<a id="crossProduct(noppes.npcs.api.IPos)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>crossProduct</h4>
<pre class="methodSignature"><a href="IPos.html" title="interface in noppes.npcs.api">IPos</a>&nbsp;crossProduct&#8203;(<a href="IPos.html" title="interface in noppes.npcs.api">IPos</a>&nbsp;pos)</pre>
</li>
</ul>
<a id="divide(double)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>divide</h4>
<pre class="methodSignature"><a href="IPos.html" title="interface in noppes.npcs.api">IPos</a>&nbsp;divide&#8203;(double&nbsp;scalar)</pre>
</li>
</ul>
<a id="toLong()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toLong</h4>
<pre class="methodSignature">long&nbsp;toLong()</pre>
</li>
</ul>
<a id="fromLong(long)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>fromLong</h4>
<pre class="methodSignature"><a href="IPos.html" title="interface in noppes.npcs.api">IPos</a>&nbsp;fromLong&#8203;(long&nbsp;serialized)</pre>
</li>
</ul>
<a id="distanceTo(noppes.npcs.api.IPos)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>distanceTo</h4>
<pre class="methodSignature">double&nbsp;distanceTo&#8203;(<a href="IPos.html" title="interface in noppes.npcs.api">IPos</a>&nbsp;pos)</pre>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>pos</code> - The IPos object to calculate the distance to</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The distance between this IPos object and the other.</dd>
</dl>
</li>
</ul>
<a id="distanceTo(double,double,double)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>distanceTo</h4>
<pre class="methodSignature">double&nbsp;distanceTo&#8203;(double&nbsp;x,
double&nbsp;y,
double&nbsp;z)</pre>
</li>
</ul>
<a id="getMCPos()">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>getMCPos</h4>
<pre class="methodSignature"><a href="../../../net/minecraft/util/math/BlockPos.html" title="class in net.minecraft.util.math">BlockPos</a>&nbsp;getMCPos()</pre>
</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-files/index-1.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../allclasses.html">All&nbsp;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:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</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>