mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-10 19:03:44 +00:00
785 lines
27 KiB
HTML
785 lines
27 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>IBlock</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="IBlock";
|
|
}
|
|
}
|
|
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};
|
|
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 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</a></div>
|
|
<h2 title="Interface IBlock" class="title">Interface IBlock</h2>
|
|
</div>
|
|
<div class="contentContainer">
|
|
<div class="description">
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<dl>
|
|
<dt>All Known Subinterfaces:</dt>
|
|
<dd><code><a href="block/IBlockScripted.html" title="interface in noppes.npcs.api.block">IBlockScripted</a></code></dd>
|
|
</dl>
|
|
<hr>
|
|
<pre>public interface <span class="typeNameLabel">IBlock</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"> </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>boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#canCollide()">canCollide</a></span>()</code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr id="i1" class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#canCollide(double)">canCollide</a></span>​(double maxVolume)</code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr id="i2" class="altColor">
|
|
<td class="colFirst"><code>double</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getBlockBoundsMaxX()">getBlockBoundsMaxX</a></span>()</code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr id="i3" class="rowColor">
|
|
<td class="colFirst"><code>double</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getBlockBoundsMaxY()">getBlockBoundsMaxY</a></span>()</code></th>
|
|
<td class="colLast"> </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="#getBlockBoundsMaxZ()">getBlockBoundsMaxZ</a></span>()</code></th>
|
|
<td class="colLast"> </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="#getBlockBoundsMinX()">getBlockBoundsMinX</a></span>()</code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr id="i6" class="altColor">
|
|
<td class="colFirst"><code>double</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getBlockBoundsMinY()">getBlockBoundsMinY</a></span>()</code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr id="i7" class="rowColor">
|
|
<td class="colFirst"><code>double</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getBlockBoundsMinZ()">getBlockBoundsMinZ</a></span>()</code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr id="i8" class="altColor">
|
|
<td class="colFirst"><code><a href="IContainer.html" title="interface in noppes.npcs.api">IContainer</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getContainer()">getContainer</a></span>()</code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr id="i9" class="rowColor">
|
|
<td class="colFirst"><code>java.lang.String</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getDisplayName()">getDisplayName</a></span>()</code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr id="i10" class="altColor">
|
|
<td class="colFirst"><code>net.minecraft.block.Block</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getMCBlock()">getMCBlock</a></span>()</code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr id="i11" class="rowColor">
|
|
<td class="colFirst"><code>net.minecraft.tileentity.TileEntity</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getMCTileEntity()">getMCTileEntity</a></span>()</code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr id="i12" class="altColor">
|
|
<td class="colFirst"><code>java.lang.String</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getName()">getName</a></span>()</code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr id="i13" 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="#getPosition()">getPosition</a></span>()</code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr id="i14" class="altColor">
|
|
<td class="colFirst"><code><a href="ITileEntity.html" title="interface in noppes.npcs.api">ITileEntity</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getTileEntity()">getTileEntity</a></span>()</code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr id="i15" 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="#getTileEntityNBT()">getTileEntityNBT</a></span>()</code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr id="i16" class="altColor">
|
|
<td class="colFirst"><code><a href="IWorld.html" title="interface in noppes.npcs.api">IWorld</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getWorld()">getWorld</a></span>()</code></th>
|
|
<td class="colLast"> </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="#getX()">getX</a></span>()</code></th>
|
|
<td class="colLast"> </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="#getY()">getY</a></span>()</code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr id="i19" 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"> </td>
|
|
</tr>
|
|
<tr id="i20" class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#hasTileEntity()">hasTileEntity</a></span>()</code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr id="i21" class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isAir()">isAir</a></span>()</code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr id="i22" class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isContainer()">isContainer</a></span>()</code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr id="i23" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#remove()">remove</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Deletes the block, setting it to air.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i24" class="altColor">
|
|
<td class="colFirst"><code><a href="IBlock.html" title="interface in noppes.npcs.api">IBlock</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setBlock(java.lang.String)">setBlock</a></span>​(java.lang.String blockName)</code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr id="i25" class="rowColor">
|
|
<td class="colFirst"><code><a href="IBlock.html" title="interface in noppes.npcs.api">IBlock</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setBlock(noppes.npcs.api.IBlock)">setBlock</a></span>​(<a href="IBlock.html" title="interface in noppes.npcs.api">IBlock</a> block)</code></th>
|
|
<td class="colLast"> </td>
|
|
</tr>
|
|
<tr id="i26" class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setBounds(float,float,float,float,float,float)">setBounds</a></span>​(float minX,
|
|
float minY,
|
|
float minZ,
|
|
float maxX,
|
|
float maxY,
|
|
float maxZ)</code></th>
|
|
<td class="colLast"> </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="#setPosition(int,int,int)">setPosition</a></span>​(int x,
|
|
int y,
|
|
int z)</code></th>
|
|
<td class="colLast"> </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="#setPosition(int,int,int,noppes.npcs.api.IWorld)">setPosition</a></span>​(int x,
|
|
int y,
|
|
int z,
|
|
<a href="IWorld.html" title="interface in noppes.npcs.api">IWorld</a> world)</code></th>
|
|
<td class="colLast"> </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="#setPosition(noppes.npcs.api.IPos)">setPosition</a></span>​(<a href="IPos.html" title="interface in noppes.npcs.api">IPos</a> pos)</code></th>
|
|
<td class="colLast"> </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="#setPosition(noppes.npcs.api.IPos,noppes.npcs.api.IWorld)">setPosition</a></span>​(<a href="IPos.html" title="interface in noppes.npcs.api">IPos</a> pos,
|
|
<a href="IWorld.html" title="interface in noppes.npcs.api">IWorld</a> world)</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Moves the block to a new position in the given world.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i31" class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setTileEntity(noppes.npcs.api.ITileEntity)">setTileEntity</a></span>​(<a href="ITileEntity.html" title="interface in noppes.npcs.api">ITileEntity</a> tileEntity)</code></th>
|
|
<td class="colLast"> </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 getX()</pre>
|
|
</li>
|
|
</ul>
|
|
<a id="getY()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getY</h4>
|
|
<pre class="methodSignature">int getY()</pre>
|
|
</li>
|
|
</ul>
|
|
<a id="getZ()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getZ</h4>
|
|
<pre class="methodSignature">int getZ()</pre>
|
|
</li>
|
|
</ul>
|
|
<a id="getPosition()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getPosition</h4>
|
|
<pre class="methodSignature"><a href="IPos.html" title="interface in noppes.npcs.api">IPos</a> getPosition()</pre>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>An IPos object with the block's XYZ position.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="setPosition(noppes.npcs.api.IPos,noppes.npcs.api.IWorld)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setPosition</h4>
|
|
<pre class="methodSignature">boolean setPosition​(<a href="IPos.html" title="interface in noppes.npcs.api">IPos</a> pos,
|
|
<a href="IWorld.html" title="interface in noppes.npcs.api">IWorld</a> world)</pre>
|
|
<div class="block">Moves the block to a new position in the given world. The old position is replaced with air.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>pos</code> - The new position of the block</dd>
|
|
<dd><code>world</code> - The destination world of the block</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Whether the block was successfully placed</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="setPosition(noppes.npcs.api.IPos)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setPosition</h4>
|
|
<pre class="methodSignature">boolean setPosition​(<a href="IPos.html" title="interface in noppes.npcs.api">IPos</a> pos)</pre>
|
|
</li>
|
|
</ul>
|
|
<a id="setPosition(int,int,int,noppes.npcs.api.IWorld)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setPosition</h4>
|
|
<pre class="methodSignature">boolean setPosition​(int x,
|
|
int y,
|
|
int z,
|
|
<a href="IWorld.html" title="interface in noppes.npcs.api">IWorld</a> world)</pre>
|
|
</li>
|
|
</ul>
|
|
<a id="setPosition(int,int,int)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setPosition</h4>
|
|
<pre class="methodSignature">boolean setPosition​(int x,
|
|
int y,
|
|
int z)</pre>
|
|
</li>
|
|
</ul>
|
|
<a id="getName()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getName</h4>
|
|
<pre class="methodSignature">java.lang.String getName()</pre>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>The block name as it appears in the block registry. Return example: "minecraft:stone"</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="remove()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>remove</h4>
|
|
<pre class="methodSignature">void remove()</pre>
|
|
<div class="block">Deletes the block, setting it to air.</div>
|
|
</li>
|
|
</ul>
|
|
<a id="isAir()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isAir</h4>
|
|
<pre class="methodSignature">boolean isAir()</pre>
|
|
</li>
|
|
</ul>
|
|
<a id="setBlock(java.lang.String)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setBlock</h4>
|
|
<pre class="methodSignature"><a href="IBlock.html" title="interface in noppes.npcs.api">IBlock</a> setBlock​(java.lang.String blockName)</pre>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>blockName</code> - The name of the block to be set in place of this block.</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>The new block set in place of this block as an IBlock object.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="setBlock(noppes.npcs.api.IBlock)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setBlock</h4>
|
|
<pre class="methodSignature"><a href="IBlock.html" title="interface in noppes.npcs.api">IBlock</a> setBlock​(<a href="IBlock.html" title="interface in noppes.npcs.api">IBlock</a> block)</pre>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>block</code> - Input IBlock object to replace this block.</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>The new block set in place of the previous block.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="isContainer()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isContainer</h4>
|
|
<pre class="methodSignature">boolean isContainer()</pre>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>True if the block can contain items like a chest does.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="getContainer()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getContainer</h4>
|
|
<pre class="methodSignature"><a href="IContainer.html" title="interface in noppes.npcs.api">IContainer</a> getContainer()</pre>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>The container object of this block. If this block is not a container, an exception will be thrown.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="getWorld()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getWorld</h4>
|
|
<pre class="methodSignature"><a href="IWorld.html" title="interface in noppes.npcs.api">IWorld</a> getWorld()</pre>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>An IWorld object of the world this block is in.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="hasTileEntity()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>hasTileEntity</h4>
|
|
<pre class="methodSignature">boolean hasTileEntity()</pre>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>True if this block has a tile entity. Blocks with custom data like signs, player skulls, chests, etc. will have tile entities.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="getTileEntity()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getTileEntity</h4>
|
|
<pre class="methodSignature"><a href="ITileEntity.html" title="interface in noppes.npcs.api">ITileEntity</a> getTileEntity()</pre>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>An ITileEntity object which can modify this block's tile entity.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="setTileEntity(noppes.npcs.api.ITileEntity)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setTileEntity</h4>
|
|
<pre class="methodSignature">void setTileEntity​(<a href="ITileEntity.html" title="interface in noppes.npcs.api">ITileEntity</a> tileEntity)</pre>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>tileEntity</code> - Replaces this block's tile entity based on the data given by this parameter.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="getMCTileEntity()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getMCTileEntity</h4>
|
|
<pre class="methodSignature">net.minecraft.tileentity.TileEntity getMCTileEntity()</pre>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>An obfuscated MC object for the block's tile entity.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="getMCBlock()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getMCBlock</h4>
|
|
<pre class="methodSignature">net.minecraft.block.Block getMCBlock()</pre>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>An obfuscated MC block object.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="getDisplayName()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getDisplayName</h4>
|
|
<pre class="methodSignature">java.lang.String getDisplayName()</pre>
|
|
</li>
|
|
</ul>
|
|
<a id="getTileEntityNBT()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getTileEntityNBT</h4>
|
|
<pre class="methodSignature"><a href="INbt.html" title="interface in noppes.npcs.api">INbt</a> getTileEntityNBT()</pre>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>An INbt object which can modify the block's tile entity's NBT data.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="canCollide(double)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>canCollide</h4>
|
|
<pre class="methodSignature">boolean canCollide​(double maxVolume)</pre>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>maxVolume</code> - The volume threshold to determine whether this block's bounding box collides, if it has one.</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>Whether this block can be collided with</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a id="canCollide()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>canCollide</h4>
|
|
<pre class="methodSignature">boolean canCollide()</pre>
|
|
</li>
|
|
</ul>
|
|
<a id="setBounds(float,float,float,float,float,float)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setBounds</h4>
|
|
<pre class="methodSignature">void setBounds​(float minX,
|
|
float minY,
|
|
float minZ,
|
|
float maxX,
|
|
float maxY,
|
|
float maxZ)</pre>
|
|
</li>
|
|
</ul>
|
|
<a id="getBlockBoundsMinX()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getBlockBoundsMinX</h4>
|
|
<pre class="methodSignature">double getBlockBoundsMinX()</pre>
|
|
</li>
|
|
</ul>
|
|
<a id="getBlockBoundsMinY()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getBlockBoundsMinY</h4>
|
|
<pre class="methodSignature">double getBlockBoundsMinY()</pre>
|
|
</li>
|
|
</ul>
|
|
<a id="getBlockBoundsMinZ()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getBlockBoundsMinZ</h4>
|
|
<pre class="methodSignature">double getBlockBoundsMinZ()</pre>
|
|
</li>
|
|
</ul>
|
|
<a id="getBlockBoundsMaxX()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getBlockBoundsMaxX</h4>
|
|
<pre class="methodSignature">double getBlockBoundsMaxX()</pre>
|
|
</li>
|
|
</ul>
|
|
<a id="getBlockBoundsMaxY()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getBlockBoundsMaxY</h4>
|
|
<pre class="methodSignature">double getBlockBoundsMaxY()</pre>
|
|
</li>
|
|
</ul>
|
|
<a id="getBlockBoundsMaxZ()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockListLast">
|
|
<li class="blockList">
|
|
<h4>getBlockBoundsMaxZ</h4>
|
|
<pre class="methodSignature">double getBlockBoundsMaxZ()</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 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>
|