mirror of
https://github.com/GTNewHorizons/StructureLib.git
synced 2026-11-19 11:49:31 +00:00
1191 lines
72 KiB
HTML
1191 lines
72 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
|
<!-- NewPage -->
|
|
<html lang="en">
|
|
<head>
|
|
<!-- Generated by javadoc -->
|
|
<title>StructureLibAPI (StructureLib 1.7.10-1.1.12-15-g978938d API)</title>
|
|
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
|
|
<script type="text/javascript" src="../../../script.js"></script>
|
|
</head>
|
|
<body>
|
|
<script type="text/javascript"><!--
|
|
try {
|
|
if (location.href.indexOf('is-external=true') == -1) {
|
|
parent.document.title="StructureLibAPI (StructureLib 1.7.10-1.1.12-15-g978938d API)";
|
|
}
|
|
}
|
|
catch(err) {
|
|
}
|
|
//-->
|
|
var methods = {"i0":9,"i1":9,"i2":9,"i3":9,"i4":9,"i5":9,"i6":9,"i7":9,"i8":9,"i9":9,"i10":9,"i11":9,"i12":41,"i13":9,"i14":9,"i15":9,"i16":9,"i17":9,"i18":9,"i19":9,"i20":9,"i21":9,"i22":9,"i23":9};
|
|
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"],32:["t6","Deprecated Methods"]};
|
|
var altColor = "altColor";
|
|
var rowColor = "rowColor";
|
|
var tableTab = "tableTab";
|
|
var activeTableTab = "activeTableTab";
|
|
</script>
|
|
<noscript>
|
|
<div>JavaScript is disabled on your browser.</div>
|
|
</noscript>
|
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
|
<div class="topNav"><a name="navbar.top">
|
|
<!-- -->
|
|
</a>
|
|
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
|
<a name="navbar.top.firstrow">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="navList" title="Navigation">
|
|
<li><a href="../../../overview-summary.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>
|
|
<div class="subNav">
|
|
<ul class="navList">
|
|
<li><a href="../../../com/gtnewhorizon/structurelib/StructureEvent.StructureElementVisitedEvent.html" title="class in com.gtnewhorizon.structurelib"><span class="typeNameLink">Prev Class</span></a></li>
|
|
<li>Next Class</li>
|
|
</ul>
|
|
<ul class="navList">
|
|
<li><a href="../../../index.html?com/gtnewhorizon/structurelib/StructureLibAPI.html" target="_top">Frames</a></li>
|
|
<li><a href="StructureLibAPI.html" target="_top">No Frames</a></li>
|
|
</ul>
|
|
<ul class="navList" id="allclasses_navbar_top">
|
|
<li><a href="../../../allclasses-noframe.html">All Classes</a></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>
|
|
</div>
|
|
<div>
|
|
<ul class="subNavList">
|
|
<li>Summary: </li>
|
|
<li>Nested | </li>
|
|
<li><a href="#field.summary">Field</a> | </li>
|
|
<li><a href="#constructor.summary">Constr</a> | </li>
|
|
<li><a href="#method.summary">Method</a></li>
|
|
</ul>
|
|
<ul class="subNavList">
|
|
<li>Detail: </li>
|
|
<li><a href="#field.detail">Field</a> | </li>
|
|
<li><a href="#constructor.detail">Constr</a> | </li>
|
|
<li><a href="#method.detail">Method</a></li>
|
|
</ul>
|
|
</div>
|
|
<a name="skip.navbar.top">
|
|
<!-- -->
|
|
</a></div>
|
|
<!-- ========= END OF TOP NAVBAR ========= -->
|
|
<!-- ======== START OF CLASS DATA ======== -->
|
|
<div class="header">
|
|
<div class="subTitle">com.gtnewhorizon.structurelib</div>
|
|
<h2 title="Class StructureLibAPI" class="title">Class StructureLibAPI</h2>
|
|
</div>
|
|
<div class="contentContainer">
|
|
<ul class="inheritance">
|
|
<li><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
|
|
<li>
|
|
<ul class="inheritance">
|
|
<li>com.gtnewhorizon.structurelib.StructureLibAPI</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
<div class="description">
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<hr>
|
|
<br>
|
|
<pre>public class <span class="typeNameLabel">StructureLibAPI</span>
|
|
extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre>
|
|
<div class="block">A stable interface into the structure lib's internals. Backwards compatibility is maintained to the maximum extend possible.</div>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div class="summary">
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<!-- =========== FIELD SUMMARY =========== -->
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="field.summary">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Field Summary</h3>
|
|
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
|
|
<caption><span>Fields</span><span class="tabEnd"> </span></caption>
|
|
<tr>
|
|
<th class="colFirst" scope="col">Modifier and Type</th>
|
|
<th class="colLast" scope="col">Field and Description</th>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>static int</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/gtnewhorizon/structurelib/StructureLibAPI.html#HINT_BLOCK_META_AIR">HINT_BLOCK_META_AIR</a></span></code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>static int</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/gtnewhorizon/structurelib/StructureLibAPI.html#HINT_BLOCK_META_DEFAULT">HINT_BLOCK_META_DEFAULT</a></span></code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>static int</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/gtnewhorizon/structurelib/StructureLibAPI.html#HINT_BLOCK_META_ERROR">HINT_BLOCK_META_ERROR</a></span></code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>static int</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/gtnewhorizon/structurelib/StructureLibAPI.html#HINT_BLOCK_META_GENERIC_0">HINT_BLOCK_META_GENERIC_0</a></span></code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>static int</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/gtnewhorizon/structurelib/StructureLibAPI.html#HINT_BLOCK_META_GENERIC_1">HINT_BLOCK_META_GENERIC_1</a></span></code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>static int</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/gtnewhorizon/structurelib/StructureLibAPI.html#HINT_BLOCK_META_GENERIC_10">HINT_BLOCK_META_GENERIC_10</a></span></code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>static int</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/gtnewhorizon/structurelib/StructureLibAPI.html#HINT_BLOCK_META_GENERIC_11">HINT_BLOCK_META_GENERIC_11</a></span></code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>static int</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/gtnewhorizon/structurelib/StructureLibAPI.html#HINT_BLOCK_META_GENERIC_2">HINT_BLOCK_META_GENERIC_2</a></span></code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>static int</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/gtnewhorizon/structurelib/StructureLibAPI.html#HINT_BLOCK_META_GENERIC_3">HINT_BLOCK_META_GENERIC_3</a></span></code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>static int</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/gtnewhorizon/structurelib/StructureLibAPI.html#HINT_BLOCK_META_GENERIC_4">HINT_BLOCK_META_GENERIC_4</a></span></code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>static int</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/gtnewhorizon/structurelib/StructureLibAPI.html#HINT_BLOCK_META_GENERIC_5">HINT_BLOCK_META_GENERIC_5</a></span></code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>static int</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/gtnewhorizon/structurelib/StructureLibAPI.html#HINT_BLOCK_META_GENERIC_6">HINT_BLOCK_META_GENERIC_6</a></span></code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>static int</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/gtnewhorizon/structurelib/StructureLibAPI.html#HINT_BLOCK_META_GENERIC_7">HINT_BLOCK_META_GENERIC_7</a></span></code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>static int</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/gtnewhorizon/structurelib/StructureLibAPI.html#HINT_BLOCK_META_GENERIC_8">HINT_BLOCK_META_GENERIC_8</a></span></code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>static int</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/gtnewhorizon/structurelib/StructureLibAPI.html#HINT_BLOCK_META_GENERIC_9">HINT_BLOCK_META_GENERIC_9</a></span></code> </td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>static int</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/gtnewhorizon/structurelib/StructureLibAPI.html#HINT_BLOCK_META_NOT_AIR">HINT_BLOCK_META_NOT_AIR</a></span></code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/gtnewhorizon/structurelib/StructureLibAPI.html#MOD_ID">MOD_ID</a></span></code> </td>
|
|
</tr>
|
|
</table>
|
|
</li>
|
|
</ul>
|
|
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="constructor.summary">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Constructor Summary</h3>
|
|
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
|
|
<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
|
|
<tr>
|
|
<th class="colOne" scope="col">Constructor and Description</th>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colOne"><code><span class="memberNameLink"><a href="../../../com/gtnewhorizon/structurelib/StructureLibAPI.html#StructureLibAPI--">StructureLibAPI</a></span>()</code> </td>
|
|
</tr>
|
|
</table>
|
|
</li>
|
|
</ul>
|
|
<!-- ========== METHOD SUMMARY =========== -->
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="method.summary">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Method Summary</h3>
|
|
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
|
|
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span><span id="t6" class="tableTab"><span><a href="javascript:show(32);">Deprecated Methods</a></span><span class="tabEnd"> </span></span></caption>
|
|
<tr>
|
|
<th class="colFirst" scope="col">Modifier and Type</th>
|
|
<th class="colLast" scope="col">Method and Description</th>
|
|
</tr>
|
|
<tr id="i0" class="altColor">
|
|
<td class="colFirst"><code>static void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/gtnewhorizon/structurelib/StructureLibAPI.html#addThrottledChat-java.lang.Object-net.minecraft.entity.player.EntityPlayer-net.minecraft.util.IChatComponent-short-">addThrottledChat</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> throttleKey,
|
|
<a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/net/minecraft/entity/player/EntityPlayer.html?is-external=true" title="class or interface in net.minecraft.entity.player">EntityPlayer</a> player,
|
|
<a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/net/minecraft/util/IChatComponent.html?is-external=true" title="class or interface in net.minecraft.util">IChatComponent</a> text,
|
|
short intervalRequired)</code>
|
|
<div class="block">Send chat to player, but throttled.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i1" class="rowColor">
|
|
<td class="colFirst"><code>static void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/gtnewhorizon/structurelib/StructureLibAPI.html#addThrottledChat-java.lang.Object-net.minecraft.entity.player.EntityPlayer-net.minecraft.util.IChatComponent-short-boolean-">addThrottledChat</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> throttleKey,
|
|
<a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/net/minecraft/entity/player/EntityPlayer.html?is-external=true" title="class or interface in net.minecraft.entity.player">EntityPlayer</a> player,
|
|
<a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/net/minecraft/util/IChatComponent.html?is-external=true" title="class or interface in net.minecraft.util">IChatComponent</a> text,
|
|
short intervalRequired,
|
|
boolean forceUpdateLastSend)</code>
|
|
<div class="block">Send chat to player, but throttled.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i2" class="altColor">
|
|
<td class="colFirst"><code>static void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/gtnewhorizon/structurelib/StructureLibAPI.html#disableInstrument--">disableInstrument</a></span>()</code>
|
|
<div class="block">Stop instrumenting.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i3" class="rowColor">
|
|
<td class="colFirst"><code>static void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/gtnewhorizon/structurelib/StructureLibAPI.html#enableInstrument-java.lang.Object-">enableInstrument</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> identifier)</code>
|
|
<div class="block">Start instrumenting <b>for the current thread only</b>.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i4" class="altColor">
|
|
<td class="colFirst"><code>static void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/gtnewhorizon/structurelib/StructureLibAPI.html#endHinting-net.minecraft.world.World-">endHinting</a></span>(<a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/net/minecraft/world/World.html?is-external=true" title="class or interface in net.minecraft.world">World</a> w)</code>
|
|
<div class="block">End current batch of hinting.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i5" class="rowColor">
|
|
<td class="colFirst"><code>static <a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/net/minecraft/block/Block.html?is-external=true" title="class or interface in net.minecraft.block">Block</a></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/gtnewhorizon/structurelib/StructureLibAPI.html#getBlockHint--">getBlockHint</a></span>()</code>
|
|
<div class="block">Get the Block for StructureLib supplied hint block.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i6" class="altColor">
|
|
<td class="colFirst"><code>static <a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/net/minecraft/item/Item.html?is-external=true" title="class or interface in net.minecraft.item">Item</a></code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/gtnewhorizon/structurelib/StructureLibAPI.html#getItemBlockHint--">getItemBlockHint</a></span>()</code>
|
|
<div class="block">Get the ItemBlock for StructureLib supplied hint block.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i7" class="rowColor">
|
|
<td class="colFirst"><code>static void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/gtnewhorizon/structurelib/StructureLibAPI.html#hintParticle-net.minecraft.world.World-int-int-int-net.minecraft.block.Block-int-">hintParticle</a></span>(<a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/net/minecraft/world/World.html?is-external=true" title="class or interface in net.minecraft.world">World</a> w,
|
|
int x,
|
|
int y,
|
|
int z,
|
|
<a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/net/minecraft/block/Block.html?is-external=true" title="class or interface in net.minecraft.block">Block</a> block,
|
|
int meta)</code>
|
|
<div class="block">Generate a new hint particle on client side at given location using textures from given block.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i8" class="altColor">
|
|
<td class="colFirst"><code>static void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/gtnewhorizon/structurelib/StructureLibAPI.html#hintParticle-net.minecraft.world.World-int-int-int-net.minecraft.util.IIcon:A-">hintParticle</a></span>(<a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/net/minecraft/world/World.html?is-external=true" title="class or interface in net.minecraft.world">World</a> w,
|
|
int x,
|
|
int y,
|
|
int z,
|
|
<a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/net/minecraft/util/IIcon.html?is-external=true" title="class or interface in net.minecraft.util">IIcon</a>[] icons)</code>
|
|
<div class="block">Generate a new hint particle on client side at given location using given textures.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i9" class="rowColor">
|
|
<td class="colFirst"><code>static void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/gtnewhorizon/structurelib/StructureLibAPI.html#hintParticleTinted-net.minecraft.world.World-int-int-int-net.minecraft.block.Block-int-short:A-">hintParticleTinted</a></span>(<a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/net/minecraft/world/World.html?is-external=true" title="class or interface in net.minecraft.world">World</a> w,
|
|
int x,
|
|
int y,
|
|
int z,
|
|
<a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/net/minecraft/block/Block.html?is-external=true" title="class or interface in net.minecraft.block">Block</a> block,
|
|
int meta,
|
|
short[] RGBa)</code>
|
|
<div class="block">Generate a new hint particle on client side at given location using textures from given block with a tint.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i10" class="altColor">
|
|
<td class="colFirst"><code>static void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/gtnewhorizon/structurelib/StructureLibAPI.html#hintParticleTinted-net.minecraft.world.World-int-int-int-net.minecraft.util.IIcon:A-short:A-">hintParticleTinted</a></span>(<a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/net/minecraft/world/World.html?is-external=true" title="class or interface in net.minecraft.world">World</a> w,
|
|
int x,
|
|
int y,
|
|
int z,
|
|
<a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/net/minecraft/util/IIcon.html?is-external=true" title="class or interface in net.minecraft.util">IIcon</a>[] icons,
|
|
short[] RGBa)</code>
|
|
<div class="block">Generate a new hint particle on client side at given location using given textures with a tint.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i11" class="rowColor">
|
|
<td class="colFirst"><code>static boolean</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/gtnewhorizon/structurelib/StructureLibAPI.html#isBlockTriviallyReplaceable-net.minecraft.world.World-int-int-int-net.minecraft.entity.player.EntityPlayer-">isBlockTriviallyReplaceable</a></span>(<a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/net/minecraft/world/World.html?is-external=true" title="class or interface in net.minecraft.world">World</a> w,
|
|
int x,
|
|
int y,
|
|
int z,
|
|
<a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/net/minecraft/entity/player/EntityPlayer.html?is-external=true" title="class or interface in net.minecraft.entity.player">EntityPlayer</a> actor)</code>
|
|
<div class="block">Determines if given block can be replaced without much effort.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i12" class="altColor">
|
|
<td class="colFirst"><code>static boolean</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/gtnewhorizon/structurelib/StructureLibAPI.html#isBlockTriviallyReplaceable-net.minecraft.world.World-int-int-int-net.minecraft.entity.player.EntityPlayerMP-">isBlockTriviallyReplaceable</a></span>(<a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/net/minecraft/world/World.html?is-external=true" title="class or interface in net.minecraft.world">World</a> w,
|
|
int x,
|
|
int y,
|
|
int z,
|
|
<a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/net/minecraft/entity/player/EntityPlayerMP.html?is-external=true" title="class or interface in net.minecraft.entity.player">EntityPlayerMP</a> actor)</code>
|
|
<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i13" class="rowColor">
|
|
<td class="colFirst"><code>static boolean</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/gtnewhorizon/structurelib/StructureLibAPI.html#isDebugEnabled--">isDebugEnabled</a></span>()</code>
|
|
<div class="block">Check if structure debug mode is on.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i14" class="altColor">
|
|
<td class="colFirst"><code>static boolean</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/gtnewhorizon/structurelib/StructureLibAPI.html#isInstrumentEnabled--">isInstrumentEnabled</a></span>()</code>
|
|
<div class="block">Check if instrumenting is enabled.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i15" class="rowColor">
|
|
<td class="colFirst"><code>static boolean</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/gtnewhorizon/structurelib/StructureLibAPI.html#markHintParticleError-net.minecraft.entity.player.EntityPlayer-net.minecraft.world.World-int-int-int-">markHintParticleError</a></span>(<a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/net/minecraft/entity/player/EntityPlayer.html?is-external=true" title="class or interface in net.minecraft.entity.player">EntityPlayer</a> player,
|
|
<a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/net/minecraft/world/World.html?is-external=true" title="class or interface in net.minecraft.world">World</a> w,
|
|
int x,
|
|
int y,
|
|
int z)</code>
|
|
<div class="block">Update the tint of given hint particle.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i16" class="altColor">
|
|
<td class="colFirst"><code>static void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/gtnewhorizon/structurelib/StructureLibAPI.html#queryAlignment-com.gtnewhorizon.structurelib.alignment.IAlignmentProvider-">queryAlignment</a></span>(<a href="../../../com/gtnewhorizon/structurelib/alignment/IAlignmentProvider.html" title="interface in com.gtnewhorizon.structurelib.alignment">IAlignmentProvider</a> provider)</code>
|
|
<div class="block">Query the ExtendedFacing of this tile entity from client side.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i17" class="rowColor">
|
|
<td class="colFirst"><code>static void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/gtnewhorizon/structurelib/StructureLibAPI.html#sendAlignment-com.gtnewhorizon.structurelib.alignment.IAlignmentProvider-">sendAlignment</a></span>(<a href="../../../com/gtnewhorizon/structurelib/alignment/IAlignmentProvider.html" title="interface in com.gtnewhorizon.structurelib.alignment">IAlignmentProvider</a> provider)</code>
|
|
<div class="block">Send the ExtendedFacing of this Tile Entity to all players.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i18" class="altColor">
|
|
<td class="colFirst"><code>static void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/gtnewhorizon/structurelib/StructureLibAPI.html#sendAlignment-com.gtnewhorizon.structurelib.alignment.IAlignmentProvider-net.minecraft.entity.player.EntityPlayerMP-">sendAlignment</a></span>(<a href="../../../com/gtnewhorizon/structurelib/alignment/IAlignmentProvider.html" title="interface in com.gtnewhorizon.structurelib.alignment">IAlignmentProvider</a> provider,
|
|
<a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/net/minecraft/entity/player/EntityPlayerMP.html?is-external=true" title="class or interface in net.minecraft.entity.player">EntityPlayerMP</a> player)</code>
|
|
<div class="block">Send the ExtendedFacing of this Tile Entity to given player.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i19" class="rowColor">
|
|
<td class="colFirst"><code>static void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/gtnewhorizon/structurelib/StructureLibAPI.html#sendAlignment-com.gtnewhorizon.structurelib.alignment.IAlignmentProvider-cpw.mods.fml.common.network.NetworkRegistry.TargetPoint-">sendAlignment</a></span>(<a href="../../../com/gtnewhorizon/structurelib/alignment/IAlignmentProvider.html" title="interface in com.gtnewhorizon.structurelib.alignment">IAlignmentProvider</a> provider,
|
|
<a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/cpw/mods/fml/common/network/NetworkRegistry.TargetPoint.html?is-external=true" title="class or interface in cpw.mods.fml.common.network">NetworkRegistry.TargetPoint</a> targetPoint)</code>
|
|
<div class="block">Send the ExtendedFacing of this Tile Entity to all players around target point.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i20" class="altColor">
|
|
<td class="colFirst"><code>static void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/gtnewhorizon/structurelib/StructureLibAPI.html#sendAlignment-com.gtnewhorizon.structurelib.alignment.IAlignmentProvider-net.minecraft.world.World-">sendAlignment</a></span>(<a href="../../../com/gtnewhorizon/structurelib/alignment/IAlignmentProvider.html" title="interface in com.gtnewhorizon.structurelib.alignment">IAlignmentProvider</a> provider,
|
|
<a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/net/minecraft/world/World.html?is-external=true" title="class or interface in net.minecraft.world">World</a> dimension)</code>
|
|
<div class="block">Send the ExtendedFacing of this Tile Entity to all players in that dimension.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i21" class="rowColor">
|
|
<td class="colFirst"><code>static void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/gtnewhorizon/structurelib/StructureLibAPI.html#setDebugEnabled-boolean-">setDebugEnabled</a></span>(boolean enabled)</code> </td>
|
|
</tr>
|
|
<tr id="i22" class="altColor">
|
|
<td class="colFirst"><code>static void</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/gtnewhorizon/structurelib/StructureLibAPI.html#startHinting-net.minecraft.world.World-">startHinting</a></span>(<a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/net/minecraft/world/World.html?is-external=true" title="class or interface in net.minecraft.world">World</a> w)</code>
|
|
<div class="block">Start a batch of hinting.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i23" class="rowColor">
|
|
<td class="colFirst"><code>static boolean</code></td>
|
|
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/gtnewhorizon/structurelib/StructureLibAPI.html#updateHintParticleTint-net.minecraft.entity.player.EntityPlayer-net.minecraft.world.World-int-int-int-short:A-">updateHintParticleTint</a></span>(<a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/net/minecraft/entity/player/EntityPlayer.html?is-external=true" title="class or interface in net.minecraft.entity.player">EntityPlayer</a> player,
|
|
<a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/net/minecraft/world/World.html?is-external=true" title="class or interface in net.minecraft.world">World</a> w,
|
|
int x,
|
|
int y,
|
|
int z,
|
|
short[] RGBa)</code>
|
|
<div class="block">Update the tint of given hint particle.</div>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Methods inherited from class java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
|
|
<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div class="details">
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<!-- ============ FIELD DETAIL =========== -->
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="field.detail">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Field Detail</h3>
|
|
<a name="MOD_ID">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>MOD_ID</h4>
|
|
<pre>public static final <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> MOD_ID</pre>
|
|
<dl>
|
|
<dt><span class="seeLabel">See Also:</span></dt>
|
|
<dd><a href="../../../constant-values.html#com.gtnewhorizon.structurelib.StructureLibAPI.MOD_ID">Constant Field Values</a></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="HINT_BLOCK_META_GENERIC_0">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>HINT_BLOCK_META_GENERIC_0</h4>
|
|
<pre>public static final int HINT_BLOCK_META_GENERIC_0</pre>
|
|
<dl>
|
|
<dt><span class="seeLabel">See Also:</span></dt>
|
|
<dd><a href="../../../constant-values.html#com.gtnewhorizon.structurelib.StructureLibAPI.HINT_BLOCK_META_GENERIC_0">Constant Field Values</a></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="HINT_BLOCK_META_GENERIC_1">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>HINT_BLOCK_META_GENERIC_1</h4>
|
|
<pre>public static final int HINT_BLOCK_META_GENERIC_1</pre>
|
|
<dl>
|
|
<dt><span class="seeLabel">See Also:</span></dt>
|
|
<dd><a href="../../../constant-values.html#com.gtnewhorizon.structurelib.StructureLibAPI.HINT_BLOCK_META_GENERIC_1">Constant Field Values</a></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="HINT_BLOCK_META_GENERIC_2">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>HINT_BLOCK_META_GENERIC_2</h4>
|
|
<pre>public static final int HINT_BLOCK_META_GENERIC_2</pre>
|
|
<dl>
|
|
<dt><span class="seeLabel">See Also:</span></dt>
|
|
<dd><a href="../../../constant-values.html#com.gtnewhorizon.structurelib.StructureLibAPI.HINT_BLOCK_META_GENERIC_2">Constant Field Values</a></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="HINT_BLOCK_META_GENERIC_3">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>HINT_BLOCK_META_GENERIC_3</h4>
|
|
<pre>public static final int HINT_BLOCK_META_GENERIC_3</pre>
|
|
<dl>
|
|
<dt><span class="seeLabel">See Also:</span></dt>
|
|
<dd><a href="../../../constant-values.html#com.gtnewhorizon.structurelib.StructureLibAPI.HINT_BLOCK_META_GENERIC_3">Constant Field Values</a></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="HINT_BLOCK_META_GENERIC_4">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>HINT_BLOCK_META_GENERIC_4</h4>
|
|
<pre>public static final int HINT_BLOCK_META_GENERIC_4</pre>
|
|
<dl>
|
|
<dt><span class="seeLabel">See Also:</span></dt>
|
|
<dd><a href="../../../constant-values.html#com.gtnewhorizon.structurelib.StructureLibAPI.HINT_BLOCK_META_GENERIC_4">Constant Field Values</a></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="HINT_BLOCK_META_GENERIC_5">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>HINT_BLOCK_META_GENERIC_5</h4>
|
|
<pre>public static final int HINT_BLOCK_META_GENERIC_5</pre>
|
|
<dl>
|
|
<dt><span class="seeLabel">See Also:</span></dt>
|
|
<dd><a href="../../../constant-values.html#com.gtnewhorizon.structurelib.StructureLibAPI.HINT_BLOCK_META_GENERIC_5">Constant Field Values</a></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="HINT_BLOCK_META_GENERIC_6">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>HINT_BLOCK_META_GENERIC_6</h4>
|
|
<pre>public static final int HINT_BLOCK_META_GENERIC_6</pre>
|
|
<dl>
|
|
<dt><span class="seeLabel">See Also:</span></dt>
|
|
<dd><a href="../../../constant-values.html#com.gtnewhorizon.structurelib.StructureLibAPI.HINT_BLOCK_META_GENERIC_6">Constant Field Values</a></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="HINT_BLOCK_META_GENERIC_7">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>HINT_BLOCK_META_GENERIC_7</h4>
|
|
<pre>public static final int HINT_BLOCK_META_GENERIC_7</pre>
|
|
<dl>
|
|
<dt><span class="seeLabel">See Also:</span></dt>
|
|
<dd><a href="../../../constant-values.html#com.gtnewhorizon.structurelib.StructureLibAPI.HINT_BLOCK_META_GENERIC_7">Constant Field Values</a></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="HINT_BLOCK_META_GENERIC_8">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>HINT_BLOCK_META_GENERIC_8</h4>
|
|
<pre>public static final int HINT_BLOCK_META_GENERIC_8</pre>
|
|
<dl>
|
|
<dt><span class="seeLabel">See Also:</span></dt>
|
|
<dd><a href="../../../constant-values.html#com.gtnewhorizon.structurelib.StructureLibAPI.HINT_BLOCK_META_GENERIC_8">Constant Field Values</a></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="HINT_BLOCK_META_GENERIC_9">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>HINT_BLOCK_META_GENERIC_9</h4>
|
|
<pre>public static final int HINT_BLOCK_META_GENERIC_9</pre>
|
|
<dl>
|
|
<dt><span class="seeLabel">See Also:</span></dt>
|
|
<dd><a href="../../../constant-values.html#com.gtnewhorizon.structurelib.StructureLibAPI.HINT_BLOCK_META_GENERIC_9">Constant Field Values</a></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="HINT_BLOCK_META_GENERIC_10">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>HINT_BLOCK_META_GENERIC_10</h4>
|
|
<pre>public static final int HINT_BLOCK_META_GENERIC_10</pre>
|
|
<dl>
|
|
<dt><span class="seeLabel">See Also:</span></dt>
|
|
<dd><a href="../../../constant-values.html#com.gtnewhorizon.structurelib.StructureLibAPI.HINT_BLOCK_META_GENERIC_10">Constant Field Values</a></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="HINT_BLOCK_META_GENERIC_11">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>HINT_BLOCK_META_GENERIC_11</h4>
|
|
<pre>public static final int HINT_BLOCK_META_GENERIC_11</pre>
|
|
<dl>
|
|
<dt><span class="seeLabel">See Also:</span></dt>
|
|
<dd><a href="../../../constant-values.html#com.gtnewhorizon.structurelib.StructureLibAPI.HINT_BLOCK_META_GENERIC_11">Constant Field Values</a></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="HINT_BLOCK_META_DEFAULT">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>HINT_BLOCK_META_DEFAULT</h4>
|
|
<pre>public static final int HINT_BLOCK_META_DEFAULT</pre>
|
|
<dl>
|
|
<dt><span class="seeLabel">See Also:</span></dt>
|
|
<dd><a href="../../../constant-values.html#com.gtnewhorizon.structurelib.StructureLibAPI.HINT_BLOCK_META_DEFAULT">Constant Field Values</a></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="HINT_BLOCK_META_AIR">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>HINT_BLOCK_META_AIR</h4>
|
|
<pre>public static final int HINT_BLOCK_META_AIR</pre>
|
|
<dl>
|
|
<dt><span class="seeLabel">See Also:</span></dt>
|
|
<dd><a href="../../../constant-values.html#com.gtnewhorizon.structurelib.StructureLibAPI.HINT_BLOCK_META_AIR">Constant Field Values</a></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="HINT_BLOCK_META_NOT_AIR">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>HINT_BLOCK_META_NOT_AIR</h4>
|
|
<pre>public static final int HINT_BLOCK_META_NOT_AIR</pre>
|
|
<dl>
|
|
<dt><span class="seeLabel">See Also:</span></dt>
|
|
<dd><a href="../../../constant-values.html#com.gtnewhorizon.structurelib.StructureLibAPI.HINT_BLOCK_META_NOT_AIR">Constant Field Values</a></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="HINT_BLOCK_META_ERROR">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockListLast">
|
|
<li class="blockList">
|
|
<h4>HINT_BLOCK_META_ERROR</h4>
|
|
<pre>public static final int HINT_BLOCK_META_ERROR</pre>
|
|
<dl>
|
|
<dt><span class="seeLabel">See Also:</span></dt>
|
|
<dd><a href="../../../constant-values.html#com.gtnewhorizon.structurelib.StructureLibAPI.HINT_BLOCK_META_ERROR">Constant Field Values</a></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="constructor.detail">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Constructor Detail</h3>
|
|
<a name="StructureLibAPI--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockListLast">
|
|
<li class="blockList">
|
|
<h4>StructureLibAPI</h4>
|
|
<pre>public StructureLibAPI()</pre>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
<!-- ============ METHOD DETAIL ========== -->
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="method.detail">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Method Detail</h3>
|
|
<a name="enableInstrument-java.lang.Object-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>enableInstrument</h4>
|
|
<pre>public static void enableInstrument(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> identifier)</pre>
|
|
<div class="block">Start instrumenting <b>for the current thread only</b>. When instrumentation is enabled,
|
|
<a href="../../../com/gtnewhorizon/structurelib/structure/IStructureDefinition.html" title="interface in com.gtnewhorizon.structurelib.structure"><code>IStructureDefinition</code></a>'s builtin iteration methods will send <a href="../../../com/gtnewhorizon/structurelib/StructureEvent.html" title="class in com.gtnewhorizon.structurelib"><code>StructureEvent</code></a> and its subclasses when
|
|
appropriate. Otherwise, these events will not be sent at all, regardless of whether a listener for these events
|
|
are registered.
|
|
<p>
|
|
Identifiers are required to be value-comparable, i.e. overrides <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang"><code>Object.equals(Object)</code></a>.
|
|
Suggested identifier includes
|
|
<ul>
|
|
<li>Mod Instance or <a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/cpw/mods/fml/common/ModContainer.html?is-external=true" title="class or interface in cpw.mods.fml.common"><code>ModContainer</code></a></li>
|
|
<li><a href="../../../com/gtnewhorizon/structurelib/alignment/constructable/IConstructable.html" title="interface in com.gtnewhorizon.structurelib.alignment.constructable"><code>IConstructable</code></a> and its friends, if you are triggering structure check via this interface.</li>
|
|
<li><a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/net/minecraft/util/ResourceLocation.html?is-external=true" title="class or interface in net.minecraft.util"><code>ResourceLocation</code></a></li>
|
|
</ul>
|
|
<p>
|
|
It's an API abuse for normal <a href="../../../com/gtnewhorizon/structurelib/structure/IStructureDefinition.html" title="interface in com.gtnewhorizon.structurelib.structure"><code>IStructureDefinition</code></a> users to depend on this feature. They have full control
|
|
and full knowledge of the <a href="../../../com/gtnewhorizon/structurelib/structure/IStructureDefinition.html" title="interface in com.gtnewhorizon.structurelib.structure"><code>IStructureDefinition</code></a> they are using. Using events to instrument the structure
|
|
check/autoplace is completely unnecessary and does nothing but add overhead.
|
|
<p>
|
|
Instruments are required to call <a href="../../../com/gtnewhorizon/structurelib/StructureLibAPI.html#disableInstrument--"><code>disableInstrument()</code></a> whenever it is done with its business, as there can
|
|
be only one instrument for any given thread.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>identifier</code> - an identifier sent along the actual event.</dd>
|
|
<dt><span class="throwsLabel">Throws:</span></dt>
|
|
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalStateException.html?is-external=true" title="class or interface in java.lang">IllegalStateException</a></code> - if instrument has already been enabled.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="disableInstrument--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>disableInstrument</h4>
|
|
<pre>public static void disableInstrument()</pre>
|
|
<div class="block">Stop instrumenting.</div>
|
|
<dl>
|
|
<dt><span class="throwsLabel">Throws:</span></dt>
|
|
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalStateException.html?is-external=true" title="class or interface in java.lang">IllegalStateException</a></code> - if instrumenting hasn't been enabled.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="isInstrumentEnabled--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isInstrumentEnabled</h4>
|
|
<pre>public static boolean isInstrumentEnabled()</pre>
|
|
<div class="block">Check if instrumenting is enabled.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>true if enabled, false otherwise</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="startHinting-net.minecraft.world.World-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>startHinting</h4>
|
|
<pre>public static void startHinting(<a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/net/minecraft/world/World.html?is-external=true" title="class or interface in net.minecraft.world">World</a> w)</pre>
|
|
<div class="block">Start a batch of hinting. All hints particles generated during one batch will be considered to belong to one hologram.
|
|
<p>
|
|
You don't need to call this unless your constructable tool didn't call <a href="../../../com/gtnewhorizon/structurelib/alignment/constructable/ConstructableUtility.html#handle-net.minecraft.item.ItemStack-net.minecraft.entity.player.EntityPlayer-net.minecraft.world.World-int-int-int-int-"><code>ConstructableUtility.handle(ItemStack, EntityPlayer, World, int, int, int, int)</code></a></div>
|
|
</li>
|
|
</ul>
|
|
<a name="endHinting-net.minecraft.world.World-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>endHinting</h4>
|
|
<pre>public static void endHinting(<a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/net/minecraft/world/World.html?is-external=true" title="class or interface in net.minecraft.world">World</a> w)</pre>
|
|
<div class="block">End current batch of hinting. All hints particles generated during one batch will be considered to belong to one hologram.
|
|
<p>
|
|
You don't need to call this unless your constructable tool didn't call <a href="../../../com/gtnewhorizon/structurelib/alignment/constructable/ConstructableUtility.html#handle-net.minecraft.item.ItemStack-net.minecraft.entity.player.EntityPlayer-net.minecraft.world.World-int-int-int-int-"><code>ConstructableUtility.handle(ItemStack, EntityPlayer, World, int, int, int, int)</code></a></div>
|
|
</li>
|
|
</ul>
|
|
<a name="hintParticleTinted-net.minecraft.world.World-int-int-int-net.minecraft.util.IIcon:A-short:A-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>hintParticleTinted</h4>
|
|
<pre>public static void hintParticleTinted(<a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/net/minecraft/world/World.html?is-external=true" title="class or interface in net.minecraft.world">World</a> w,
|
|
int x,
|
|
int y,
|
|
int z,
|
|
<a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/net/minecraft/util/IIcon.html?is-external=true" title="class or interface in net.minecraft.util">IIcon</a>[] icons,
|
|
short[] RGBa)</pre>
|
|
<div class="block">Generate a new hint particle on client side at given location using given textures with a tint.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>w</code> - World to spawn. Usually the client world.</dd>
|
|
<dd><code>x</code> - x coord</dd>
|
|
<dd><code>y</code> - y coord</dd>
|
|
<dd><code>z</code> - z coord</dd>
|
|
<dd><code>icons</code> - 6 texture. in forge direction order.</dd>
|
|
<dd><code>RGBa</code> - a 4 short array. tint in rgba form. currently alpha channel is ignored, but we might change this later on.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="hintParticleTinted-net.minecraft.world.World-int-int-int-net.minecraft.block.Block-int-short:A-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>hintParticleTinted</h4>
|
|
<pre>public static void hintParticleTinted(<a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/net/minecraft/world/World.html?is-external=true" title="class or interface in net.minecraft.world">World</a> w,
|
|
int x,
|
|
int y,
|
|
int z,
|
|
<a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/net/minecraft/block/Block.html?is-external=true" title="class or interface in net.minecraft.block">Block</a> block,
|
|
int meta,
|
|
short[] RGBa)</pre>
|
|
<div class="block">Generate a new hint particle on client side at given location using textures from given block with a tint.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>w</code> - World to spawn. Usually the client world.</dd>
|
|
<dd><code>x</code> - x coord</dd>
|
|
<dd><code>y</code> - y coord</dd>
|
|
<dd><code>z</code> - z coord</dd>
|
|
<dd><code>block</code> - block to take texture from</dd>
|
|
<dd><code>meta</code> - the meta of block to take texture from</dd>
|
|
<dd><code>RGBa</code> - a 4 short array. tint in rgba form. currently alpha channel is ignored, but we might change this later on.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="hintParticle-net.minecraft.world.World-int-int-int-net.minecraft.util.IIcon:A-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>hintParticle</h4>
|
|
<pre>public static void hintParticle(<a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/net/minecraft/world/World.html?is-external=true" title="class or interface in net.minecraft.world">World</a> w,
|
|
int x,
|
|
int y,
|
|
int z,
|
|
<a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/net/minecraft/util/IIcon.html?is-external=true" title="class or interface in net.minecraft.util">IIcon</a>[] icons)</pre>
|
|
<div class="block">Generate a new hint particle on client side at given location using given textures.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>w</code> - World to spawn. Usually the client world.</dd>
|
|
<dd><code>x</code> - x coord</dd>
|
|
<dd><code>y</code> - y coord</dd>
|
|
<dd><code>z</code> - z coord</dd>
|
|
<dd><code>icons</code> - 6 texture. in forge direction order.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="hintParticle-net.minecraft.world.World-int-int-int-net.minecraft.block.Block-int-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>hintParticle</h4>
|
|
<pre>public static void hintParticle(<a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/net/minecraft/world/World.html?is-external=true" title="class or interface in net.minecraft.world">World</a> w,
|
|
int x,
|
|
int y,
|
|
int z,
|
|
<a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/net/minecraft/block/Block.html?is-external=true" title="class or interface in net.minecraft.block">Block</a> block,
|
|
int meta)</pre>
|
|
<div class="block">Generate a new hint particle on client side at given location using textures from given block.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>w</code> - World to spawn. Usually the client world.</dd>
|
|
<dd><code>x</code> - x coord</dd>
|
|
<dd><code>y</code> - y coord</dd>
|
|
<dd><code>z</code> - z coord</dd>
|
|
<dd><code>block</code> - block to take texture from</dd>
|
|
<dd><code>meta</code> - the meta of block to take texture from</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="markHintParticleError-net.minecraft.entity.player.EntityPlayer-net.minecraft.world.World-int-int-int-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>markHintParticleError</h4>
|
|
<pre>public static boolean markHintParticleError(<a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/net/minecraft/entity/player/EntityPlayer.html?is-external=true" title="class or interface in net.minecraft.entity.player">EntityPlayer</a> player,
|
|
<a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/net/minecraft/world/World.html?is-external=true" title="class or interface in net.minecraft.world">World</a> w,
|
|
int x,
|
|
int y,
|
|
int z)</pre>
|
|
<div class="block">Update the tint of given hint particle. Do nothing if particle not found.
|
|
<p>
|
|
Can be called on either client side or server side.
|
|
Server side will schedule a network message to update it for this player only.
|
|
Will do nothing if no hint particle is found at given location.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>false if nothing updated. true if updated or update instruction sent.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="updateHintParticleTint-net.minecraft.entity.player.EntityPlayer-net.minecraft.world.World-int-int-int-short:A-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>updateHintParticleTint</h4>
|
|
<pre>public static boolean updateHintParticleTint(<a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/net/minecraft/entity/player/EntityPlayer.html?is-external=true" title="class or interface in net.minecraft.entity.player">EntityPlayer</a> player,
|
|
<a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/net/minecraft/world/World.html?is-external=true" title="class or interface in net.minecraft.world">World</a> w,
|
|
int x,
|
|
int y,
|
|
int z,
|
|
short[] RGBa)</pre>
|
|
<div class="block">Update the tint of given hint particle. Do nothing if particle not found.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>false if nothing updated. true if updated.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="queryAlignment-com.gtnewhorizon.structurelib.alignment.IAlignmentProvider-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>queryAlignment</h4>
|
|
<pre>public static void queryAlignment(<a href="../../../com/gtnewhorizon/structurelib/alignment/IAlignmentProvider.html" title="interface in com.gtnewhorizon.structurelib.alignment">IAlignmentProvider</a> provider)</pre>
|
|
<div class="block">Query the ExtendedFacing of this tile entity from client side. Can be sent only on client side.
|
|
The ExtendedFacing will later be set onto given tile entity via <a href="../../../com/gtnewhorizon/structurelib/alignment/IAlignment.html#setExtendedFacing-com.gtnewhorizon.structurelib.alignment.enumerable.ExtendedFacing-"><code>IAlignment.setExtendedFacing(ExtendedFacing)</code></a>
|
|
upon arrival of server reply.
|
|
<p>
|
|
The server side will query the <a href="../../../com/gtnewhorizon/structurelib/alignment/enumerable/ExtendedFacing.html" title="enum in com.gtnewhorizon.structurelib.alignment.enumerable"><code>ExtendedFacing</code></a> of this provider using <a href="../../../com/gtnewhorizon/structurelib/alignment/IAlignment.html#getExtendedFacing--"><code>IAlignment.getExtendedFacing()</code></a></div>
|
|
<dl>
|
|
<dt><span class="throwsLabel">Throws:</span></dt>
|
|
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - if is not tile entity or provided a null alignment</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="sendAlignment-com.gtnewhorizon.structurelib.alignment.IAlignmentProvider-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>sendAlignment</h4>
|
|
<pre>public static void sendAlignment(<a href="../../../com/gtnewhorizon/structurelib/alignment/IAlignmentProvider.html" title="interface in com.gtnewhorizon.structurelib.alignment">IAlignmentProvider</a> provider)</pre>
|
|
<div class="block">Send the ExtendedFacing of this Tile Entity to all players. Can be called on server side only.
|
|
<p>
|
|
The receiving tile entity will receive the <a href="../../../com/gtnewhorizon/structurelib/alignment/enumerable/ExtendedFacing.html" title="enum in com.gtnewhorizon.structurelib.alignment.enumerable"><code>ExtendedFacing</code></a> via its <a href="../../../com/gtnewhorizon/structurelib/alignment/IAlignment.html#setExtendedFacing-com.gtnewhorizon.structurelib.alignment.enumerable.ExtendedFacing-"><code>IAlignment.setExtendedFacing(ExtendedFacing)</code></a> method.</div>
|
|
<dl>
|
|
<dt><span class="throwsLabel">Throws:</span></dt>
|
|
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - if is not tile entity or provided a null alignment</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="sendAlignment-com.gtnewhorizon.structurelib.alignment.IAlignmentProvider-net.minecraft.entity.player.EntityPlayerMP-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>sendAlignment</h4>
|
|
<pre>public static void sendAlignment(<a href="../../../com/gtnewhorizon/structurelib/alignment/IAlignmentProvider.html" title="interface in com.gtnewhorizon.structurelib.alignment">IAlignmentProvider</a> provider,
|
|
<a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/net/minecraft/entity/player/EntityPlayerMP.html?is-external=true" title="class or interface in net.minecraft.entity.player">EntityPlayerMP</a> player)</pre>
|
|
<div class="block">Send the ExtendedFacing of this Tile Entity to given player. Can be called on server side only.
|
|
<p>
|
|
The receiving tile entity will receive the <a href="../../../com/gtnewhorizon/structurelib/alignment/enumerable/ExtendedFacing.html" title="enum in com.gtnewhorizon.structurelib.alignment.enumerable"><code>ExtendedFacing</code></a> via its <a href="../../../com/gtnewhorizon/structurelib/alignment/IAlignment.html#setExtendedFacing-com.gtnewhorizon.structurelib.alignment.enumerable.ExtendedFacing-"><code>IAlignment.setExtendedFacing(ExtendedFacing)</code></a> method.</div>
|
|
<dl>
|
|
<dt><span class="throwsLabel">Throws:</span></dt>
|
|
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - if is not tile entity or provided a null alignment</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="sendAlignment-com.gtnewhorizon.structurelib.alignment.IAlignmentProvider-cpw.mods.fml.common.network.NetworkRegistry.TargetPoint-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>sendAlignment</h4>
|
|
<pre>public static void sendAlignment(<a href="../../../com/gtnewhorizon/structurelib/alignment/IAlignmentProvider.html" title="interface in com.gtnewhorizon.structurelib.alignment">IAlignmentProvider</a> provider,
|
|
<a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/cpw/mods/fml/common/network/NetworkRegistry.TargetPoint.html?is-external=true" title="class or interface in cpw.mods.fml.common.network">NetworkRegistry.TargetPoint</a> targetPoint)</pre>
|
|
<div class="block">Send the ExtendedFacing of this Tile Entity to all players around target point. Can be called on server side only.
|
|
<p>
|
|
The receiving tile entity will receive the <a href="../../../com/gtnewhorizon/structurelib/alignment/enumerable/ExtendedFacing.html" title="enum in com.gtnewhorizon.structurelib.alignment.enumerable"><code>ExtendedFacing</code></a> via its <a href="../../../com/gtnewhorizon/structurelib/alignment/IAlignment.html#setExtendedFacing-com.gtnewhorizon.structurelib.alignment.enumerable.ExtendedFacing-"><code>IAlignment.setExtendedFacing(ExtendedFacing)</code></a> method.</div>
|
|
<dl>
|
|
<dt><span class="throwsLabel">Throws:</span></dt>
|
|
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - if is not tile entity or provided a null alignment</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="sendAlignment-com.gtnewhorizon.structurelib.alignment.IAlignmentProvider-net.minecraft.world.World-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>sendAlignment</h4>
|
|
<pre>public static void sendAlignment(<a href="../../../com/gtnewhorizon/structurelib/alignment/IAlignmentProvider.html" title="interface in com.gtnewhorizon.structurelib.alignment">IAlignmentProvider</a> provider,
|
|
<a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/net/minecraft/world/World.html?is-external=true" title="class or interface in net.minecraft.world">World</a> dimension)</pre>
|
|
<div class="block">Send the ExtendedFacing of this Tile Entity to all players in that dimension. Can be called on server side only.
|
|
<p>
|
|
The receiving tile entity will receive the <a href="../../../com/gtnewhorizon/structurelib/alignment/enumerable/ExtendedFacing.html" title="enum in com.gtnewhorizon.structurelib.alignment.enumerable"><code>ExtendedFacing</code></a> via its <a href="../../../com/gtnewhorizon/structurelib/alignment/IAlignment.html#setExtendedFacing-com.gtnewhorizon.structurelib.alignment.enumerable.ExtendedFacing-"><code>IAlignment.setExtendedFacing(ExtendedFacing)</code></a> method.</div>
|
|
<dl>
|
|
<dt><span class="throwsLabel">Throws:</span></dt>
|
|
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - if is not tile entity or provided a null alignment</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getBlockHint--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getBlockHint</h4>
|
|
<pre>public static <a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/net/minecraft/block/Block.html?is-external=true" title="class or interface in net.minecraft.block">Block</a> getBlockHint()</pre>
|
|
<div class="block">Get the Block for StructureLib supplied hint block.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="getItemBlockHint--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getItemBlockHint</h4>
|
|
<pre>public static <a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/net/minecraft/item/Item.html?is-external=true" title="class or interface in net.minecraft.item">Item</a> getItemBlockHint()</pre>
|
|
<div class="block">Get the ItemBlock for StructureLib supplied hint block.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="isDebugEnabled--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isDebugEnabled</h4>
|
|
<pre>public static boolean isDebugEnabled()</pre>
|
|
<div class="block">Check if structure debug mode is on.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>true if debug mode is on</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="setDebugEnabled-boolean-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setDebugEnabled</h4>
|
|
<pre>public static void setDebugEnabled(boolean enabled)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="isBlockTriviallyReplaceable-net.minecraft.world.World-int-int-int-net.minecraft.entity.player.EntityPlayerMP-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isBlockTriviallyReplaceable</h4>
|
|
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
|
|
public static boolean isBlockTriviallyReplaceable(<a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/net/minecraft/world/World.html?is-external=true" title="class or interface in net.minecraft.world">World</a> w,
|
|
int x,
|
|
int y,
|
|
int z,
|
|
<a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/net/minecraft/entity/player/EntityPlayerMP.html?is-external=true" title="class or interface in net.minecraft.entity.player">EntityPlayerMP</a> actor)</pre>
|
|
<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div>
|
|
<div class="block">Determines if given block can be replaced without much effort. The exact predicate clauses is not stable and
|
|
will be changed, but the general idea will always stay the same.
|
|
<p>
|
|
Use this in your <a href="../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html#survivalPlaceBlock-T-net.minecraft.world.World-int-int-int-net.minecraft.item.ItemStack-com.gtnewhorizon.structurelib.structure.AutoPlaceEnvironment-"><code>IStructureElement.survivalPlaceBlock(Object, World, int, int, int, ItemStack, AutoPlaceEnvironment)</code></a></div>
|
|
</li>
|
|
</ul>
|
|
<a name="isBlockTriviallyReplaceable-net.minecraft.world.World-int-int-int-net.minecraft.entity.player.EntityPlayer-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>isBlockTriviallyReplaceable</h4>
|
|
<pre>public static boolean isBlockTriviallyReplaceable(<a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/net/minecraft/world/World.html?is-external=true" title="class or interface in net.minecraft.world">World</a> w,
|
|
int x,
|
|
int y,
|
|
int z,
|
|
<a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/net/minecraft/entity/player/EntityPlayer.html?is-external=true" title="class or interface in net.minecraft.entity.player">EntityPlayer</a> actor)</pre>
|
|
<div class="block">Determines if given block can be replaced without much effort. The exact predicate clauses is not stable and
|
|
will be changed, but the general idea will always stay the same.
|
|
<p>
|
|
Use this in your <a href="../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html#survivalPlaceBlock-T-net.minecraft.world.World-int-int-int-net.minecraft.item.ItemStack-com.gtnewhorizon.structurelib.structure.AutoPlaceEnvironment-"><code>IStructureElement.survivalPlaceBlock(Object, World, int, int, int, ItemStack, AutoPlaceEnvironment)</code></a></div>
|
|
</li>
|
|
</ul>
|
|
<a name="addThrottledChat-java.lang.Object-net.minecraft.entity.player.EntityPlayer-net.minecraft.util.IChatComponent-short-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>addThrottledChat</h4>
|
|
<pre>public static void addThrottledChat(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> throttleKey,
|
|
<a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/net/minecraft/entity/player/EntityPlayer.html?is-external=true" title="class or interface in net.minecraft.entity.player">EntityPlayer</a> player,
|
|
<a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/net/minecraft/util/IChatComponent.html?is-external=true" title="class or interface in net.minecraft.util">IChatComponent</a> text,
|
|
short intervalRequired)</pre>
|
|
<div class="block">Send chat to player, but throttled.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>throttleKey</code> - throttle key. Must properly implement <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang"><code>Object.hashCode()</code></a> and <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang"><code>Object.equals(Object)</code></a>
|
|
to handle value equality.</dd>
|
|
<dd><code>player</code> - player to send chat to</dd>
|
|
<dd><code>text</code> - chat to send</dd>
|
|
<dd><code>intervalRequired</code> - interval required before last recorded time to actually send the message. unit in millisecond.
|
|
we purposefully chose to not use a bigger data type to limit how long this interval can be</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="addThrottledChat-java.lang.Object-net.minecraft.entity.player.EntityPlayer-net.minecraft.util.IChatComponent-short-boolean-">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockListLast">
|
|
<li class="blockList">
|
|
<h4>addThrottledChat</h4>
|
|
<pre>public static void addThrottledChat(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> throttleKey,
|
|
<a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/net/minecraft/entity/player/EntityPlayer.html?is-external=true" title="class or interface in net.minecraft.entity.player">EntityPlayer</a> player,
|
|
<a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/net/minecraft/util/IChatComponent.html?is-external=true" title="class or interface in net.minecraft.util">IChatComponent</a> text,
|
|
short intervalRequired,
|
|
boolean forceUpdateLastSend)</pre>
|
|
<div class="block">Send chat to player, but throttled.</div>
|
|
<dl>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>throttleKey</code> - throttle key. Must properly implement <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang"><code>Object.hashCode()</code></a> and <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang"><code>Object.equals(Object)</code></a>
|
|
to handle value equality.</dd>
|
|
<dd><code>player</code> - player to send chat to</dd>
|
|
<dd><code>text</code> - chat to send</dd>
|
|
<dd><code>intervalRequired</code> - interval required before last recorded time to actually send the message. unit in millisecond.
|
|
we purposefully chose to not use a bigger data type to limit how long this interval can be</dd>
|
|
<dd><code>forceUpdateLastSend</code> - if true, always update the last send time, even if the message isn't actually sent.</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<!-- ========= END OF CLASS DATA ========= -->
|
|
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
|
<div class="bottomNav"><a name="navbar.bottom">
|
|
<!-- -->
|
|
</a>
|
|
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
|
<a name="navbar.bottom.firstrow">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="navList" title="Navigation">
|
|
<li><a href="../../../overview-summary.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>
|
|
<div class="subNav">
|
|
<ul class="navList">
|
|
<li><a href="../../../com/gtnewhorizon/structurelib/StructureEvent.StructureElementVisitedEvent.html" title="class in com.gtnewhorizon.structurelib"><span class="typeNameLink">Prev Class</span></a></li>
|
|
<li>Next Class</li>
|
|
</ul>
|
|
<ul class="navList">
|
|
<li><a href="../../../index.html?com/gtnewhorizon/structurelib/StructureLibAPI.html" target="_top">Frames</a></li>
|
|
<li><a href="StructureLibAPI.html" target="_top">No Frames</a></li>
|
|
</ul>
|
|
<ul class="navList" id="allclasses_navbar_bottom">
|
|
<li><a href="../../../allclasses-noframe.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>
|
|
</div>
|
|
<div>
|
|
<ul class="subNavList">
|
|
<li>Summary: </li>
|
|
<li>Nested | </li>
|
|
<li><a href="#field.summary">Field</a> | </li>
|
|
<li><a href="#constructor.summary">Constr</a> | </li>
|
|
<li><a href="#method.summary">Method</a></li>
|
|
</ul>
|
|
<ul class="subNavList">
|
|
<li>Detail: </li>
|
|
<li><a href="#field.detail">Field</a> | </li>
|
|
<li><a href="#constructor.detail">Constr</a> | </li>
|
|
<li><a href="#method.detail">Method</a></li>
|
|
</ul>
|
|
</div>
|
|
<a name="skip.navbar.bottom">
|
|
<!-- -->
|
|
</a></div>
|
|
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
|
</body>
|
|
</html>
|