mirror of
https://github.com/GTNewHorizons/StructureLib.git
synced 2026-11-12 00:07:27 +00:00
Deploy javadoc from ref master
This commit is contained in:
1 parent
5e93766455
commit
df9f9fe613
87 files changed
+3703
-428
No files matched your search
@@ -3,7 +3,7 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc -->
|
||||
<title>All Classes (StructureLib 1.7.10-1.1.12 API)</title>
|
||||
<title>All Classes (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>
|
||||
@@ -12,6 +12,8 @@
|
||||
<div class="indexContainer">
|
||||
<ul>
|
||||
<li><a href="com/gtnewhorizon/structurelib/alignment/AlignmentUtility.html" title="class in com.gtnewhorizon.structurelib.alignment" target="classFrame">AlignmentUtility</a></li>
|
||||
<li><a href="com/gtnewhorizon/structurelib/structure/AutoPlaceEnvironment.html" title="class in com.gtnewhorizon.structurelib.structure" target="classFrame">AutoPlaceEnvironment</a></li>
|
||||
<li><a href="com/gtnewhorizon/structurelib/structure/AutoPlaceEnvironment.APILevel.html" title="enum in com.gtnewhorizon.structurelib.structure" target="classFrame">AutoPlaceEnvironment.APILevel</a></li>
|
||||
<li><a href="com/gtnewhorizon/structurelib/alignment/constructable/ChannelDataAccessor.html" title="class in com.gtnewhorizon.structurelib.alignment.constructable" target="classFrame">ChannelDataAccessor</a></li>
|
||||
<li><a href="com/gtnewhorizon/structurelib/alignment/constructable/ConstructableUtility.html" title="class in com.gtnewhorizon.structurelib.alignment.constructable" target="classFrame">ConstructableUtility</a></li>
|
||||
<li><a href="com/gtnewhorizon/structurelib/alignment/enumerable/Direction.html" title="enum in com.gtnewhorizon.structurelib.alignment.enumerable" target="classFrame">Direction</a></li>
|
||||
@@ -39,12 +41,13 @@
|
||||
<li><a href="com/gtnewhorizon/structurelib/structure/ISpecialItemBlock.html" title="interface in com.gtnewhorizon.structurelib.structure" target="classFrame"><span class="interfaceName">ISpecialItemBlock</span></a></li>
|
||||
<li><a href="com/gtnewhorizon/structurelib/structure/IStructureDefinition.html" title="interface in com.gtnewhorizon.structurelib.structure" target="classFrame"><span class="interfaceName">IStructureDefinition</span></a></li>
|
||||
<li><a href="com/gtnewhorizon/structurelib/structure/IStructureElement.html" title="interface in com.gtnewhorizon.structurelib.structure" target="classFrame"><span class="interfaceName">IStructureElement</span></a></li>
|
||||
<li><a href="com/gtnewhorizon/structurelib/structure/IStructureElement.BlocksToPlace.html" title="class in com.gtnewhorizon.structurelib.structure" target="classFrame">IStructureElement.BlocksToPlace</a></li>
|
||||
<li><a href="com/gtnewhorizon/structurelib/structure/IStructureElement.PlaceResult.html" title="enum in com.gtnewhorizon.structurelib.structure" target="classFrame">IStructureElement.PlaceResult</a></li>
|
||||
<li><a href="com/gtnewhorizon/structurelib/structure/IStructureElementChain.html" title="interface in com.gtnewhorizon.structurelib.structure" target="classFrame"><span class="interfaceName">IStructureElementChain</span></a></li>
|
||||
<li><a href="com/gtnewhorizon/structurelib/structure/IStructureElementCheckOnly.html" title="interface in com.gtnewhorizon.structurelib.structure" target="classFrame"><span class="interfaceName">IStructureElementCheckOnly</span></a></li>
|
||||
<li><a href="com/gtnewhorizon/structurelib/structure/IStructureElementDeferred.html" title="interface in com.gtnewhorizon.structurelib.structure" target="classFrame"><span class="interfaceName">IStructureElementDeferred</span></a></li>
|
||||
<li><a href="com/gtnewhorizon/structurelib/structure/IStructureElementNoPlacement.html" title="interface in com.gtnewhorizon.structurelib.structure" target="classFrame"><span class="interfaceName">IStructureElementNoPlacement</span></a></li>
|
||||
<li><a href="com/gtnewhorizon/structurelib/structure/IStructureWalker.html" title="interface in com.gtnewhorizon.structurelib.structure" target="classFrame"><span class="interfaceName">IStructureWalker</span></a></li>
|
||||
<li><a href="com/gtnewhorizon/structurelib/structure/ISurvivalBuildEnvironment.html" title="interface in com.gtnewhorizon.structurelib.structure" target="classFrame"><span class="interfaceName">ISurvivalBuildEnvironment</span></a></li>
|
||||
<li><a href="com/gtnewhorizon/structurelib/alignment/constructable/ISurvivalConstructable.html" title="interface in com.gtnewhorizon.structurelib.alignment.constructable" target="classFrame"><span class="interfaceName">ISurvivalConstructable</span></a></li>
|
||||
<li><a href="com/gtnewhorizon/structurelib/util/ItemStackArrayIterable.html" title="class in com.gtnewhorizon.structurelib.util" target="classFrame">ItemStackArrayIterable</a></li>
|
||||
<li><a href="com/gtnewhorizon/structurelib/util/ItemStackPredicate.html" title="class in com.gtnewhorizon.structurelib.util" target="classFrame">ItemStackPredicate</a></li>
|
||||
@@ -57,6 +60,8 @@
|
||||
<li><a href="com/gtnewhorizon/structurelib/util/SortedRegistry.html" title="class in com.gtnewhorizon.structurelib.util" target="classFrame">SortedRegistry</a></li>
|
||||
<li><a href="com/gtnewhorizon/structurelib/structure/StructureDefinition.html" title="class in com.gtnewhorizon.structurelib.structure" target="classFrame">StructureDefinition</a></li>
|
||||
<li><a href="com/gtnewhorizon/structurelib/structure/StructureDefinition.Builder.html" title="class in com.gtnewhorizon.structurelib.structure" target="classFrame">StructureDefinition.Builder</a></li>
|
||||
<li><a href="com/gtnewhorizon/structurelib/StructureEvent.html" title="class in com.gtnewhorizon.structurelib" target="classFrame">StructureEvent</a></li>
|
||||
<li><a href="com/gtnewhorizon/structurelib/StructureEvent.StructureElementVisitedEvent.html" title="class in com.gtnewhorizon.structurelib" target="classFrame">StructureEvent.StructureElementVisitedEvent</a></li>
|
||||
<li><a href="com/gtnewhorizon/structurelib/StructureLibAPI.html" title="class in com.gtnewhorizon.structurelib" target="classFrame">StructureLibAPI</a></li>
|
||||
<li><a href="com/gtnewhorizon/structurelib/structure/StructureUtility.html" title="class in com.gtnewhorizon.structurelib.structure" target="classFrame">StructureUtility</a></li>
|
||||
<li><a href="com/gtnewhorizon/structurelib/util/Vec3Impl.html" title="class in com.gtnewhorizon.structurelib.util" target="classFrame">Vec3Impl</a></li>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc -->
|
||||
<title>All Classes (StructureLib 1.7.10-1.1.12 API)</title>
|
||||
<title>All Classes (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>
|
||||
@@ -12,6 +12,8 @@
|
||||
<div class="indexContainer">
|
||||
<ul>
|
||||
<li><a href="com/gtnewhorizon/structurelib/alignment/AlignmentUtility.html" title="class in com.gtnewhorizon.structurelib.alignment">AlignmentUtility</a></li>
|
||||
<li><a href="com/gtnewhorizon/structurelib/structure/AutoPlaceEnvironment.html" title="class in com.gtnewhorizon.structurelib.structure">AutoPlaceEnvironment</a></li>
|
||||
<li><a href="com/gtnewhorizon/structurelib/structure/AutoPlaceEnvironment.APILevel.html" title="enum in com.gtnewhorizon.structurelib.structure">AutoPlaceEnvironment.APILevel</a></li>
|
||||
<li><a href="com/gtnewhorizon/structurelib/alignment/constructable/ChannelDataAccessor.html" title="class in com.gtnewhorizon.structurelib.alignment.constructable">ChannelDataAccessor</a></li>
|
||||
<li><a href="com/gtnewhorizon/structurelib/alignment/constructable/ConstructableUtility.html" title="class in com.gtnewhorizon.structurelib.alignment.constructable">ConstructableUtility</a></li>
|
||||
<li><a href="com/gtnewhorizon/structurelib/alignment/enumerable/Direction.html" title="enum in com.gtnewhorizon.structurelib.alignment.enumerable">Direction</a></li>
|
||||
@@ -39,12 +41,13 @@
|
||||
<li><a href="com/gtnewhorizon/structurelib/structure/ISpecialItemBlock.html" title="interface in com.gtnewhorizon.structurelib.structure"><span class="interfaceName">ISpecialItemBlock</span></a></li>
|
||||
<li><a href="com/gtnewhorizon/structurelib/structure/IStructureDefinition.html" title="interface in com.gtnewhorizon.structurelib.structure"><span class="interfaceName">IStructureDefinition</span></a></li>
|
||||
<li><a href="com/gtnewhorizon/structurelib/structure/IStructureElement.html" title="interface in com.gtnewhorizon.structurelib.structure"><span class="interfaceName">IStructureElement</span></a></li>
|
||||
<li><a href="com/gtnewhorizon/structurelib/structure/IStructureElement.BlocksToPlace.html" title="class in com.gtnewhorizon.structurelib.structure">IStructureElement.BlocksToPlace</a></li>
|
||||
<li><a href="com/gtnewhorizon/structurelib/structure/IStructureElement.PlaceResult.html" title="enum in com.gtnewhorizon.structurelib.structure">IStructureElement.PlaceResult</a></li>
|
||||
<li><a href="com/gtnewhorizon/structurelib/structure/IStructureElementChain.html" title="interface in com.gtnewhorizon.structurelib.structure"><span class="interfaceName">IStructureElementChain</span></a></li>
|
||||
<li><a href="com/gtnewhorizon/structurelib/structure/IStructureElementCheckOnly.html" title="interface in com.gtnewhorizon.structurelib.structure"><span class="interfaceName">IStructureElementCheckOnly</span></a></li>
|
||||
<li><a href="com/gtnewhorizon/structurelib/structure/IStructureElementDeferred.html" title="interface in com.gtnewhorizon.structurelib.structure"><span class="interfaceName">IStructureElementDeferred</span></a></li>
|
||||
<li><a href="com/gtnewhorizon/structurelib/structure/IStructureElementNoPlacement.html" title="interface in com.gtnewhorizon.structurelib.structure"><span class="interfaceName">IStructureElementNoPlacement</span></a></li>
|
||||
<li><a href="com/gtnewhorizon/structurelib/structure/IStructureWalker.html" title="interface in com.gtnewhorizon.structurelib.structure"><span class="interfaceName">IStructureWalker</span></a></li>
|
||||
<li><a href="com/gtnewhorizon/structurelib/structure/ISurvivalBuildEnvironment.html" title="interface in com.gtnewhorizon.structurelib.structure"><span class="interfaceName">ISurvivalBuildEnvironment</span></a></li>
|
||||
<li><a href="com/gtnewhorizon/structurelib/alignment/constructable/ISurvivalConstructable.html" title="interface in com.gtnewhorizon.structurelib.alignment.constructable"><span class="interfaceName">ISurvivalConstructable</span></a></li>
|
||||
<li><a href="com/gtnewhorizon/structurelib/util/ItemStackArrayIterable.html" title="class in com.gtnewhorizon.structurelib.util">ItemStackArrayIterable</a></li>
|
||||
<li><a href="com/gtnewhorizon/structurelib/util/ItemStackPredicate.html" title="class in com.gtnewhorizon.structurelib.util">ItemStackPredicate</a></li>
|
||||
@@ -57,6 +60,8 @@
|
||||
<li><a href="com/gtnewhorizon/structurelib/util/SortedRegistry.html" title="class in com.gtnewhorizon.structurelib.util">SortedRegistry</a></li>
|
||||
<li><a href="com/gtnewhorizon/structurelib/structure/StructureDefinition.html" title="class in com.gtnewhorizon.structurelib.structure">StructureDefinition</a></li>
|
||||
<li><a href="com/gtnewhorizon/structurelib/structure/StructureDefinition.Builder.html" title="class in com.gtnewhorizon.structurelib.structure">StructureDefinition.Builder</a></li>
|
||||
<li><a href="com/gtnewhorizon/structurelib/StructureEvent.html" title="class in com.gtnewhorizon.structurelib">StructureEvent</a></li>
|
||||
<li><a href="com/gtnewhorizon/structurelib/StructureEvent.StructureElementVisitedEvent.html" title="class in com.gtnewhorizon.structurelib">StructureEvent.StructureElementVisitedEvent</a></li>
|
||||
<li><a href="com/gtnewhorizon/structurelib/StructureLibAPI.html" title="class in com.gtnewhorizon.structurelib">StructureLibAPI</a></li>
|
||||
<li><a href="com/gtnewhorizon/structurelib/structure/StructureUtility.html" title="class in com.gtnewhorizon.structurelib.structure">StructureUtility</a></li>
|
||||
<li><a href="com/gtnewhorizon/structurelib/util/Vec3Impl.html" title="class in com.gtnewhorizon.structurelib.util">Vec3Impl</a></li>
|
||||
|
||||
+457
@@ -0,0 +1,457 @@
|
||||
<!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>StructureEvent.StructureElementVisitedEvent (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="StructureEvent.StructureElementVisitedEvent (StructureLib 1.7.10-1.1.12-15-g978938d API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
var methods = {"i0":9,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10};
|
||||
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete 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.html" title="class in com.gtnewhorizon.structurelib"><span class="typeNameLink">Prev Class</span></a></li>
|
||||
<li><a href="../../../com/gtnewhorizon/structurelib/StructureLibAPI.html" title="class in com.gtnewhorizon.structurelib"><span class="typeNameLink">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../index.html?com/gtnewhorizon/structurelib/StructureEvent.StructureElementVisitedEvent.html" target="_top">Frames</a></li>
|
||||
<li><a href="StructureEvent.StructureElementVisitedEvent.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><a href="#nested.classes.inherited.from.class.com.gtnewhorizon.structurelib.StructureEvent">Nested</a> | </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 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 StructureEvent.StructureElementVisitedEvent" class="title">Class StructureEvent.StructureElementVisitedEvent</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><a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/cpw/mods/fml/common/eventhandler/Event.html?is-external=true" title="class or interface in cpw.mods.fml.common.eventhandler">cpw.mods.fml.common.eventhandler.Event</a></li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li><a href="../../../com/gtnewhorizon/structurelib/StructureEvent.html" title="class in com.gtnewhorizon.structurelib">com.gtnewhorizon.structurelib.StructureEvent</a></li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>com.gtnewhorizon.structurelib.StructureEvent.StructureElementVisitedEvent</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<dl>
|
||||
<dt>Enclosing class:</dt>
|
||||
<dd><a href="../../../com/gtnewhorizon/structurelib/StructureEvent.html" title="class in com.gtnewhorizon.structurelib">StructureEvent</a></dd>
|
||||
</dl>
|
||||
<hr>
|
||||
<br>
|
||||
<pre>public static final class <span class="typeNameLabel">StructureEvent.StructureElementVisitedEvent</span>
|
||||
extends <a href="../../../com/gtnewhorizon/structurelib/StructureEvent.html" title="class in com.gtnewhorizon.structurelib">StructureEvent</a></pre>
|
||||
<div class="block">Fired <b>just before</b> any structure element is visited.</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ======== NESTED CLASS SUMMARY ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="nested.class.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Nested Class Summary</h3>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="nested.classes.inherited.from.class.com.gtnewhorizon.structurelib.StructureEvent">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Nested classes/interfaces inherited from class com.gtnewhorizon.structurelib.<a href="../../../com/gtnewhorizon/structurelib/StructureEvent.html" title="class in com.gtnewhorizon.structurelib">StructureEvent</a></h3>
|
||||
<code><a href="../../../com/gtnewhorizon/structurelib/StructureEvent.StructureElementVisitedEvent.html" title="class in com.gtnewhorizon.structurelib">StructureEvent.StructureElementVisitedEvent</a></code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="nested.classes.inherited.from.class.cpw.mods.fml.common.eventhandler.Event">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Nested classes/interfaces inherited from class cpw.mods.fml.common.eventhandler.<a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/cpw/mods/fml/common/eventhandler/Event.html?is-external=true" title="class or interface in cpw.mods.fml.common.eventhandler">Event</a></h3>
|
||||
<code><a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/cpw/mods/fml/common/eventhandler/Event.HasResult.html?is-external=true" title="class or interface in cpw.mods.fml.common.eventhandler">Event.HasResult</a>, <a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/cpw/mods/fml/common/eventhandler/Event.Result.html?is-external=true" title="class or interface in cpw.mods.fml.common.eventhandler">Event.Result</a></code></li>
|
||||
</ul>
|
||||
</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="t2" class="tableTab"><span><a href="javascript:show(2);">Instance 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></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/StructureEvent.StructureElementVisitedEvent.html#fireEvent-net.minecraft.world.World-int-int-int-int-int-int-com.gtnewhorizon.structurelib.structure.IStructureElement-">fireEvent</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> world,
|
||||
int x,
|
||||
int y,
|
||||
int z,
|
||||
int a,
|
||||
int b,
|
||||
int c,
|
||||
<a href="../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html" title="interface in com.gtnewhorizon.structurelib.structure">IStructureElement</a><?> element)</code>
|
||||
<div class="block">Fire this event on <code>MinecraftForge.EVENT_BUS</code> by populating it with given arguments.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i1" class="rowColor">
|
||||
<td class="colFirst"><code>int</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/gtnewhorizon/structurelib/StructureEvent.StructureElementVisitedEvent.html#getA--">getA</a></span>()</code>
|
||||
<div class="block">A position in ABC coordinate, relative to (0,0,0) in the piece, i.e.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i2" class="altColor">
|
||||
<td class="colFirst"><code>int</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/gtnewhorizon/structurelib/StructureEvent.StructureElementVisitedEvent.html#getB--">getB</a></span>()</code>
|
||||
<div class="block">B position in ABC coordinate, relative to (0,0,0) in the piece, i.e.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i3" class="rowColor">
|
||||
<td class="colFirst"><code>int</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/gtnewhorizon/structurelib/StructureEvent.StructureElementVisitedEvent.html#getC--">getC</a></span>()</code>
|
||||
<div class="block">C position in ABC coordinate, relative to (0,0,0) in the piece, i.e.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i4" class="altColor">
|
||||
<td class="colFirst"><code><a href="../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html" title="interface in com.gtnewhorizon.structurelib.structure">IStructureElement</a><?></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/gtnewhorizon/structurelib/StructureEvent.StructureElementVisitedEvent.html#getElement--">getElement</a></span>()</code>
|
||||
<div class="block">Element being visited.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i5" class="rowColor">
|
||||
<td class="colFirst"><code><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></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/gtnewhorizon/structurelib/StructureEvent.StructureElementVisitedEvent.html#getWorld--">getWorld</a></span>()</code>
|
||||
<div class="block">Location of this event.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i6" class="altColor">
|
||||
<td class="colFirst"><code>int</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/gtnewhorizon/structurelib/StructureEvent.StructureElementVisitedEvent.html#getX--">getX</a></span>()</code>
|
||||
<div class="block">Location of this event.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i7" class="rowColor">
|
||||
<td class="colFirst"><code>int</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/gtnewhorizon/structurelib/StructureEvent.StructureElementVisitedEvent.html#getY--">getY</a></span>()</code>
|
||||
<div class="block">Location of this event.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i8" class="altColor">
|
||||
<td class="colFirst"><code>int</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/gtnewhorizon/structurelib/StructureEvent.StructureElementVisitedEvent.html#getZ--">getZ</a></span>()</code>
|
||||
<div class="block">Location of this event.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i9" class="rowColor">
|
||||
<td class="colFirst"><code><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/StructureEvent.StructureElementVisitedEvent.html#toString--">toString</a></span>()</code> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.com.gtnewhorizon.structurelib.StructureEvent">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class com.gtnewhorizon.structurelib.<a href="../../../com/gtnewhorizon/structurelib/StructureEvent.html" title="class in com.gtnewhorizon.structurelib">StructureEvent</a></h3>
|
||||
<code><a href="../../../com/gtnewhorizon/structurelib/StructureEvent.html#getInstrumentIdentifier--">getInstrumentIdentifier</a></code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.cpw.mods.fml.common.eventhandler.Event">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class cpw.mods.fml.common.eventhandler.<a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/cpw/mods/fml/common/eventhandler/Event.html?is-external=true" title="class or interface in cpw.mods.fml.common.eventhandler">Event</a></h3>
|
||||
<code><a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/cpw/mods/fml/common/eventhandler/Event.html?is-external=true#getListenerList--" title="class or interface in cpw.mods.fml.common.eventhandler">getListenerList</a>, <a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/cpw/mods/fml/common/eventhandler/Event.html?is-external=true#getPhase--" title="class or interface in cpw.mods.fml.common.eventhandler">getPhase</a>, <a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/cpw/mods/fml/common/eventhandler/Event.html?is-external=true#getResult--" title="class or interface in cpw.mods.fml.common.eventhandler">getResult</a>, <a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/cpw/mods/fml/common/eventhandler/Event.html?is-external=true#hasResult--" title="class or interface in cpw.mods.fml.common.eventhandler">hasResult</a>, <a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/cpw/mods/fml/common/eventhandler/Event.html?is-external=true#isCancelable--" title="class or interface in cpw.mods.fml.common.eventhandler">isCancelable</a>, <a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/cpw/mods/fml/common/eventhandler/Event.html?is-external=true#isCanceled--" title="class or interface in cpw.mods.fml.common.eventhandler">isCanceled</a>, <a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/cpw/mods/fml/common/eventhandler/Event.html?is-external=true#setCanceled-boolean-" title="class or interface in cpw.mods.fml.common.eventhandler">setCanceled</a>, <a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/cpw/mods/fml/common/eventhandler/Event.html?is-external=true#setPhase-cpw.mods.fml.common.eventhandler.EventPriority-" title="class or interface in cpw.mods.fml.common.eventhandler">setPhase</a>, <a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/cpw/mods/fml/common/eventhandler/Event.html?is-external=true#setResult-cpw.mods.fml.common.eventhandler.Event.Result-" title="class or interface in cpw.mods.fml.common.eventhandler">setResult</a>, <a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/cpw/mods/fml/common/eventhandler/Event.html?is-external=true#setup--" title="class or interface in cpw.mods.fml.common.eventhandler">setup</a></code></li>
|
||||
</ul>
|
||||
<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#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">
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Detail</h3>
|
||||
<a name="fireEvent-net.minecraft.world.World-int-int-int-int-int-int-com.gtnewhorizon.structurelib.structure.IStructureElement-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>fireEvent</h4>
|
||||
<pre>public static void fireEvent(<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> world,
|
||||
int x,
|
||||
int y,
|
||||
int z,
|
||||
int a,
|
||||
int b,
|
||||
int c,
|
||||
<a href="../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html" title="interface in com.gtnewhorizon.structurelib.structure">IStructureElement</a><?> element)</pre>
|
||||
<div class="block">Fire this event on <code>MinecraftForge.EVENT_BUS</code> by populating it with given arguments.
|
||||
Do nothing if instrumenting isn't enabled for current thread.
|
||||
<p>
|
||||
Any <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang"><code>Exception</code></a> thrown by event listeners will be logged and ignored. <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Error.html?is-external=true" title="class or interface in java.lang"><code>Error</code></a> will be propagated
|
||||
as is.</div>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="getA--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getA</h4>
|
||||
<pre>public int getA()</pre>
|
||||
<div class="block">A position in ABC coordinate, relative to (0,0,0) in the piece, i.e. without baseOffset
|
||||
<p>
|
||||
Submit a feature request if you need the baseOffset.</div>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="getB--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getB</h4>
|
||||
<pre>public int getB()</pre>
|
||||
<div class="block">B position in ABC coordinate, relative to (0,0,0) in the piece, i.e. without baseOffset
|
||||
<p>
|
||||
Submit a feature request if you need the baseOffset.</div>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="getC--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getC</h4>
|
||||
<pre>public int getC()</pre>
|
||||
<div class="block">C position in ABC coordinate, relative to (0,0,0) in the piece, i.e. without baseOffset
|
||||
<p>
|
||||
Submit a feature request if you need the baseOffset.</div>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="getElement--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getElement</h4>
|
||||
<pre>public <a href="../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html" title="interface in com.gtnewhorizon.structurelib.structure">IStructureElement</a><?> getElement()</pre>
|
||||
<div class="block">Element being visited.</div>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="toString--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>toString</h4>
|
||||
<pre>public <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> toString()</pre>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
||||
<dd><code><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></code> in class <code><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></code></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="getWorld--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getWorld</h4>
|
||||
<pre>public <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> getWorld()</pre>
|
||||
<div class="block">Location of this event.</div>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="getX--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getX</h4>
|
||||
<pre>public int getX()</pre>
|
||||
<div class="block">Location of this event. Absolute world coordinate.</div>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="getY--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getY</h4>
|
||||
<pre>public int getY()</pre>
|
||||
<div class="block">Location of this event. Absolute world coordinate.</div>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="getZ--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>getZ</h4>
|
||||
<pre>public int getZ()</pre>
|
||||
<div class="block">Location of this event. Absolute world coordinate.</div>
|
||||
</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.html" title="class in com.gtnewhorizon.structurelib"><span class="typeNameLink">Prev Class</span></a></li>
|
||||
<li><a href="../../../com/gtnewhorizon/structurelib/StructureLibAPI.html" title="class in com.gtnewhorizon.structurelib"><span class="typeNameLink">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../index.html?com/gtnewhorizon/structurelib/StructureEvent.StructureElementVisitedEvent.html" target="_top">Frames</a></li>
|
||||
<li><a href="StructureEvent.StructureElementVisitedEvent.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><a href="#nested.classes.inherited.from.class.com.gtnewhorizon.structurelib.StructureEvent">Nested</a> | </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 name="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,290 @@
|
||||
<!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>StructureEvent (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="StructureEvent (StructureLib 1.7.10-1.1.12-15-g978938d API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
var methods = {"i0":10};
|
||||
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete 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>Prev Class</li>
|
||||
<li><a href="../../../com/gtnewhorizon/structurelib/StructureEvent.StructureElementVisitedEvent.html" title="class in com.gtnewhorizon.structurelib"><span class="typeNameLink">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../index.html?com/gtnewhorizon/structurelib/StructureEvent.html" target="_top">Frames</a></li>
|
||||
<li><a href="StructureEvent.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><a href="#nested.class.summary">Nested</a> | </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 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 StructureEvent" class="title">Class StructureEvent</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><a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/cpw/mods/fml/common/eventhandler/Event.html?is-external=true" title="class or interface in cpw.mods.fml.common.eventhandler">cpw.mods.fml.common.eventhandler.Event</a></li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>com.gtnewhorizon.structurelib.StructureEvent</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<dl>
|
||||
<dt>Direct Known Subclasses:</dt>
|
||||
<dd><a href="../../../com/gtnewhorizon/structurelib/StructureEvent.StructureElementVisitedEvent.html" title="class in com.gtnewhorizon.structurelib">StructureEvent.StructureElementVisitedEvent</a></dd>
|
||||
</dl>
|
||||
<hr>
|
||||
<br>
|
||||
<pre>public abstract class <span class="typeNameLabel">StructureEvent</span>
|
||||
extends <a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/cpw/mods/fml/common/eventhandler/Event.html?is-external=true" title="class or interface in cpw.mods.fml.common.eventhandler">Event</a></pre>
|
||||
<div class="block">Subscribers are <b>required</b> to not keep reference to these events, nor to depend on values of these events after
|
||||
the method call returns.
|
||||
<p>
|
||||
All of these events will be fired on the <code>MinecraftForge.EVENT_BUS</code>, if they are
|
||||
enabled by <a href="../../../com/gtnewhorizon/structurelib/StructureLibAPI.html#enableInstrument-java.lang.Object-"><code>StructureLibAPI.enableInstrument(Object)</code></a>.
|
||||
<p>
|
||||
All public stuff in this class and its enclosed classes are considered part of the public API.
|
||||
Backwards compatibility is maintained to the maximum extend possible.</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ======== NESTED CLASS SUMMARY ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="nested.class.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Nested Class Summary</h3>
|
||||
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation">
|
||||
<caption><span>Nested Classes</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colLast" scope="col">Class and Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>static class </code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/gtnewhorizon/structurelib/StructureEvent.StructureElementVisitedEvent.html" title="class in com.gtnewhorizon.structurelib">StructureEvent.StructureElementVisitedEvent</a></span></code>
|
||||
<div class="block">Fired <b>just before</b> any structure element is visited.</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="nested.classes.inherited.from.class.cpw.mods.fml.common.eventhandler.Event">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Nested classes/interfaces inherited from class cpw.mods.fml.common.eventhandler.<a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/cpw/mods/fml/common/eventhandler/Event.html?is-external=true" title="class or interface in cpw.mods.fml.common.eventhandler">Event</a></h3>
|
||||
<code><a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/cpw/mods/fml/common/eventhandler/Event.HasResult.html?is-external=true" title="class or interface in cpw.mods.fml.common.eventhandler">Event.HasResult</a>, <a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/cpw/mods/fml/common/eventhandler/Event.Result.html?is-external=true" title="class or interface in cpw.mods.fml.common.eventhandler">Event.Result</a></code></li>
|
||||
</ul>
|
||||
</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="t2" class="tableTab"><span><a href="javascript:show(2);">Instance 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></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><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></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/gtnewhorizon/structurelib/StructureEvent.html#getInstrumentIdentifier--">getInstrumentIdentifier</a></span>()</code>
|
||||
<div class="block">The instrument identifier.</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.cpw.mods.fml.common.eventhandler.Event">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class cpw.mods.fml.common.eventhandler.<a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/cpw/mods/fml/common/eventhandler/Event.html?is-external=true" title="class or interface in cpw.mods.fml.common.eventhandler">Event</a></h3>
|
||||
<code><a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/cpw/mods/fml/common/eventhandler/Event.html?is-external=true#getListenerList--" title="class or interface in cpw.mods.fml.common.eventhandler">getListenerList</a>, <a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/cpw/mods/fml/common/eventhandler/Event.html?is-external=true#getPhase--" title="class or interface in cpw.mods.fml.common.eventhandler">getPhase</a>, <a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/cpw/mods/fml/common/eventhandler/Event.html?is-external=true#getResult--" title="class or interface in cpw.mods.fml.common.eventhandler">getResult</a>, <a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/cpw/mods/fml/common/eventhandler/Event.html?is-external=true#hasResult--" title="class or interface in cpw.mods.fml.common.eventhandler">hasResult</a>, <a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/cpw/mods/fml/common/eventhandler/Event.html?is-external=true#isCancelable--" title="class or interface in cpw.mods.fml.common.eventhandler">isCancelable</a>, <a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/cpw/mods/fml/common/eventhandler/Event.html?is-external=true#isCanceled--" title="class or interface in cpw.mods.fml.common.eventhandler">isCanceled</a>, <a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/cpw/mods/fml/common/eventhandler/Event.html?is-external=true#setCanceled-boolean-" title="class or interface in cpw.mods.fml.common.eventhandler">setCanceled</a>, <a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/cpw/mods/fml/common/eventhandler/Event.html?is-external=true#setPhase-cpw.mods.fml.common.eventhandler.EventPriority-" title="class or interface in cpw.mods.fml.common.eventhandler">setPhase</a>, <a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/cpw/mods/fml/common/eventhandler/Event.html?is-external=true#setResult-cpw.mods.fml.common.eventhandler.Event.Result-" title="class or interface in cpw.mods.fml.common.eventhandler">setResult</a>, <a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/cpw/mods/fml/common/eventhandler/Event.html?is-external=true#setup--" title="class or interface in cpw.mods.fml.common.eventhandler">setup</a></code></li>
|
||||
</ul>
|
||||
<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">
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Detail</h3>
|
||||
<a name="getInstrumentIdentifier--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>getInstrumentIdentifier</h4>
|
||||
<pre>public <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> getInstrumentIdentifier()</pre>
|
||||
<div class="block">The instrument identifier. Subscribers should filter by these identifiers to prevent listening to a structure
|
||||
event for other people.</div>
|
||||
</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>Prev Class</li>
|
||||
<li><a href="../../../com/gtnewhorizon/structurelib/StructureEvent.StructureElementVisitedEvent.html" title="class in com.gtnewhorizon.structurelib"><span class="typeNameLink">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../index.html?com/gtnewhorizon/structurelib/StructureEvent.html" target="_top">Frames</a></li>
|
||||
<li><a href="StructureEvent.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><a href="#nested.class.summary">Nested</a> | </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 name="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</body>
|
||||
</html>
|
||||
@@ -3,7 +3,7 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc -->
|
||||
<title>StructureLibAPI (StructureLib 1.7.10-1.1.12 API)</title>
|
||||
<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>
|
||||
@@ -11,14 +11,14 @@
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="StructureLibAPI (StructureLib 1.7.10-1.1.12 API)";
|
||||
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":9,"i13":9,"i14":9,"i15":9,"i16":9,"i17":9,"i18":9,"i19":9};
|
||||
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"]};
|
||||
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";
|
||||
@@ -47,7 +47,7 @@ var activeTableTab = "activeTableTab";
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev Class</li>
|
||||
<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">
|
||||
@@ -223,7 +223,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html
|
||||
</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></caption>
|
||||
<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>
|
||||
@@ -249,23 +249,35 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html
|
||||
</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="i3" class="rowColor">
|
||||
<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="i4" class="altColor">
|
||||
<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="i5" class="rowColor">
|
||||
<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,
|
||||
@@ -276,7 +288,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html
|
||||
<div class="block">Generate a new hint particle on client side at given location using textures from given block.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i6" class="altColor">
|
||||
<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,
|
||||
@@ -286,7 +298,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html
|
||||
<div class="block">Generate a new hint particle on client side at given location using given textures.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i7" class="rowColor">
|
||||
<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,
|
||||
@@ -298,7 +310,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html
|
||||
<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="i8" class="altColor">
|
||||
<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,
|
||||
@@ -309,23 +321,39 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html
|
||||
<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="i9" class="rowColor">
|
||||
<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">Determines if given block can be replaced without much effort.</div>
|
||||
<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i10" class="altColor">
|
||||
<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="i11" class="rowColor">
|
||||
<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,
|
||||
@@ -335,50 +363,50 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html
|
||||
<div class="block">Update the tint of given hint particle.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i12" class="altColor">
|
||||
<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="i13" class="rowColor">
|
||||
<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="i14" class="altColor">
|
||||
<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="i15" class="rowColor">
|
||||
<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="i16" class="altColor">
|
||||
<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="i17" class="rowColor">
|
||||
<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="i18" class="altColor">
|
||||
<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="i19" class="rowColor">
|
||||
<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,
|
||||
@@ -657,6 +685,68 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html
|
||||
<!-- -->
|
||||
</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>
|
||||
@@ -789,7 +879,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html
|
||||
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>
|
||||
@@ -952,15 +1042,34 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html
|
||||
<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/EntityPlayerMP.html?is-external=true" title="class or interface in net.minecraft.entity.player">EntityPlayerMP</a> actor)</pre>
|
||||
<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.IItemSource-net.minecraft.entity.player.EntityPlayerMP-java.util.function.Consumer-"><code>IStructureElement.survivalPlaceBlock(Object, World, int, int, int, ItemStack, IItemSource, EntityPlayerMP, java.util.function.Consumer)</code></a></div>
|
||||
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-">
|
||||
@@ -977,7 +1086,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html
|
||||
<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>
|
||||
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.
|
||||
@@ -1000,11 +1109,11 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html
|
||||
<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>
|
||||
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>
|
||||
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>
|
||||
@@ -1036,7 +1145,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev Class</li>
|
||||
<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">
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc -->
|
||||
<title>AlignmentUtility (StructureLib 1.7.10-1.1.12 API)</title>
|
||||
<title>AlignmentUtility (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>
|
||||
@@ -11,7 +11,7 @@
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="AlignmentUtility (StructureLib 1.7.10-1.1.12 API)";
|
||||
parent.document.title="AlignmentUtility (StructureLib 1.7.10-1.1.12-15-g978938d API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc -->
|
||||
<title>IAlignment (StructureLib 1.7.10-1.1.12 API)</title>
|
||||
<title>IAlignment (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>
|
||||
@@ -11,7 +11,7 @@
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="IAlignment (StructureLib 1.7.10-1.1.12 API)";
|
||||
parent.document.title="IAlignment (StructureLib 1.7.10-1.1.12-15-g978938d API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
|
||||
+2
-2
@@ -3,7 +3,7 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc -->
|
||||
<title>IAlignmentLimits.Builder (StructureLib 1.7.10-1.1.12 API)</title>
|
||||
<title>IAlignmentLimits.Builder (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>
|
||||
@@ -11,7 +11,7 @@
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="IAlignmentLimits.Builder (StructureLib 1.7.10-1.1.12 API)";
|
||||
parent.document.title="IAlignmentLimits.Builder (StructureLib 1.7.10-1.1.12-15-g978938d API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc -->
|
||||
<title>IAlignmentLimits (StructureLib 1.7.10-1.1.12 API)</title>
|
||||
<title>IAlignmentLimits (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>
|
||||
@@ -11,7 +11,7 @@
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="IAlignmentLimits (StructureLib 1.7.10-1.1.12 API)";
|
||||
parent.document.title="IAlignmentLimits (StructureLib 1.7.10-1.1.12-15-g978938d API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc -->
|
||||
<title>IAlignmentProvider (StructureLib 1.7.10-1.1.12 API)</title>
|
||||
<title>IAlignmentProvider (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>
|
||||
@@ -11,7 +11,7 @@
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="IAlignmentProvider (StructureLib 1.7.10-1.1.12 API)";
|
||||
parent.document.title="IAlignmentProvider (StructureLib 1.7.10-1.1.12-15-g978938d API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc -->
|
||||
<title>IntegerAxisSwap (StructureLib 1.7.10-1.1.12 API)</title>
|
||||
<title>IntegerAxisSwap (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>
|
||||
@@ -11,7 +11,7 @@
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="IntegerAxisSwap (StructureLib 1.7.10-1.1.12 API)";
|
||||
parent.document.title="IntegerAxisSwap (StructureLib 1.7.10-1.1.12-15-g978938d API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
|
||||
+2
-2
@@ -3,7 +3,7 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc -->
|
||||
<title>ChannelDataAccessor (StructureLib 1.7.10-1.1.12 API)</title>
|
||||
<title>ChannelDataAccessor (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>
|
||||
@@ -11,7 +11,7 @@
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="ChannelDataAccessor (StructureLib 1.7.10-1.1.12 API)";
|
||||
parent.document.title="ChannelDataAccessor (StructureLib 1.7.10-1.1.12-15-g978938d API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
|
||||
+2
-2
@@ -3,7 +3,7 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc -->
|
||||
<title>ConstructableUtility (StructureLib 1.7.10-1.1.12 API)</title>
|
||||
<title>ConstructableUtility (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>
|
||||
@@ -11,7 +11,7 @@
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="ConstructableUtility (StructureLib 1.7.10-1.1.12 API)";
|
||||
parent.document.title="ConstructableUtility (StructureLib 1.7.10-1.1.12-15-g978938d API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
|
||||
+21
-5
@@ -3,7 +3,7 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc -->
|
||||
<title>IConstructable (StructureLib 1.7.10-1.1.12 API)</title>
|
||||
<title>IConstructable (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>
|
||||
@@ -11,14 +11,14 @@
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="IConstructable (StructureLib 1.7.10-1.1.12 API)";
|
||||
parent.document.title="IConstructable (StructureLib 1.7.10-1.1.12-15-g978938d API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
var methods = {"i0":6,"i1":6};
|
||||
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"]};
|
||||
var methods = {"i0":6,"i1":18,"i2":6};
|
||||
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"],16:["t5","Default Methods"]};
|
||||
var altColor = "altColor";
|
||||
var rowColor = "rowColor";
|
||||
var tableTab = "tableTab";
|
||||
@@ -118,7 +118,7 @@ var activeTableTab = "activeTableTab";
|
||||
</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="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>
|
||||
<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><span id="t5" class="tableTab"><span><a href="javascript:show(16);">Default 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>
|
||||
@@ -129,6 +129,12 @@ var activeTableTab = "activeTableTab";
|
||||
boolean hintsOnly)</code> </td>
|
||||
</tr>
|
||||
<tr id="i1" class="rowColor">
|
||||
<td class="colFirst"><code>default <a href="../../../../../com/gtnewhorizon/structurelib/structure/IStructureDefinition.html" title="interface in com.gtnewhorizon.structurelib.structure">IStructureDefinition</a><?></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/gtnewhorizon/structurelib/alignment/constructable/IConstructable.html#getStructureDefinition--">getStructureDefinition</a></span>()</code>
|
||||
<div class="block">Get the structure definition used for this constructable.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i2" class="altColor">
|
||||
<td class="colFirst"><code><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/alignment/constructable/IConstructable.html#getStructureDescription-net.minecraft.item.ItemStack-">getStructureDescription</a></span>(<a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/net/minecraft/item/ItemStack.html?is-external=true" title="class or interface in net.minecraft.item">ItemStack</a> stackSize)</code> </td>
|
||||
</tr>
|
||||
@@ -157,6 +163,16 @@ var activeTableTab = "activeTableTab";
|
||||
boolean hintsOnly)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="getStructureDefinition--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getStructureDefinition</h4>
|
||||
<pre>default <a href="../../../../../com/gtnewhorizon/structurelib/structure/IStructureDefinition.html" title="interface in com.gtnewhorizon.structurelib.structure">IStructureDefinition</a><?> getStructureDefinition()</pre>
|
||||
<div class="block">Get the structure definition used for this constructable. Can be null if this constructable is not backed by one.</div>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="getStructureDescription-net.minecraft.item.ItemStack-">
|
||||
<!-- -->
|
||||
</a>
|
||||
|
||||
+2
-2
@@ -3,7 +3,7 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc -->
|
||||
<title>IConstructableProvider (StructureLib 1.7.10-1.1.12 API)</title>
|
||||
<title>IConstructableProvider (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>
|
||||
@@ -11,7 +11,7 @@
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="IConstructableProvider (StructureLib 1.7.10-1.1.12 API)";
|
||||
parent.document.title="IConstructableProvider (StructureLib 1.7.10-1.1.12-15-g978938d API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
|
||||
+2
-2
@@ -3,7 +3,7 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc -->
|
||||
<title>IMultiblockInfoContainer (StructureLib 1.7.10-1.1.12 API)</title>
|
||||
<title>IMultiblockInfoContainer (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>
|
||||
@@ -11,7 +11,7 @@
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="IMultiblockInfoContainer (StructureLib 1.7.10-1.1.12 API)";
|
||||
parent.document.title="IMultiblockInfoContainer (StructureLib 1.7.10-1.1.12-15-g978938d API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
|
||||
+118
-20
@@ -3,7 +3,7 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc -->
|
||||
<title>ISurvivalConstructable (StructureLib 1.7.10-1.1.12 API)</title>
|
||||
<title>ISurvivalConstructable (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>
|
||||
@@ -11,14 +11,14 @@
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="ISurvivalConstructable (StructureLib 1.7.10-1.1.12 API)";
|
||||
parent.document.title="ISurvivalConstructable (StructureLib 1.7.10-1.1.12-15-g978938d API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
var methods = {"i0":6};
|
||||
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"]};
|
||||
var methods = {"i0":49,"i1":50,"i2":18};
|
||||
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],16:["t5","Default Methods"],32:["t6","Deprecated Methods"]};
|
||||
var altColor = "altColor";
|
||||
var rowColor = "rowColor";
|
||||
var tableTab = "tableTab";
|
||||
@@ -73,13 +73,13 @@ var activeTableTab = "activeTableTab";
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#field.summary">Field</a> | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#field.detail">Field</a> | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.detail">Method</a></li>
|
||||
</ul>
|
||||
@@ -105,12 +105,39 @@ var activeTableTab = "activeTableTab";
|
||||
<br>
|
||||
<pre>public interface <span class="typeNameLabel">ISurvivalConstructable</span>
|
||||
extends <a href="../../../../../com/gtnewhorizon/structurelib/alignment/constructable/IConstructable.html" title="interface in com.gtnewhorizon.structurelib.alignment.constructable">IConstructable</a></pre>
|
||||
<div class="block">An extension to <a href="../../../../../com/gtnewhorizon/structurelib/alignment/constructable/IConstructable.html" title="interface in com.gtnewhorizon.structurelib.alignment.constructable"><code>IConstructable</code></a>. Tile Entities (or delegates returned by <a href="../../../../../com/gtnewhorizon/structurelib/alignment/constructable/IConstructableProvider.html#getConstructable--"><code>IConstructableProvider.getConstructable()</code></a>
|
||||
should implement this interface to allow third party tools and StructureLib builtin constructable tools to trigger
|
||||
autoplace in survival mode.
|
||||
<p>
|
||||
While not originally planned, a creative player can also use this interface to trigger autoplace by using an
|
||||
<a href="../../../../../com/gtnewhorizon/structurelib/structure/IItemSource.html" title="interface in com.gtnewhorizon.structurelib.structure"><code>IItemSource</code></a> with every possible items in the game.</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 boolean</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/gtnewhorizon/structurelib/alignment/constructable/ISurvivalConstructable.html#DISABLE_HACKY_MIGRATION_CODE">DISABLE_HACKY_MIGRATION_CODE</a></span></code>
|
||||
<div class="block">End player might want to disable this hack if it turns out to be too crashy</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method.summary">
|
||||
@@ -118,18 +145,33 @@ extends <a href="../../../../../com/gtnewhorizon/structurelib/alignment/construc
|
||||
</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="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>
|
||||
<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="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t5" class="tableTab"><span><a href="javascript:show(16);">Default 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>int</code></td>
|
||||
<td class="colFirst"><code>static <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></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/gtnewhorizon/structurelib/alignment/constructable/ISurvivalConstructable.html#Z:Z__get_player--">__get_player</a></span>()</code>
|
||||
<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i1" class="rowColor">
|
||||
<td class="colFirst"><code>default int</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/gtnewhorizon/structurelib/alignment/constructable/ISurvivalConstructable.html#survivalConstruct-net.minecraft.item.ItemStack-int-com.gtnewhorizon.structurelib.structure.IItemSource-net.minecraft.entity.player.EntityPlayerMP-">survivalConstruct</a></span>(<a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/net/minecraft/item/ItemStack.html?is-external=true" title="class or interface in net.minecraft.item">ItemStack</a> stackSize,
|
||||
int elementBudget,
|
||||
<a href="../../../../../com/gtnewhorizon/structurelib/structure/IItemSource.html" title="interface in com.gtnewhorizon.structurelib.structure">IItemSource</a> source,
|
||||
<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">Construct the structure using <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.IItemSource-net.minecraft.entity.player.EntityPlayerMP-java.util.function.Consumer-"><code>IStructureElement.survivalPlaceBlock(Object, World, int, int, int, ItemStack, IItemSource, EntityPlayerMP, java.util.function.Consumer)</code></a></div>
|
||||
<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i2" class="altColor">
|
||||
<td class="colFirst"><code>default int</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/gtnewhorizon/structurelib/alignment/constructable/ISurvivalConstructable.html#survivalConstruct-net.minecraft.item.ItemStack-int-com.gtnewhorizon.structurelib.structure.ISurvivalBuildEnvironment-">survivalConstruct</a></span>(<a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/net/minecraft/item/ItemStack.html?is-external=true" title="class or interface in net.minecraft.item">ItemStack</a> stackSize,
|
||||
int elementBudget,
|
||||
<a href="../../../../../com/gtnewhorizon/structurelib/structure/ISurvivalBuildEnvironment.html" title="interface in com.gtnewhorizon.structurelib.structure">ISurvivalBuildEnvironment</a> env)</code>
|
||||
<div class="block">Construct the structure using <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>
|
||||
or <a href="../../../../../com/gtnewhorizon/structurelib/structure/IStructureDefinition.html#survivalBuild-T-net.minecraft.item.ItemStack-java.lang.String-net.minecraft.world.World-com.gtnewhorizon.structurelib.alignment.enumerable.ExtendedFacing-int-int-int-int-int-int-int-com.gtnewhorizon.structurelib.structure.ISurvivalBuildEnvironment-boolean-"><code>IStructureDefinition.survivalBuild(Object, ItemStack, String, World, ExtendedFacing, int, int, int, int, int, int, int, ISurvivalBuildEnvironment, boolean)</code></a></div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
@@ -138,7 +180,7 @@ extends <a href="../../../../../com/gtnewhorizon/structurelib/alignment/construc
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from interface com.gtnewhorizon.structurelib.alignment.constructable.<a href="../../../../../com/gtnewhorizon/structurelib/alignment/constructable/IConstructable.html" title="interface in com.gtnewhorizon.structurelib.alignment.constructable">IConstructable</a></h3>
|
||||
<code><a href="../../../../../com/gtnewhorizon/structurelib/alignment/constructable/IConstructable.html#construct-net.minecraft.item.ItemStack-boolean-">construct</a>, <a href="../../../../../com/gtnewhorizon/structurelib/alignment/constructable/IConstructable.html#getStructureDescription-net.minecraft.item.ItemStack-">getStructureDescription</a></code></li>
|
||||
<code><a href="../../../../../com/gtnewhorizon/structurelib/alignment/constructable/IConstructable.html#construct-net.minecraft.item.ItemStack-boolean-">construct</a>, <a href="../../../../../com/gtnewhorizon/structurelib/alignment/constructable/IConstructable.html#getStructureDefinition--">getStructureDefinition</a>, <a href="../../../../../com/gtnewhorizon/structurelib/alignment/constructable/IConstructable.html#getStructureDescription-net.minecraft.item.ItemStack-">getStructureDescription</a></code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
@@ -148,6 +190,24 @@ extends <a href="../../../../../com/gtnewhorizon/structurelib/alignment/construc
|
||||
<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="DISABLE_HACKY_MIGRATION_CODE">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>DISABLE_HACKY_MIGRATION_CODE</h4>
|
||||
<pre>static final boolean DISABLE_HACKY_MIGRATION_CODE</pre>
|
||||
<div class="block">End player might want to disable this hack if it turns out to be too crashy</div>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method.detail">
|
||||
@@ -157,23 +217,61 @@ extends <a href="../../../../../com/gtnewhorizon/structurelib/alignment/construc
|
||||
<a name="survivalConstruct-net.minecraft.item.ItemStack-int-com.gtnewhorizon.structurelib.structure.IItemSource-net.minecraft.entity.player.EntityPlayerMP-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>survivalConstruct</h4>
|
||||
<pre>int survivalConstruct(<a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/net/minecraft/item/ItemStack.html?is-external=true" title="class or interface in net.minecraft.item">ItemStack</a> stackSize,
|
||||
int elementBudget,
|
||||
<a href="../../../../../com/gtnewhorizon/structurelib/structure/IItemSource.html" title="interface in com.gtnewhorizon.structurelib.structure">IItemSource</a> source,
|
||||
<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">Construct the structure using <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.IItemSource-net.minecraft.entity.player.EntityPlayerMP-java.util.function.Consumer-"><code>IStructureElement.survivalPlaceBlock(Object, World, int, int, int, ItemStack, IItemSource, EntityPlayerMP, java.util.function.Consumer)</code></a></div>
|
||||
<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>
|
||||
default int survivalConstruct(<a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/net/minecraft/item/ItemStack.html?is-external=true" title="class or interface in net.minecraft.item">ItemStack</a> stackSize,
|
||||
int elementBudget,
|
||||
<a href="../../../../../com/gtnewhorizon/structurelib/structure/IItemSource.html" title="interface in com.gtnewhorizon.structurelib.structure">IItemSource</a> source,
|
||||
<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">Construct the structure using <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.IItemSource-net.minecraft.entity.player.EntityPlayerMP-java.util.function.Consumer-"><code>IStructureElement.survivalPlaceBlock(Object, World, int, int, int, ItemStack, IItemSource, EntityPlayerMP, java.util.function.Consumer)</code></a>
|
||||
or <a href="../../../../../com/gtnewhorizon/structurelib/structure/IStructureDefinition.html#survivalBuild-T-net.minecraft.item.ItemStack-java.lang.String-net.minecraft.world.World-com.gtnewhorizon.structurelib.alignment.enumerable.ExtendedFacing-int-int-int-int-int-int-int-com.gtnewhorizon.structurelib.structure.IItemSource-net.minecraft.entity.player.EntityPlayerMP-boolean-"><code>IStructureDefinition.survivalBuild(Object, ItemStack, String, World, ExtendedFacing, int, int, int, int, int, int, int, IItemSource, EntityPlayerMP, boolean)</code></a></div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>elementBudget</code> - The server configured element budget. You can tune this up a bit if the structure is too big, but
|
||||
generally should not be a 4 digits number to not overwhelm the server</dd>
|
||||
<dd><code>elementBudget</code> - The server configured element budget. The implementor can choose to tune this up a bit if
|
||||
the structure is too big, but generally should not be a 4 digits number to not overwhelm the
|
||||
server</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>-1 if done, otherwise number of elements placed this round</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="survivalConstruct-net.minecraft.item.ItemStack-int-com.gtnewhorizon.structurelib.structure.ISurvivalBuildEnvironment-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>survivalConstruct</h4>
|
||||
<pre>default int survivalConstruct(<a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/net/minecraft/item/ItemStack.html?is-external=true" title="class or interface in net.minecraft.item">ItemStack</a> stackSize,
|
||||
int elementBudget,
|
||||
<a href="../../../../../com/gtnewhorizon/structurelib/structure/ISurvivalBuildEnvironment.html" title="interface in com.gtnewhorizon.structurelib.structure">ISurvivalBuildEnvironment</a> env)</pre>
|
||||
<div class="block">Construct the structure using <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>
|
||||
or <a href="../../../../../com/gtnewhorizon/structurelib/structure/IStructureDefinition.html#survivalBuild-T-net.minecraft.item.ItemStack-java.lang.String-net.minecraft.world.World-com.gtnewhorizon.structurelib.alignment.enumerable.ExtendedFacing-int-int-int-int-int-int-int-com.gtnewhorizon.structurelib.structure.ISurvivalBuildEnvironment-boolean-"><code>IStructureDefinition.survivalBuild(Object, ItemStack, String, World, ExtendedFacing, int, int, int, int, int, int, int, ISurvivalBuildEnvironment, boolean)</code></a></div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>elementBudget</code> - The server configured element budget. The implementor can choose to tune this up a bit if
|
||||
the structure is too big, but generally should not be a 4 digits number to not overwhelm the
|
||||
server</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>-1 if done, -2 if not supported (e.g. due to an incompatible change in the API of env, otherwise number
|
||||
of elements placed this round</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="Z:Z__get_player--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>__get_player</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>
|
||||
static <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> __get_player()</pre>
|
||||
<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div>
|
||||
<div class="block">Internal hack. Do not use.</div>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
@@ -227,13 +325,13 @@ extends <a href="../../../../../com/gtnewhorizon/structurelib/alignment/construc
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#field.summary">Field</a> | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#field.detail">Field</a> | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.detail">Method</a></li>
|
||||
</ul>
|
||||
|
||||
+1
-1
@@ -3,7 +3,7 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc -->
|
||||
<title>com.gtnewhorizon.structurelib.alignment.constructable (StructureLib 1.7.10-1.1.12 API)</title>
|
||||
<title>com.gtnewhorizon.structurelib.alignment.constructable (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>
|
||||
|
||||
+5
-3
@@ -3,7 +3,7 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc -->
|
||||
<title>com.gtnewhorizon.structurelib.alignment.constructable (StructureLib 1.7.10-1.1.12 API)</title>
|
||||
<title>com.gtnewhorizon.structurelib.alignment.constructable (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>
|
||||
@@ -11,7 +11,7 @@
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="com.gtnewhorizon.structurelib.alignment.constructable (StructureLib 1.7.10-1.1.12 API)";
|
||||
parent.document.title="com.gtnewhorizon.structurelib.alignment.constructable (StructureLib 1.7.10-1.1.12-15-g978938d API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
@@ -104,7 +104,9 @@
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><a href="../../../../../com/gtnewhorizon/structurelib/alignment/constructable/ISurvivalConstructable.html" title="interface in com.gtnewhorizon.structurelib.alignment.constructable">ISurvivalConstructable</a></td>
|
||||
<td class="colLast"> </td>
|
||||
<td class="colLast">
|
||||
<div class="block">An extension to <a href="../../../../../com/gtnewhorizon/structurelib/alignment/constructable/IConstructable.html" title="interface in com.gtnewhorizon.structurelib.alignment.constructable"><code>IConstructable</code></a>.</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
+2
-2
@@ -3,7 +3,7 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc -->
|
||||
<title>com.gtnewhorizon.structurelib.alignment.constructable Class Hierarchy (StructureLib 1.7.10-1.1.12 API)</title>
|
||||
<title>com.gtnewhorizon.structurelib.alignment.constructable Class Hierarchy (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>
|
||||
@@ -11,7 +11,7 @@
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="com.gtnewhorizon.structurelib.alignment.constructable Class Hierarchy (StructureLib 1.7.10-1.1.12 API)";
|
||||
parent.document.title="com.gtnewhorizon.structurelib.alignment.constructable Class Hierarchy (StructureLib 1.7.10-1.1.12-15-g978938d API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc -->
|
||||
<title>Direction (StructureLib 1.7.10-1.1.12 API)</title>
|
||||
<title>Direction (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>
|
||||
@@ -11,13 +11,13 @@
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="Direction (StructureLib 1.7.10-1.1.12 API)";
|
||||
parent.document.title="Direction (StructureLib 1.7.10-1.1.12-15-g978938d API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
var methods = {"i0":10,"i1":9,"i2":10,"i3":9,"i4":9};
|
||||
var methods = {"i0":10,"i1":9,"i2":9,"i3":10,"i4":9,"i5":9};
|
||||
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
|
||||
var altColor = "altColor";
|
||||
var rowColor = "rowColor";
|
||||
@@ -196,16 +196,20 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?i
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/gtnewhorizon/structurelib/alignment/enumerable/Direction.html#getAxisVector-net.minecraftforge.common.util.ForgeDirection-">getAxisVector</a></span>(net.minecraftforge.common.util.ForgeDirection forgeDirection)</code> </td>
|
||||
</tr>
|
||||
<tr id="i2" class="altColor">
|
||||
<td class="colFirst"><code>static <a href="../../../../../com/gtnewhorizon/structurelib/alignment/enumerable/Direction.html" title="enum in com.gtnewhorizon.structurelib.alignment.enumerable">Direction</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/gtnewhorizon/structurelib/alignment/enumerable/Direction.html#getByAxisVector-com.gtnewhorizon.structurelib.util.Vec3Impl-">getByAxisVector</a></span>(<a href="../../../../../com/gtnewhorizon/structurelib/util/Vec3Impl.html" title="class in com.gtnewhorizon.structurelib.util">Vec3Impl</a> vec3)</code> </td>
|
||||
</tr>
|
||||
<tr id="i3" class="rowColor">
|
||||
<td class="colFirst"><code>net.minecraftforge.common.util.ForgeDirection</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/gtnewhorizon/structurelib/alignment/enumerable/Direction.html#getForgeDirection--">getForgeDirection</a></span>()</code> </td>
|
||||
</tr>
|
||||
<tr id="i3" class="rowColor">
|
||||
<tr id="i4" class="altColor">
|
||||
<td class="colFirst"><code>static <a href="../../../../../com/gtnewhorizon/structurelib/alignment/enumerable/Direction.html" title="enum in com.gtnewhorizon.structurelib.alignment.enumerable">Direction</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/gtnewhorizon/structurelib/alignment/enumerable/Direction.html#valueOf-java.lang.String-">valueOf</a></span>(<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> name)</code>
|
||||
<div class="block">Returns the enum constant of this type with the specified name.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i4" class="altColor">
|
||||
<tr id="i5" class="rowColor">
|
||||
<td class="colFirst"><code>static <a href="../../../../../com/gtnewhorizon/structurelib/alignment/enumerable/Direction.html" title="enum in com.gtnewhorizon.structurelib.alignment.enumerable">Direction</a>[]</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/gtnewhorizon/structurelib/alignment/enumerable/Direction.html#values--">values</a></span>()</code>
|
||||
<div class="block">Returns an array containing the constants of this enum type, in
|
||||
@@ -383,12 +387,21 @@ not permitted.)</div>
|
||||
<a name="getAxisVector-net.minecraftforge.common.util.ForgeDirection-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getAxisVector</h4>
|
||||
<pre>public static <a href="../../../../../com/gtnewhorizon/structurelib/util/Vec3Impl.html" title="class in com.gtnewhorizon.structurelib.util">Vec3Impl</a> getAxisVector(net.minecraftforge.common.util.ForgeDirection forgeDirection)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="getByAxisVector-com.gtnewhorizon.structurelib.util.Vec3Impl-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>getByAxisVector</h4>
|
||||
<pre>public static <a href="../../../../../com/gtnewhorizon/structurelib/alignment/enumerable/Direction.html" title="enum in com.gtnewhorizon.structurelib.alignment.enumerable">Direction</a> getByAxisVector(<a href="../../../../../com/gtnewhorizon/structurelib/util/Vec3Impl.html" title="class in com.gtnewhorizon.structurelib.util">Vec3Impl</a> vec3)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
+30
-14
@@ -3,7 +3,7 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc -->
|
||||
<title>ExtendedFacing (StructureLib 1.7.10-1.1.12 API)</title>
|
||||
<title>ExtendedFacing (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>
|
||||
@@ -11,13 +11,13 @@
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="ExtendedFacing (StructureLib 1.7.10-1.1.12 API)";
|
||||
parent.document.title="ExtendedFacing (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":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":9,"i31":9,"i32":9,"i33":9,"i34":9,"i35":10,"i36":10,"i37":10};
|
||||
var methods = {"i0":9,"i1":9,"i2":9,"i3":9,"i4":9,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":9,"i32":9,"i33":9,"i34":9,"i35":9,"i36":10,"i37":10,"i38":10};
|
||||
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
|
||||
var altColor = "altColor";
|
||||
var rowColor = "rowColor";
|
||||
@@ -580,61 +580,67 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?i
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/gtnewhorizon/structurelib/alignment/enumerable/ExtendedFacing.html#getRotation--">getRotation</a></span>()</code> </td>
|
||||
</tr>
|
||||
<tr id="i26" class="altColor">
|
||||
<td class="colFirst"><code>net.minecraftforge.common.util.ForgeDirection</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/gtnewhorizon/structurelib/alignment/enumerable/ExtendedFacing.html#getWorldDirection-net.minecraftforge.common.util.ForgeDirection-">getWorldDirection</a></span>(net.minecraftforge.common.util.ForgeDirection abcDirection)</code>
|
||||
<div class="block">do note the ABC coordinate system is (X, -Y, Z).</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i27" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/gtnewhorizon/structurelib/alignment/enumerable/ExtendedFacing.html#getWorldOffset-double:A-double:A-">getWorldOffset</a></span>(double[] point,
|
||||
double[] out)</code> </td>
|
||||
</tr>
|
||||
<tr id="i27" class="rowColor">
|
||||
<tr id="i28" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/gtnewhorizon/structurelib/alignment/enumerable/ExtendedFacing.html#getWorldOffset-int:A-int:A-">getWorldOffset</a></span>(int[] point,
|
||||
int[] out)</code> </td>
|
||||
</tr>
|
||||
<tr id="i28" class="altColor">
|
||||
<tr id="i29" class="rowColor">
|
||||
<td class="colFirst"><code><a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/net/minecraft/util/Vec3.html?is-external=true" title="class or interface in net.minecraft.util">Vec3</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/gtnewhorizon/structurelib/alignment/enumerable/ExtendedFacing.html#getWorldOffset-net.minecraft.util.Vec3-">getWorldOffset</a></span>(<a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/net/minecraft/util/Vec3.html?is-external=true" title="class or interface in net.minecraft.util">Vec3</a> abcOffset)</code>
|
||||
<div class="block">Translates relative to front facing offset to world offset</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i29" class="rowColor">
|
||||
<tr id="i30" class="altColor">
|
||||
<td class="colFirst"><code><a href="../../../../../com/gtnewhorizon/structurelib/util/Vec3Impl.html" title="class in com.gtnewhorizon.structurelib.util">Vec3Impl</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/gtnewhorizon/structurelib/alignment/enumerable/ExtendedFacing.html#getWorldOffset-com.gtnewhorizon.structurelib.util.Vec3Impl-">getWorldOffset</a></span>(<a href="../../../../../com/gtnewhorizon/structurelib/util/Vec3Impl.html" title="class in com.gtnewhorizon.structurelib.util">Vec3Impl</a> abcOffset)</code> </td>
|
||||
</tr>
|
||||
<tr id="i30" class="altColor">
|
||||
<tr id="i31" class="rowColor">
|
||||
<td class="colFirst"><code>static <a href="../../../../../com/gtnewhorizon/structurelib/alignment/enumerable/ExtendedFacing.html" title="enum in com.gtnewhorizon.structurelib.alignment.enumerable">ExtendedFacing</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/gtnewhorizon/structurelib/alignment/enumerable/ExtendedFacing.html#of-net.minecraftforge.common.util.ForgeDirection-">of</a></span>(net.minecraftforge.common.util.ForgeDirection direction)</code> </td>
|
||||
</tr>
|
||||
<tr id="i31" class="rowColor">
|
||||
<tr id="i32" class="altColor">
|
||||
<td class="colFirst"><code>static <a href="../../../../../com/gtnewhorizon/structurelib/alignment/enumerable/ExtendedFacing.html" title="enum in com.gtnewhorizon.structurelib.alignment.enumerable">ExtendedFacing</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/gtnewhorizon/structurelib/alignment/enumerable/ExtendedFacing.html#of-net.minecraftforge.common.util.ForgeDirection-com.gtnewhorizon.structurelib.alignment.enumerable.Rotation-com.gtnewhorizon.structurelib.alignment.enumerable.Flip-">of</a></span>(net.minecraftforge.common.util.ForgeDirection direction,
|
||||
<a href="../../../../../com/gtnewhorizon/structurelib/alignment/enumerable/Rotation.html" title="enum in com.gtnewhorizon.structurelib.alignment.enumerable">Rotation</a> rotation,
|
||||
<a href="../../../../../com/gtnewhorizon/structurelib/alignment/enumerable/Flip.html" title="enum in com.gtnewhorizon.structurelib.alignment.enumerable">Flip</a> flip)</code> </td>
|
||||
</tr>
|
||||
<tr id="i32" class="altColor">
|
||||
<tr id="i33" class="rowColor">
|
||||
<td class="colFirst"><code>static <a href="../../../../../com/gtnewhorizon/structurelib/alignment/enumerable/ExtendedFacing.html" title="enum in com.gtnewhorizon.structurelib.alignment.enumerable">ExtendedFacing</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/gtnewhorizon/structurelib/alignment/enumerable/ExtendedFacing.html#random-java.util.Random-">random</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Random.html?is-external=true" title="class or interface in java.util">Random</a> rand)</code> </td>
|
||||
</tr>
|
||||
<tr id="i33" class="rowColor">
|
||||
<tr id="i34" class="altColor">
|
||||
<td class="colFirst"><code>static <a href="../../../../../com/gtnewhorizon/structurelib/alignment/enumerable/ExtendedFacing.html" title="enum in com.gtnewhorizon.structurelib.alignment.enumerable">ExtendedFacing</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/gtnewhorizon/structurelib/alignment/enumerable/ExtendedFacing.html#valueOf-java.lang.String-">valueOf</a></span>(<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> name)</code>
|
||||
<div class="block">Returns the enum constant of this type with the specified name.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i34" class="altColor">
|
||||
<tr id="i35" class="rowColor">
|
||||
<td class="colFirst"><code>static <a href="../../../../../com/gtnewhorizon/structurelib/alignment/enumerable/ExtendedFacing.html" title="enum in com.gtnewhorizon.structurelib.alignment.enumerable">ExtendedFacing</a>[]</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/gtnewhorizon/structurelib/alignment/enumerable/ExtendedFacing.html#values--">values</a></span>()</code>
|
||||
<div class="block">Returns an array containing the constants of this enum type, in
|
||||
the order they are declared.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i35" class="rowColor">
|
||||
<tr id="i36" class="altColor">
|
||||
<td class="colFirst"><code><a href="../../../../../com/gtnewhorizon/structurelib/alignment/enumerable/ExtendedFacing.html" title="enum in com.gtnewhorizon.structurelib.alignment.enumerable">ExtendedFacing</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/gtnewhorizon/structurelib/alignment/enumerable/ExtendedFacing.html#with-com.gtnewhorizon.structurelib.alignment.enumerable.Flip-">with</a></span>(<a href="../../../../../com/gtnewhorizon/structurelib/alignment/enumerable/Flip.html" title="enum in com.gtnewhorizon.structurelib.alignment.enumerable">Flip</a> flip)</code> </td>
|
||||
</tr>
|
||||
<tr id="i36" class="altColor">
|
||||
<tr id="i37" class="rowColor">
|
||||
<td class="colFirst"><code><a href="../../../../../com/gtnewhorizon/structurelib/alignment/enumerable/ExtendedFacing.html" title="enum in com.gtnewhorizon.structurelib.alignment.enumerable">ExtendedFacing</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/gtnewhorizon/structurelib/alignment/enumerable/ExtendedFacing.html#with-net.minecraftforge.common.util.ForgeDirection-">with</a></span>(net.minecraftforge.common.util.ForgeDirection direction)</code> </td>
|
||||
</tr>
|
||||
<tr id="i37" class="rowColor">
|
||||
<tr id="i38" class="altColor">
|
||||
<td class="colFirst"><code><a href="../../../../../com/gtnewhorizon/structurelib/alignment/enumerable/ExtendedFacing.html" title="enum in com.gtnewhorizon.structurelib.alignment.enumerable">ExtendedFacing</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/gtnewhorizon/structurelib/alignment/enumerable/ExtendedFacing.html#with-com.gtnewhorizon.structurelib.alignment.enumerable.Rotation-">with</a></span>(<a href="../../../../../com/gtnewhorizon/structurelib/alignment/enumerable/Rotation.html" title="enum in com.gtnewhorizon.structurelib.alignment.enumerable">Rotation</a> rotation)</code> </td>
|
||||
</tr>
|
||||
@@ -1866,6 +1872,16 @@ not permitted.)</div>
|
||||
double[] out)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="getWorldDirection-net.minecraftforge.common.util.ForgeDirection-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getWorldDirection</h4>
|
||||
<pre>public net.minecraftforge.common.util.ForgeDirection getWorldDirection(net.minecraftforge.common.util.ForgeDirection abcDirection)</pre>
|
||||
<div class="block">do note the ABC coordinate system is (X, -Y, Z).</div>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="getOffsetABC-net.minecraft.util.Vec3-">
|
||||
<!-- -->
|
||||
</a>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc -->
|
||||
<title>Flip (StructureLib 1.7.10-1.1.12 API)</title>
|
||||
<title>Flip (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>
|
||||
@@ -11,7 +11,7 @@
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="Flip (StructureLib 1.7.10-1.1.12 API)";
|
||||
parent.document.title="Flip (StructureLib 1.7.10-1.1.12-15-g978938d API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc -->
|
||||
<title>Rotation (StructureLib 1.7.10-1.1.12 API)</title>
|
||||
<title>Rotation (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>
|
||||
@@ -11,7 +11,7 @@
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="Rotation (StructureLib 1.7.10-1.1.12 API)";
|
||||
parent.document.title="Rotation (StructureLib 1.7.10-1.1.12-15-g978938d API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
|
||||
+1
-1
@@ -3,7 +3,7 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc -->
|
||||
<title>com.gtnewhorizon.structurelib.alignment.enumerable (StructureLib 1.7.10-1.1.12 API)</title>
|
||||
<title>com.gtnewhorizon.structurelib.alignment.enumerable (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>
|
||||
|
||||
+2
-2
@@ -3,7 +3,7 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc -->
|
||||
<title>com.gtnewhorizon.structurelib.alignment.enumerable (StructureLib 1.7.10-1.1.12 API)</title>
|
||||
<title>com.gtnewhorizon.structurelib.alignment.enumerable (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>
|
||||
@@ -11,7 +11,7 @@
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="com.gtnewhorizon.structurelib.alignment.enumerable (StructureLib 1.7.10-1.1.12 API)";
|
||||
parent.document.title="com.gtnewhorizon.structurelib.alignment.enumerable (StructureLib 1.7.10-1.1.12-15-g978938d API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc -->
|
||||
<title>com.gtnewhorizon.structurelib.alignment.enumerable Class Hierarchy (StructureLib 1.7.10-1.1.12 API)</title>
|
||||
<title>com.gtnewhorizon.structurelib.alignment.enumerable Class Hierarchy (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>
|
||||
@@ -11,7 +11,7 @@
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="com.gtnewhorizon.structurelib.alignment.enumerable Class Hierarchy (StructureLib 1.7.10-1.1.12 API)";
|
||||
parent.document.title="com.gtnewhorizon.structurelib.alignment.enumerable Class Hierarchy (StructureLib 1.7.10-1.1.12-15-g978938d API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
@@ -81,10 +81,10 @@
|
||||
<ul>
|
||||
<li type="circle">java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang"><span class="typeNameLink">Enum</span></a><E> (implements java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</a><T>, java.io.<a href="https://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a>)
|
||||
<ul>
|
||||
<li type="circle">com.gtnewhorizon.structurelib.alignment.enumerable.<a href="../../../../../com/gtnewhorizon/structurelib/alignment/enumerable/Flip.html" title="enum in com.gtnewhorizon.structurelib.alignment.enumerable"><span class="typeNameLink">Flip</span></a></li>
|
||||
<li type="circle">com.gtnewhorizon.structurelib.alignment.enumerable.<a href="../../../../../com/gtnewhorizon/structurelib/alignment/enumerable/Direction.html" title="enum in com.gtnewhorizon.structurelib.alignment.enumerable"><span class="typeNameLink">Direction</span></a></li>
|
||||
<li type="circle">com.gtnewhorizon.structurelib.alignment.enumerable.<a href="../../../../../com/gtnewhorizon/structurelib/alignment/enumerable/Rotation.html" title="enum in com.gtnewhorizon.structurelib.alignment.enumerable"><span class="typeNameLink">Rotation</span></a></li>
|
||||
<li type="circle">com.gtnewhorizon.structurelib.alignment.enumerable.<a href="../../../../../com/gtnewhorizon/structurelib/alignment/enumerable/ExtendedFacing.html" title="enum in com.gtnewhorizon.structurelib.alignment.enumerable"><span class="typeNameLink">ExtendedFacing</span></a></li>
|
||||
<li type="circle">com.gtnewhorizon.structurelib.alignment.enumerable.<a href="../../../../../com/gtnewhorizon/structurelib/alignment/enumerable/Rotation.html" title="enum in com.gtnewhorizon.structurelib.alignment.enumerable"><span class="typeNameLink">Rotation</span></a></li>
|
||||
<li type="circle">com.gtnewhorizon.structurelib.alignment.enumerable.<a href="../../../../../com/gtnewhorizon/structurelib/alignment/enumerable/Flip.html" title="enum in com.gtnewhorizon.structurelib.alignment.enumerable"><span class="typeNameLink">Flip</span></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc -->
|
||||
<title>com.gtnewhorizon.structurelib.alignment (StructureLib 1.7.10-1.1.12 API)</title>
|
||||
<title>com.gtnewhorizon.structurelib.alignment (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>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc -->
|
||||
<title>com.gtnewhorizon.structurelib.alignment (StructureLib 1.7.10-1.1.12 API)</title>
|
||||
<title>com.gtnewhorizon.structurelib.alignment (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>
|
||||
@@ -11,7 +11,7 @@
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="com.gtnewhorizon.structurelib.alignment (StructureLib 1.7.10-1.1.12 API)";
|
||||
parent.document.title="com.gtnewhorizon.structurelib.alignment (StructureLib 1.7.10-1.1.12-15-g978938d API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc -->
|
||||
<title>com.gtnewhorizon.structurelib.alignment Class Hierarchy (StructureLib 1.7.10-1.1.12 API)</title>
|
||||
<title>com.gtnewhorizon.structurelib.alignment Class Hierarchy (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>
|
||||
@@ -11,7 +11,7 @@
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="com.gtnewhorizon.structurelib.alignment Class Hierarchy (StructureLib 1.7.10-1.1.12 API)";
|
||||
parent.document.title="com.gtnewhorizon.structurelib.alignment Class Hierarchy (StructureLib 1.7.10-1.1.12-15-g978938d API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc -->
|
||||
<title>com.gtnewhorizon.structurelib (StructureLib 1.7.10-1.1.12 API)</title>
|
||||
<title>com.gtnewhorizon.structurelib (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>
|
||||
@@ -12,6 +12,8 @@
|
||||
<div class="indexContainer">
|
||||
<h2 title="Classes">Classes</h2>
|
||||
<ul title="Classes">
|
||||
<li><a href="StructureEvent.html" title="class in com.gtnewhorizon.structurelib" target="classFrame">StructureEvent</a></li>
|
||||
<li><a href="StructureEvent.StructureElementVisitedEvent.html" title="class in com.gtnewhorizon.structurelib" target="classFrame">StructureEvent.StructureElementVisitedEvent</a></li>
|
||||
<li><a href="StructureLibAPI.html" title="class in com.gtnewhorizon.structurelib" target="classFrame">StructureLibAPI</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc -->
|
||||
<title>com.gtnewhorizon.structurelib (StructureLib 1.7.10-1.1.12 API)</title>
|
||||
<title>com.gtnewhorizon.structurelib (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>
|
||||
@@ -11,7 +11,7 @@
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="com.gtnewhorizon.structurelib (StructureLib 1.7.10-1.1.12 API)";
|
||||
parent.document.title="com.gtnewhorizon.structurelib (StructureLib 1.7.10-1.1.12-15-g978938d API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
@@ -81,6 +81,19 @@
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><a href="../../../com/gtnewhorizon/structurelib/StructureEvent.html" title="class in com.gtnewhorizon.structurelib">StructureEvent</a></td>
|
||||
<td class="colLast">
|
||||
<div class="block">Subscribers are <b>required</b> to not keep reference to these events, nor to depend on values of these events after
|
||||
the method call returns.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><a href="../../../com/gtnewhorizon/structurelib/StructureEvent.StructureElementVisitedEvent.html" title="class in com.gtnewhorizon.structurelib">StructureEvent.StructureElementVisitedEvent</a></td>
|
||||
<td class="colLast">
|
||||
<div class="block">Fired <b>just before</b> any structure element is visited.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><a href="../../../com/gtnewhorizon/structurelib/StructureLibAPI.html" title="class in com.gtnewhorizon.structurelib">StructureLibAPI</a></td>
|
||||
<td class="colLast">
|
||||
<div class="block">A stable interface into the structure lib's internals.</div>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc -->
|
||||
<title>com.gtnewhorizon.structurelib Class Hierarchy (StructureLib 1.7.10-1.1.12 API)</title>
|
||||
<title>com.gtnewhorizon.structurelib Class Hierarchy (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>
|
||||
@@ -11,7 +11,7 @@
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="com.gtnewhorizon.structurelib Class Hierarchy (StructureLib 1.7.10-1.1.12 API)";
|
||||
parent.document.title="com.gtnewhorizon.structurelib Class Hierarchy (StructureLib 1.7.10-1.1.12-15-g978938d API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
@@ -79,6 +79,15 @@
|
||||
<ul>
|
||||
<li type="circle">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"><span class="typeNameLink">Object</span></a>
|
||||
<ul>
|
||||
<li type="circle">cpw.mods.fml.common.eventhandler.<a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/cpw/mods/fml/common/eventhandler/Event.html?is-external=true" title="class or interface in cpw.mods.fml.common.eventhandler"><span class="typeNameLink">Event</span></a>
|
||||
<ul>
|
||||
<li type="circle">com.gtnewhorizon.structurelib.<a href="../../../com/gtnewhorizon/structurelib/StructureEvent.html" title="class in com.gtnewhorizon.structurelib"><span class="typeNameLink">StructureEvent</span></a>
|
||||
<ul>
|
||||
<li type="circle">com.gtnewhorizon.structurelib.<a href="../../../com/gtnewhorizon/structurelib/StructureEvent.StructureElementVisitedEvent.html" title="class in com.gtnewhorizon.structurelib"><span class="typeNameLink">StructureEvent.StructureElementVisitedEvent</span></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li type="circle">com.gtnewhorizon.structurelib.<a href="../../../com/gtnewhorizon/structurelib/StructureLibAPI.html" title="class in com.gtnewhorizon.structurelib"><span class="typeNameLink">StructureLibAPI</span></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
+368
@@ -0,0 +1,368 @@
|
||||
<!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>AutoPlaceEnvironment.APILevel (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="AutoPlaceEnvironment.APILevel (StructureLib 1.7.10-1.1.12-15-g978938d API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
var methods = {"i0":9,"i1":9};
|
||||
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete 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/structure/AutoPlaceEnvironment.html" title="class in com.gtnewhorizon.structurelib.structure"><span class="typeNameLink">Prev Class</span></a></li>
|
||||
<li><a href="../../../../com/gtnewhorizon/structurelib/structure/IBlockPosConsumer.html" title="interface in com.gtnewhorizon.structurelib.structure"><span class="typeNameLink">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../index.html?com/gtnewhorizon/structurelib/structure/AutoPlaceEnvironment.APILevel.html" target="_top">Frames</a></li>
|
||||
<li><a href="AutoPlaceEnvironment.APILevel.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="#enum.constant.summary">Enum Constants</a> | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li><a href="#enum.constant.detail">Enum Constants</a> | </li>
|
||||
<li>Field | </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.structure</div>
|
||||
<h2 title="Enum AutoPlaceEnvironment.APILevel" class="title">Enum AutoPlaceEnvironment.APILevel</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><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">java.lang.Enum</a><<a href="../../../../com/gtnewhorizon/structurelib/structure/AutoPlaceEnvironment.APILevel.html" title="enum in com.gtnewhorizon.structurelib.structure">AutoPlaceEnvironment.APILevel</a>></li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>com.gtnewhorizon.structurelib.structure.AutoPlaceEnvironment.APILevel</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<dl>
|
||||
<dt>All Implemented Interfaces:</dt>
|
||||
<dd><a href="https://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</a><<a href="../../../../com/gtnewhorizon/structurelib/structure/AutoPlaceEnvironment.APILevel.html" title="enum in com.gtnewhorizon.structurelib.structure">AutoPlaceEnvironment.APILevel</a>></dd>
|
||||
</dl>
|
||||
<dl>
|
||||
<dt>Enclosing class:</dt>
|
||||
<dd><a href="../../../../com/gtnewhorizon/structurelib/structure/AutoPlaceEnvironment.html" title="class in com.gtnewhorizon.structurelib.structure">AutoPlaceEnvironment</a></dd>
|
||||
</dl>
|
||||
<hr>
|
||||
<br>
|
||||
<pre>public static enum <span class="typeNameLabel">AutoPlaceEnvironment.APILevel</span>
|
||||
extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</a><<a href="../../../../com/gtnewhorizon/structurelib/structure/AutoPlaceEnvironment.APILevel.html" title="enum in com.gtnewhorizon.structurelib.structure">AutoPlaceEnvironment.APILevel</a>></pre>
|
||||
<div class="block">Defines the various API level an <a href="../../../../com/gtnewhorizon/structurelib/structure/AutoPlaceEnvironment.html" title="class in com.gtnewhorizon.structurelib.structure"><code>AutoPlaceEnvironment</code></a> has implemented.
|
||||
<p>
|
||||
Enum constants are defined in chronological order.</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- =========== ENUM CONSTANT SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="enum.constant.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Enum Constant Summary</h3>
|
||||
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Enum Constant Summary table, listing enum constants, and an explanation">
|
||||
<caption><span>Enum Constants</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colOne" scope="col">Enum Constant and Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../com/gtnewhorizon/structurelib/structure/AutoPlaceEnvironment.APILevel.html#Legacy">Legacy</a></span></code>
|
||||
<div class="block">Implements <a href="../../../../com/gtnewhorizon/structurelib/structure/AutoPlaceEnvironment.html#getChatter--"><code>AutoPlaceEnvironment.getChatter()</code></a>, <a href="../../../../com/gtnewhorizon/structurelib/structure/AutoPlaceEnvironment.html#getActor--"><code>AutoPlaceEnvironment.getActor()</code></a> and <a href="../../../../com/gtnewhorizon/structurelib/structure/AutoPlaceEnvironment.html#getSource--"><code>AutoPlaceEnvironment.getSource()</code></a>.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../com/gtnewhorizon/structurelib/structure/AutoPlaceEnvironment.APILevel.html#LegacyRelaxed">LegacyRelaxed</a></span></code>
|
||||
<div class="block">Implements <a href="../../../../com/gtnewhorizon/structurelib/structure/AutoPlaceEnvironment.html#getChatter--"><code>AutoPlaceEnvironment.getChatter()</code></a>, <a href="../../../../com/gtnewhorizon/structurelib/structure/AutoPlaceEnvironment.html#getActor--"><code>AutoPlaceEnvironment.getActor()</code></a> and <a href="../../../../com/gtnewhorizon/structurelib/structure/AutoPlaceEnvironment.html#getSource--"><code>AutoPlaceEnvironment.getSource()</code></a>.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../com/gtnewhorizon/structurelib/structure/AutoPlaceEnvironment.APILevel.html#V2">V2</a></span></code>
|
||||
<div class="block">Implements everything so far we have defined.</div>
|
||||
</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></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 <a href="../../../../com/gtnewhorizon/structurelib/structure/AutoPlaceEnvironment.APILevel.html" title="enum in com.gtnewhorizon.structurelib.structure">AutoPlaceEnvironment.APILevel</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/gtnewhorizon/structurelib/structure/AutoPlaceEnvironment.APILevel.html#valueOf-java.lang.String-">valueOf</a></span>(<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> name)</code>
|
||||
<div class="block">Returns the enum constant of this type with the specified name.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i1" class="rowColor">
|
||||
<td class="colFirst"><code>static <a href="../../../../com/gtnewhorizon/structurelib/structure/AutoPlaceEnvironment.APILevel.html" title="enum in com.gtnewhorizon.structurelib.structure">AutoPlaceEnvironment.APILevel</a>[]</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/gtnewhorizon/structurelib/structure/AutoPlaceEnvironment.APILevel.html#values--">values</a></span>()</code>
|
||||
<div class="block">Returns an array containing the constants of this enum type, in
|
||||
the order they are declared.</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Enum">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</a></h3>
|
||||
<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.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/Enum.html?is-external=true#compareTo-E-" title="class or interface in java.lang">compareTo</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.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/Enum.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/Enum.html?is-external=true#getDeclaringClass--" title="class or interface in java.lang">getDeclaringClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.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/Enum.html?is-external=true#name--" title="class or interface in java.lang">name</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true#ordinal--" title="class or interface in java.lang">ordinal</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.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/Enum.html?is-external=true#valueOf-java.lang.Class-java.lang.String-" title="class or interface in java.lang">valueOf</a></code></li>
|
||||
</ul>
|
||||
<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#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#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#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">
|
||||
<!-- ============ ENUM CONSTANT DETAIL =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="enum.constant.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Enum Constant Detail</h3>
|
||||
<a name="Legacy">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>Legacy</h4>
|
||||
<pre>public static final <a href="../../../../com/gtnewhorizon/structurelib/structure/AutoPlaceEnvironment.APILevel.html" title="enum in com.gtnewhorizon.structurelib.structure">AutoPlaceEnvironment.APILevel</a> Legacy</pre>
|
||||
<div class="block">Implements <a href="../../../../com/gtnewhorizon/structurelib/structure/AutoPlaceEnvironment.html#getChatter--"><code>AutoPlaceEnvironment.getChatter()</code></a>, <a href="../../../../com/gtnewhorizon/structurelib/structure/AutoPlaceEnvironment.html#getActor--"><code>AutoPlaceEnvironment.getActor()</code></a> and <a href="../../../../com/gtnewhorizon/structurelib/structure/AutoPlaceEnvironment.html#getSource--"><code>AutoPlaceEnvironment.getSource()</code></a>.
|
||||
<a href="../../../../com/gtnewhorizon/structurelib/structure/AutoPlaceEnvironment.html#getActor--"><code>AutoPlaceEnvironment.getActor()</code></a> is guaranteed to be an <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"><code>EntityPlayerMP</code></a></div>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="LegacyRelaxed">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>LegacyRelaxed</h4>
|
||||
<pre>public static final <a href="../../../../com/gtnewhorizon/structurelib/structure/AutoPlaceEnvironment.APILevel.html" title="enum in com.gtnewhorizon.structurelib.structure">AutoPlaceEnvironment.APILevel</a> LegacyRelaxed</pre>
|
||||
<div class="block">Implements <a href="../../../../com/gtnewhorizon/structurelib/structure/AutoPlaceEnvironment.html#getChatter--"><code>AutoPlaceEnvironment.getChatter()</code></a>, <a href="../../../../com/gtnewhorizon/structurelib/structure/AutoPlaceEnvironment.html#getActor--"><code>AutoPlaceEnvironment.getActor()</code></a> and <a href="../../../../com/gtnewhorizon/structurelib/structure/AutoPlaceEnvironment.html#getSource--"><code>AutoPlaceEnvironment.getSource()</code></a>.
|
||||
<a href="../../../../com/gtnewhorizon/structurelib/structure/AutoPlaceEnvironment.html#getActor--"><code>AutoPlaceEnvironment.getActor()</code></a> is <b>NOT</b> guaranteed to be an <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"><code>EntityPlayerMP</code></a></div>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="V2">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>V2</h4>
|
||||
<pre>public static final <a href="../../../../com/gtnewhorizon/structurelib/structure/AutoPlaceEnvironment.APILevel.html" title="enum in com.gtnewhorizon.structurelib.structure">AutoPlaceEnvironment.APILevel</a> V2</pre>
|
||||
<div class="block">Implements everything so far we have defined.</div>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Detail</h3>
|
||||
<a name="values--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>values</h4>
|
||||
<pre>public static <a href="../../../../com/gtnewhorizon/structurelib/structure/AutoPlaceEnvironment.APILevel.html" title="enum in com.gtnewhorizon.structurelib.structure">AutoPlaceEnvironment.APILevel</a>[] values()</pre>
|
||||
<div class="block">Returns an array containing the constants of this enum type, in
|
||||
the order they are declared. This method may be used to iterate
|
||||
over the constants as follows:
|
||||
<pre>
|
||||
for (AutoPlaceEnvironment.APILevel c : AutoPlaceEnvironment.APILevel.values())
|
||||
System.out.println(c);
|
||||
</pre></div>
|
||||
<dl>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>an array containing the constants of this enum type, in the order they are declared</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="valueOf-java.lang.String-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>valueOf</h4>
|
||||
<pre>public static <a href="../../../../com/gtnewhorizon/structurelib/structure/AutoPlaceEnvironment.APILevel.html" title="enum in com.gtnewhorizon.structurelib.structure">AutoPlaceEnvironment.APILevel</a> valueOf(<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> name)</pre>
|
||||
<div class="block">Returns the enum constant of this type with the specified name.
|
||||
The string must match <i>exactly</i> an identifier used to declare an
|
||||
enum constant in this type. (Extraneous whitespace characters are
|
||||
not permitted.)</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>name</code> - the name of the enum constant to be returned.</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>the enum constant with the specified name</dd>
|
||||
<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 this enum type has no constant with the specified name</dd>
|
||||
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/NullPointerException.html?is-external=true" title="class or interface in java.lang">NullPointerException</a></code> - if the argument is null</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/structure/AutoPlaceEnvironment.html" title="class in com.gtnewhorizon.structurelib.structure"><span class="typeNameLink">Prev Class</span></a></li>
|
||||
<li><a href="../../../../com/gtnewhorizon/structurelib/structure/IBlockPosConsumer.html" title="interface in com.gtnewhorizon.structurelib.structure"><span class="typeNameLink">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../index.html?com/gtnewhorizon/structurelib/structure/AutoPlaceEnvironment.APILevel.html" target="_top">Frames</a></li>
|
||||
<li><a href="AutoPlaceEnvironment.APILevel.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="#enum.constant.summary">Enum Constants</a> | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li><a href="#enum.constant.detail">Enum Constants</a> | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#method.detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,468 @@
|
||||
<!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>AutoPlaceEnvironment (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="AutoPlaceEnvironment (StructureLib 1.7.10-1.1.12-15-g978938d API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
var methods = {"i0":9,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10};
|
||||
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete 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>Prev Class</li>
|
||||
<li><a href="../../../../com/gtnewhorizon/structurelib/structure/AutoPlaceEnvironment.APILevel.html" title="enum in com.gtnewhorizon.structurelib.structure"><span class="typeNameLink">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../index.html?com/gtnewhorizon/structurelib/structure/AutoPlaceEnvironment.html" target="_top">Frames</a></li>
|
||||
<li><a href="AutoPlaceEnvironment.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><a href="#nested.class.summary">Nested</a> | </li>
|
||||
<li>Field | </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>Field | </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.structure</div>
|
||||
<h2 title="Class AutoPlaceEnvironment" class="title">Class AutoPlaceEnvironment</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.structure.AutoPlaceEnvironment</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<hr>
|
||||
<br>
|
||||
<pre>public class <span class="typeNameLabel">AutoPlaceEnvironment</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">Represent the environment in which autoplace of a single element took place.</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ======== NESTED CLASS SUMMARY ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="nested.class.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Nested Class Summary</h3>
|
||||
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation">
|
||||
<caption><span>Nested Classes</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colLast" scope="col">Class and Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>static class </code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/gtnewhorizon/structurelib/structure/AutoPlaceEnvironment.APILevel.html" title="enum in com.gtnewhorizon.structurelib.structure">AutoPlaceEnvironment.APILevel</a></span></code>
|
||||
<div class="block">Defines the various API level an <a href="../../../../com/gtnewhorizon/structurelib/structure/AutoPlaceEnvironment.html" title="class in com.gtnewhorizon.structurelib.structure"><code>AutoPlaceEnvironment</code></a> has implemented.</div>
|
||||
</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="colFirst" scope="col">Modifier</th>
|
||||
<th class="colLast" scope="col">Constructor and Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>protected </code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/gtnewhorizon/structurelib/structure/AutoPlaceEnvironment.html#AutoPlaceEnvironment-com.gtnewhorizon.structurelib.structure.AutoPlaceEnvironment-">AutoPlaceEnvironment</a></span>(<a href="../../../../com/gtnewhorizon/structurelib/structure/AutoPlaceEnvironment.html" title="class in com.gtnewhorizon.structurelib.structure">AutoPlaceEnvironment</a> parent)</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="t2" class="tableTab"><span><a href="javascript:show(2);">Instance 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></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 <a href="../../../../com/gtnewhorizon/structurelib/structure/AutoPlaceEnvironment.html" title="class in com.gtnewhorizon.structurelib.structure">AutoPlaceEnvironment</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/gtnewhorizon/structurelib/structure/AutoPlaceEnvironment.html#fromLegacy-com.gtnewhorizon.structurelib.structure.IItemSource-net.minecraft.entity.player.EntityPlayer-java.util.function.Consumer-">fromLegacy</a></span>(<a href="../../../../com/gtnewhorizon/structurelib/structure/IItemSource.html" title="interface in com.gtnewhorizon.structurelib.structure">IItemSource</a> source,
|
||||
<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,
|
||||
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/function/Consumer.html?is-external=true" title="class or interface in java.util.function">Consumer</a><<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>> chatter)</code> </td>
|
||||
</tr>
|
||||
<tr id="i1" class="rowColor">
|
||||
<td class="colFirst"><code><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></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/gtnewhorizon/structurelib/structure/AutoPlaceEnvironment.html#getActor--">getActor</a></span>()</code>
|
||||
<div class="block">The initiator of actions.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i2" class="altColor">
|
||||
<td class="colFirst"><code><a href="../../../../com/gtnewhorizon/structurelib/structure/AutoPlaceEnvironment.APILevel.html" title="enum in com.gtnewhorizon.structurelib.structure">AutoPlaceEnvironment.APILevel</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/gtnewhorizon/structurelib/structure/AutoPlaceEnvironment.html#getAPILevel--">getAPILevel</a></span>()</code> </td>
|
||||
</tr>
|
||||
<tr id="i3" class="rowColor">
|
||||
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/function/Consumer.html?is-external=true" title="class or interface in java.util.function">Consumer</a><<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>></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/gtnewhorizon/structurelib/structure/AutoPlaceEnvironment.html#getChatter--">getChatter</a></span>()</code>
|
||||
<div class="block">send error messages here.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i4" class="altColor">
|
||||
<td class="colFirst"><code><a href="../../../../com/gtnewhorizon/structurelib/alignment/enumerable/ExtendedFacing.html" title="enum in com.gtnewhorizon.structurelib.alignment.enumerable">ExtendedFacing</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/gtnewhorizon/structurelib/structure/AutoPlaceEnvironment.html#getFacing--">getFacing</a></span>()</code> </td>
|
||||
</tr>
|
||||
<tr id="i5" class="rowColor">
|
||||
<td class="colFirst"><code><a href="../../../../com/gtnewhorizon/structurelib/structure/IItemSource.html" title="interface in com.gtnewhorizon.structurelib.structure">IItemSource</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/gtnewhorizon/structurelib/structure/AutoPlaceEnvironment.html#getSource--">getSource</a></span>()</code>
|
||||
<div class="block">From where survival autoplace will drain resources.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i6" class="altColor">
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/gtnewhorizon/structurelib/structure/AutoPlaceEnvironment.html#isContainedInPiece-int-int-int-">isContainedInPiece</a></span>(int offsetA,
|
||||
int offsetB,
|
||||
int offsetC)</code>
|
||||
<div class="block">Test if given location is contained within the current piece.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i7" class="rowColor">
|
||||
<td class="colFirst"><code><a href="../../../../com/gtnewhorizon/structurelib/structure/AutoPlaceEnvironment.html" title="class in com.gtnewhorizon.structurelib.structure">AutoPlaceEnvironment</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/gtnewhorizon/structurelib/structure/AutoPlaceEnvironment.html#withActor-net.minecraft.entity.player.EntityPlayer-">withActor</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> actor)</code>
|
||||
<div class="block">Return a new instance with actor modified to given value.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i8" class="altColor">
|
||||
<td class="colFirst"><code><a href="../../../../com/gtnewhorizon/structurelib/structure/AutoPlaceEnvironment.html" title="class in com.gtnewhorizon.structurelib.structure">AutoPlaceEnvironment</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/gtnewhorizon/structurelib/structure/AutoPlaceEnvironment.html#withChatter-java.util.function.Consumer-">withChatter</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/function/Consumer.html?is-external=true" title="class or interface in java.util.function">Consumer</a><<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>> chatter)</code>
|
||||
<div class="block">Return a new instance with chatter modified to given value.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i9" class="rowColor">
|
||||
<td class="colFirst"><code><a href="../../../../com/gtnewhorizon/structurelib/structure/AutoPlaceEnvironment.html" title="class in com.gtnewhorizon.structurelib.structure">AutoPlaceEnvironment</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/gtnewhorizon/structurelib/structure/AutoPlaceEnvironment.html#withSource-com.gtnewhorizon.structurelib.structure.IItemSource-">withSource</a></span>(<a href="../../../../com/gtnewhorizon/structurelib/structure/IItemSource.html" title="interface in com.gtnewhorizon.structurelib.structure">IItemSource</a> source)</code>
|
||||
<div class="block">Return a new instance with source modified to given value.</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">
|
||||
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Constructor Detail</h3>
|
||||
<a name="AutoPlaceEnvironment-com.gtnewhorizon.structurelib.structure.AutoPlaceEnvironment-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>AutoPlaceEnvironment</h4>
|
||||
<pre>protected AutoPlaceEnvironment(<a href="../../../../com/gtnewhorizon/structurelib/structure/AutoPlaceEnvironment.html" title="class in com.gtnewhorizon.structurelib.structure">AutoPlaceEnvironment</a> parent)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Detail</h3>
|
||||
<a name="fromLegacy-com.gtnewhorizon.structurelib.structure.IItemSource-net.minecraft.entity.player.EntityPlayer-java.util.function.Consumer-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>fromLegacy</h4>
|
||||
<pre>public static <a href="../../../../com/gtnewhorizon/structurelib/structure/AutoPlaceEnvironment.html" title="class in com.gtnewhorizon.structurelib.structure">AutoPlaceEnvironment</a> fromLegacy(<a href="../../../../com/gtnewhorizon/structurelib/structure/IItemSource.html" title="interface in com.gtnewhorizon.structurelib.structure">IItemSource</a> source,
|
||||
<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,
|
||||
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/function/Consumer.html?is-external=true" title="class or interface in java.util.function">Consumer</a><<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>> chatter)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="getAPILevel--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getAPILevel</h4>
|
||||
<pre>public <a href="../../../../com/gtnewhorizon/structurelib/structure/AutoPlaceEnvironment.APILevel.html" title="enum in com.gtnewhorizon.structurelib.structure">AutoPlaceEnvironment.APILevel</a> getAPILevel()</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="getSource--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getSource</h4>
|
||||
<pre>public <a href="../../../../com/gtnewhorizon/structurelib/structure/IItemSource.html" title="interface in com.gtnewhorizon.structurelib.structure">IItemSource</a> getSource()</pre>
|
||||
<div class="block">From where survival autoplace will drain resources.</div>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="getActor--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getActor</h4>
|
||||
<pre>public <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> getActor()</pre>
|
||||
<div class="block">The initiator of actions. for very critical errors you can also just send the error messages here, bypassing
|
||||
any filter that <a href="../../../../com/gtnewhorizon/structurelib/structure/AutoPlaceEnvironment.html#getChatter--"><code>getChatter()</code></a> might have. You might want to use
|
||||
<a href="../../../../com/gtnewhorizon/structurelib/StructureLibAPI.html#addThrottledChat-java.lang.Object-net.minecraft.entity.player.EntityPlayer-net.minecraft.util.IChatComponent-short-"><code>StructureLibAPI.addThrottledChat(Object, EntityPlayer, IChatComponent, short)</code></a>
|
||||
to help reduce spam.</div>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="getChatter--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getChatter</h4>
|
||||
<pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/util/function/Consumer.html?is-external=true" title="class or interface in java.util.function">Consumer</a><<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>> getChatter()</pre>
|
||||
<div class="block">send error messages here. Caller will choose an appropriate way to forward it to player if the other fallbacks
|
||||
also fails.</div>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="isContainedInPiece-int-int-int-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>isContainedInPiece</h4>
|
||||
<pre>public boolean isContainedInPiece(int offsetA,
|
||||
int offsetB,
|
||||
int offsetC)</pre>
|
||||
<div class="block">Test if given location is contained within the current piece.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>offsetA</code> - offset in A direction <b>relative to current element</b></dd>
|
||||
<dd><code>offsetB</code> - offset in B direction <b>relative to current element</b></dd>
|
||||
<dd><code>offsetC</code> - offset in C direction <b>relative to current element</b></dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>true if contained, false otherwise.</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="getFacing--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getFacing</h4>
|
||||
<pre>public <a href="../../../../com/gtnewhorizon/structurelib/alignment/enumerable/ExtendedFacing.html" title="enum in com.gtnewhorizon.structurelib.alignment.enumerable">ExtendedFacing</a> getFacing()</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="withSource-com.gtnewhorizon.structurelib.structure.IItemSource-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>withSource</h4>
|
||||
<pre>public <a href="../../../../com/gtnewhorizon/structurelib/structure/AutoPlaceEnvironment.html" title="class in com.gtnewhorizon.structurelib.structure">AutoPlaceEnvironment</a> withSource(<a href="../../../../com/gtnewhorizon/structurelib/structure/IItemSource.html" title="interface in com.gtnewhorizon.structurelib.structure">IItemSource</a> source)</pre>
|
||||
<div class="block">Return a new instance with source modified to given value.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>source</code> - new source</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>new instance</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="withActor-net.minecraft.entity.player.EntityPlayer-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>withActor</h4>
|
||||
<pre>public <a href="../../../../com/gtnewhorizon/structurelib/structure/AutoPlaceEnvironment.html" title="class in com.gtnewhorizon.structurelib.structure">AutoPlaceEnvironment</a> withActor(<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">Return a new instance with actor modified to given value.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>actor</code> - new actor</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>new instance</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="withChatter-java.util.function.Consumer-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>withChatter</h4>
|
||||
<pre>public <a href="../../../../com/gtnewhorizon/structurelib/structure/AutoPlaceEnvironment.html" title="class in com.gtnewhorizon.structurelib.structure">AutoPlaceEnvironment</a> withChatter(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/function/Consumer.html?is-external=true" title="class or interface in java.util.function">Consumer</a><<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>> chatter)</pre>
|
||||
<div class="block">Return a new instance with chatter modified to given value.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>chatter</code> - new chatter</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>new instance</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>Prev Class</li>
|
||||
<li><a href="../../../../com/gtnewhorizon/structurelib/structure/AutoPlaceEnvironment.APILevel.html" title="enum in com.gtnewhorizon.structurelib.structure"><span class="typeNameLink">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../index.html?com/gtnewhorizon/structurelib/structure/AutoPlaceEnvironment.html" target="_top">Frames</a></li>
|
||||
<li><a href="AutoPlaceEnvironment.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><a href="#nested.class.summary">Nested</a> | </li>
|
||||
<li>Field | </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>Field | </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>
|
||||
@@ -3,7 +3,7 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc -->
|
||||
<title>IBlockPosConsumer (StructureLib 1.7.10-1.1.12 API)</title>
|
||||
<title>IBlockPosConsumer (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>
|
||||
@@ -11,7 +11,7 @@
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="IBlockPosConsumer (StructureLib 1.7.10-1.1.12 API)";
|
||||
parent.document.title="IBlockPosConsumer (StructureLib 1.7.10-1.1.12-15-g978938d API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
@@ -47,7 +47,7 @@ var activeTableTab = "activeTableTab";
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev Class</li>
|
||||
<li><a href="../../../../com/gtnewhorizon/structurelib/structure/AutoPlaceEnvironment.APILevel.html" title="enum in com.gtnewhorizon.structurelib.structure"><span class="typeNameLink">Prev Class</span></a></li>
|
||||
<li><a href="../../../../com/gtnewhorizon/structurelib/structure/ICustomBlockSetting.html" title="interface in com.gtnewhorizon.structurelib.structure"><span class="typeNameLink">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
@@ -179,7 +179,7 @@ var activeTableTab = "activeTableTab";
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev Class</li>
|
||||
<li><a href="../../../../com/gtnewhorizon/structurelib/structure/AutoPlaceEnvironment.APILevel.html" title="enum in com.gtnewhorizon.structurelib.structure"><span class="typeNameLink">Prev Class</span></a></li>
|
||||
<li><a href="../../../../com/gtnewhorizon/structurelib/structure/ICustomBlockSetting.html" title="interface in com.gtnewhorizon.structurelib.structure"><span class="typeNameLink">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc -->
|
||||
<title>ICustomBlockSetting (StructureLib 1.7.10-1.1.12 API)</title>
|
||||
<title>ICustomBlockSetting (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>
|
||||
@@ -11,7 +11,7 @@
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="ICustomBlockSetting (StructureLib 1.7.10-1.1.12 API)";
|
||||
parent.document.title="ICustomBlockSetting (StructureLib 1.7.10-1.1.12-15-g978938d API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc -->
|
||||
<title>IItemSource (StructureLib 1.7.10-1.1.12 API)</title>
|
||||
<title>IItemSource (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>
|
||||
@@ -11,7 +11,7 @@
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="IItemSource (StructureLib 1.7.10-1.1.12 API)";
|
||||
parent.document.title="IItemSource (StructureLib 1.7.10-1.1.12-15-g978938d API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
@@ -136,8 +136,7 @@ var activeTableTab = "activeTableTab";
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/gtnewhorizon/structurelib/structure/IItemSource.html#take-java.util.function.Predicate-boolean-int-">take</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/function/Predicate.html?is-external=true" title="class or interface in java.util.function">Predicate</a><<a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/net/minecraft/item/ItemStack.html?is-external=true" title="class or interface in net.minecraft.item">ItemStack</a>> predicate,
|
||||
boolean simulate,
|
||||
int count)</code>
|
||||
<div class="block">We are probably not going to need to get a lot of items from this method,
|
||||
so I don't care about the overhead of storing all fetched items even if downstream code doesn't need it</div>
|
||||
<div class="block">Retrieve some amount of items from this item source matching given filter.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i3" class="rowColor">
|
||||
@@ -194,8 +193,18 @@ var activeTableTab = "activeTableTab";
|
||||
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/net/minecraft/item/ItemStack.html?is-external=true" title="class or interface in net.minecraft.item">ItemStack</a>,<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a>> take(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/function/Predicate.html?is-external=true" title="class or interface in java.util.function">Predicate</a><<a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/net/minecraft/item/ItemStack.html?is-external=true" title="class or interface in net.minecraft.item">ItemStack</a>> predicate,
|
||||
boolean simulate,
|
||||
int count)</pre>
|
||||
<div class="block">We are probably not going to need to get a lot of items from this method,
|
||||
<div class="block">Retrieve some amount of items from this item source matching given filter.
|
||||
<p>
|
||||
We probably don't need to get a lot of items from this method,
|
||||
so I don't care about the overhead of storing all fetched items even if downstream code doesn't need it</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>predicate</code> - filtering predicate. should return true for ItemStacks that should be added to result collection</dd>
|
||||
<dd><code>simulate</code> - whether to actually commit the modification. true for dry run, false otherwise.</dd>
|
||||
<dd><code>count</code> - how many items to extract.</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>A nonnull map reflecting the result of extraction. Note this map is NBT and metadata aware.</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="takeOne-java.util.function.Predicate-boolean-">
|
||||
@@ -208,8 +217,13 @@ var activeTableTab = "activeTableTab";
|
||||
boolean simulate)</pre>
|
||||
<div class="block">Take exactly one item that matches the predicate.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>predicate</code> - filtering predicate. should return true for ItemStacks that should be added to result collection</dd>
|
||||
<dd><code>simulate</code> - whether to actually commit the modification. true for dry run, false otherwise.</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>item stack, or null if none matches</dd>
|
||||
<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 given predicate is null.</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
@@ -224,8 +238,14 @@ var activeTableTab = "activeTableTab";
|
||||
int count)</pre>
|
||||
<div class="block">Take exactly count amount of items matching predicate.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>predicate</code> - filtering predicate. should return true for ItemStacks that should be added to result collection</dd>
|
||||
<dd><code>simulate</code> - whether to actually commit the modification. true for dry run, false otherwise.</dd>
|
||||
<dd><code>count</code> - how many items to extract.</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>true if at least count amount of items can be/is taken.</dd>
|
||||
<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 given predicate is null</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
@@ -237,10 +257,19 @@ var activeTableTab = "activeTableTab";
|
||||
<h4>takeOne</h4>
|
||||
<pre>default boolean takeOne(<a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/net/minecraft/item/ItemStack.html?is-external=true" title="class or interface in net.minecraft.item">ItemStack</a> stack,
|
||||
boolean simulate)</pre>
|
||||
<div class="block">Take exactly one item. ItemStack given must have a stack size of 1.</div>
|
||||
<div class="block">Take exactly one item. ItemStack given must have a stack size of 1.
|
||||
<p>
|
||||
This is meant to be an optimized version of <a href="../../../../com/gtnewhorizon/structurelib/structure/IItemSource.html#takeOne-java.util.function.Predicate-boolean-"><code>takeOne(Predicate, boolean)</code></a>.
|
||||
Implementations that support item storage indexed by ItemStack can use this to speed up calculation.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>stack</code> - what item to extract. The NBT tag of this ItemStack is siginifcant and will be
|
||||
considered during matching. must have a stack size of 1.</dd>
|
||||
<dd><code>simulate</code> - whether to actually commit the modification. true for dry run, false otherwise.</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>true if found. false otherwise</dd>
|
||||
<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 given stack is invalid, or has a stack size other than 1.</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
@@ -252,10 +281,19 @@ var activeTableTab = "activeTableTab";
|
||||
<h4>takeAll</h4>
|
||||
<pre>default boolean takeAll(<a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/net/minecraft/item/ItemStack.html?is-external=true" title="class or interface in net.minecraft.item">ItemStack</a> stack,
|
||||
boolean simulate)</pre>
|
||||
<div class="block">Take some item. Will not take item if it cannot find enough items to take.</div>
|
||||
<div class="block">Take some item. Will not take item if it cannot find enough items to take.
|
||||
<p>
|
||||
This is meant to be an optimized version of <a href="../../../../com/gtnewhorizon/structurelib/structure/IItemSource.html#takeOne-java.util.function.Predicate-boolean-"><code>takeOne(Predicate, boolean)</code></a>.
|
||||
Implementations that support indexing off ItemStack can use this to speed up calculation.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>stack</code> - what item and how many to extract. The NBT tag of this ItemStack is siginifcant and will be
|
||||
considered during matching</dd>
|
||||
<dd><code>simulate</code> - whether to actually commit the modification. true for dry run, false otherwise.</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>true if enough item can be/has been extracted. false otherwise</dd>
|
||||
<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 given stack is invalid</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc -->
|
||||
<title>ISpecialItemBlock (StructureLib 1.7.10-1.1.12 API)</title>
|
||||
<title>ISpecialItemBlock (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>
|
||||
@@ -11,7 +11,7 @@
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="ISpecialItemBlock (StructureLib 1.7.10-1.1.12 API)";
|
||||
parent.document.title="ISpecialItemBlock (StructureLib 1.7.10-1.1.12-15-g978938d API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc -->
|
||||
<title>IStructureDefinition (StructureLib 1.7.10-1.1.12 API)</title>
|
||||
<title>IStructureDefinition (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>
|
||||
@@ -11,14 +11,14 @@
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="IStructureDefinition (StructureLib 1.7.10-1.1.12 API)";
|
||||
parent.document.title="IStructureDefinition (StructureLib 1.7.10-1.1.12-15-g978938d API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
var methods = {"i0":18,"i1":17,"i2":18,"i3":18,"i4":6,"i5":18,"i6":17,"i7":18};
|
||||
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"],16:["t5","Default Methods"]};
|
||||
var methods = {"i0":18,"i1":17,"i2":18,"i3":18,"i4":6,"i5":18,"i6":6,"i7":17,"i8":50,"i9":18};
|
||||
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"],16:["t5","Default Methods"],32:["t6","Deprecated Methods"]};
|
||||
var altColor = "altColor";
|
||||
var rowColor = "rowColor";
|
||||
var tableTab = "tableTab";
|
||||
@@ -150,7 +150,7 @@ var activeTableTab = "activeTableTab";
|
||||
</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="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><span id="t5" class="tableTab"><span><a href="javascript:show(16);">Default Methods</a></span><span class="tabEnd"> </span></span></caption>
|
||||
<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="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><span id="t5" class="tableTab"><span><a href="javascript:show(16);">Default 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>
|
||||
@@ -234,6 +234,13 @@ var activeTableTab = "activeTableTab";
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i6" class="altColor">
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureDefinition.html#isContainedInStructure-java.lang.String-int-int-int-">isContainedInStructure</a></span>(<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> name,
|
||||
int offsetA,
|
||||
int offsetB,
|
||||
int offsetC)</code> </td>
|
||||
</tr>
|
||||
<tr id="i7" class="rowColor">
|
||||
<td class="colFirst"><code>static <T> boolean</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureDefinition.html#iterate-T-net.minecraft.item.ItemStack-com.gtnewhorizon.structurelib.structure.IStructureElement:A-net.minecraft.world.World-com.gtnewhorizon.structurelib.alignment.enumerable.ExtendedFacing-int-int-int-int-int-int-boolean-java.lang.Boolean-">iterate</a></span>(T object,
|
||||
<a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/net/minecraft/item/ItemStack.html?is-external=true" title="class or interface in net.minecraft.item">ItemStack</a> trigger,
|
||||
@@ -251,7 +258,7 @@ var activeTableTab = "activeTableTab";
|
||||
<div class="block">Low level utility.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i7" class="rowColor">
|
||||
<tr id="i8" class="altColor">
|
||||
<td class="colFirst"><code>default int</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureDefinition.html#survivalBuild-T-net.minecraft.item.ItemStack-java.lang.String-net.minecraft.world.World-com.gtnewhorizon.structurelib.alignment.enumerable.ExtendedFacing-int-int-int-int-int-int-int-com.gtnewhorizon.structurelib.structure.IItemSource-net.minecraft.entity.player.EntityPlayerMP-boolean-">survivalBuild</a></span>(<a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureDefinition.html" title="type parameter in IStructureDefinition">T</a> object,
|
||||
<a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/net/minecraft/item/ItemStack.html?is-external=true" title="class or interface in net.minecraft.item">ItemStack</a> trigger,
|
||||
@@ -268,6 +275,25 @@ var activeTableTab = "activeTableTab";
|
||||
<a href="../../../../com/gtnewhorizon/structurelib/structure/IItemSource.html" title="interface in com.gtnewhorizon.structurelib.structure">IItemSource</a> source,
|
||||
<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,
|
||||
boolean check)</code>
|
||||
<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i9" class="rowColor">
|
||||
<td class="colFirst"><code>default int</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureDefinition.html#survivalBuild-T-net.minecraft.item.ItemStack-java.lang.String-net.minecraft.world.World-com.gtnewhorizon.structurelib.alignment.enumerable.ExtendedFacing-int-int-int-int-int-int-int-com.gtnewhorizon.structurelib.structure.ISurvivalBuildEnvironment-boolean-">survivalBuild</a></span>(<a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureDefinition.html" title="type parameter in IStructureDefinition">T</a> object,
|
||||
<a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/net/minecraft/item/ItemStack.html?is-external=true" title="class or interface in net.minecraft.item">ItemStack</a> trigger,
|
||||
<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> piece,
|
||||
<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> world,
|
||||
<a href="../../../../com/gtnewhorizon/structurelib/alignment/enumerable/ExtendedFacing.html" title="enum in com.gtnewhorizon.structurelib.alignment.enumerable">ExtendedFacing</a> extendedFacing,
|
||||
int basePositionX,
|
||||
int basePositionY,
|
||||
int basePositionZ,
|
||||
int basePositionA,
|
||||
int basePositionB,
|
||||
int basePositionC,
|
||||
int elementBudget,
|
||||
<a href="../../../../com/gtnewhorizon/structurelib/structure/ISurvivalBuildEnvironment.html" title="interface in com.gtnewhorizon.structurelib.structure">ISurvivalBuildEnvironment</a> env,
|
||||
boolean check)</code>
|
||||
<div class="block">Cause a survival build.</div>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -306,6 +332,18 @@ var activeTableTab = "activeTableTab";
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="isContainedInStructure-java.lang.String-int-int-int-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>isContainedInStructure</h4>
|
||||
<pre>boolean isContainedInStructure(<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> name,
|
||||
int offsetA,
|
||||
int offsetB,
|
||||
int offsetC)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="check-java.lang.Object-java.lang.String-net.minecraft.world.World-com.gtnewhorizon.structurelib.alignment.enumerable.ExtendedFacing-int-int-int-int-int-int-boolean-">
|
||||
<!-- -->
|
||||
</a><a name="check-T-java.lang.String-net.minecraft.world.World-com.gtnewhorizon.structurelib.alignment.enumerable.ExtendedFacing-int-int-int-int-int-int-boolean-">
|
||||
@@ -472,21 +510,23 @@ var activeTableTab = "activeTableTab";
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>survivalBuild</h4>
|
||||
<pre>default int survivalBuild(<a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureDefinition.html" title="type parameter in IStructureDefinition">T</a> object,
|
||||
<a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/net/minecraft/item/ItemStack.html?is-external=true" title="class or interface in net.minecraft.item">ItemStack</a> trigger,
|
||||
<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> piece,
|
||||
<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> world,
|
||||
<a href="../../../../com/gtnewhorizon/structurelib/alignment/enumerable/ExtendedFacing.html" title="enum in com.gtnewhorizon.structurelib.alignment.enumerable">ExtendedFacing</a> extendedFacing,
|
||||
int basePositionX,
|
||||
int basePositionY,
|
||||
int basePositionZ,
|
||||
int basePositionA,
|
||||
int basePositionB,
|
||||
int basePositionC,
|
||||
int elementBudget,
|
||||
<a href="../../../../com/gtnewhorizon/structurelib/structure/IItemSource.html" title="interface in com.gtnewhorizon.structurelib.structure">IItemSource</a> source,
|
||||
<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,
|
||||
boolean check)</pre>
|
||||
<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>
|
||||
default int survivalBuild(<a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureDefinition.html" title="type parameter in IStructureDefinition">T</a> object,
|
||||
<a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/net/minecraft/item/ItemStack.html?is-external=true" title="class or interface in net.minecraft.item">ItemStack</a> trigger,
|
||||
<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> piece,
|
||||
<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> world,
|
||||
<a href="../../../../com/gtnewhorizon/structurelib/alignment/enumerable/ExtendedFacing.html" title="enum in com.gtnewhorizon.structurelib.alignment.enumerable">ExtendedFacing</a> extendedFacing,
|
||||
int basePositionX,
|
||||
int basePositionY,
|
||||
int basePositionZ,
|
||||
int basePositionA,
|
||||
int basePositionB,
|
||||
int basePositionC,
|
||||
int elementBudget,
|
||||
<a href="../../../../com/gtnewhorizon/structurelib/structure/IItemSource.html" title="interface in com.gtnewhorizon.structurelib.structure">IItemSource</a> source,
|
||||
<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,
|
||||
boolean check)</pre>
|
||||
<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div>
|
||||
<div class="block">Cause a survival build.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
@@ -515,6 +555,55 @@ var activeTableTab = "activeTableTab";
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="survivalBuild-java.lang.Object-net.minecraft.item.ItemStack-java.lang.String-net.minecraft.world.World-com.gtnewhorizon.structurelib.alignment.enumerable.ExtendedFacing-int-int-int-int-int-int-int-com.gtnewhorizon.structurelib.structure.ISurvivalBuildEnvironment-boolean-">
|
||||
<!-- -->
|
||||
</a><a name="survivalBuild-T-net.minecraft.item.ItemStack-java.lang.String-net.minecraft.world.World-com.gtnewhorizon.structurelib.alignment.enumerable.ExtendedFacing-int-int-int-int-int-int-int-com.gtnewhorizon.structurelib.structure.ISurvivalBuildEnvironment-boolean-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>survivalBuild</h4>
|
||||
<pre>default int survivalBuild(<a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureDefinition.html" title="type parameter in IStructureDefinition">T</a> object,
|
||||
<a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/net/minecraft/item/ItemStack.html?is-external=true" title="class or interface in net.minecraft.item">ItemStack</a> trigger,
|
||||
<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> piece,
|
||||
<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> world,
|
||||
<a href="../../../../com/gtnewhorizon/structurelib/alignment/enumerable/ExtendedFacing.html" title="enum in com.gtnewhorizon.structurelib.alignment.enumerable">ExtendedFacing</a> extendedFacing,
|
||||
int basePositionX,
|
||||
int basePositionY,
|
||||
int basePositionZ,
|
||||
int basePositionA,
|
||||
int basePositionB,
|
||||
int basePositionC,
|
||||
int elementBudget,
|
||||
<a href="../../../../com/gtnewhorizon/structurelib/structure/ISurvivalBuildEnvironment.html" title="interface in com.gtnewhorizon.structurelib.structure">ISurvivalBuildEnvironment</a> env,
|
||||
boolean check)</pre>
|
||||
<div class="block">Cause a survival build.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>object</code> - context object. usually multiblock controller.</dd>
|
||||
<dd><code>trigger</code> - The trigger item that contains channel data.</dd>
|
||||
<dd><code>piece</code> - the structure piece's string identifier.</dd>
|
||||
<dd><code>world</code> - the world object this check takes place in.</dd>
|
||||
<dd><code>extendedFacing</code> - the current structure's orientation.</dd>
|
||||
<dd><code>basePositionX</code> - X location of the structure</dd>
|
||||
<dd><code>basePositionY</code> - Y location of the structure</dd>
|
||||
<dd><code>basePositionZ</code> - Z location of the structure</dd>
|
||||
<dd><code>basePositionA</code> - see class javadoc</dd>
|
||||
<dd><code>basePositionB</code> - see class javadoc</dd>
|
||||
<dd><code>basePositionC</code> - see class javadoc</dd>
|
||||
<dd><code>elementBudget</code> - build up to this many elements</dd>
|
||||
<dd><code>env</code> - build environment.</dd>
|
||||
<dd><code>check</code> - whether <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html#check-T-net.minecraft.world.World-int-int-int-"><code>IStructureElement.check(Object, World, int, int, int)</code></a> should be called if anything
|
||||
would be placed. use with caution.
|
||||
if in doubt, call <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureDefinition.html#check-T-java.lang.String-net.minecraft.world.World-com.gtnewhorizon.structurelib.alignment.enumerable.ExtendedFacing-int-int-int-int-int-int-boolean-"><code>check(Object, String, World, ExtendedFacing, int, int, int, int, int, int, boolean)</code></a>
|
||||
after this call and set this parameter to false</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>number of elements built, or -1 if structure done</dd>
|
||||
<dt><span class="seeLabel">See Also:</span></dt>
|
||||
<dd><a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureDefinition.html#build-T-net.minecraft.item.ItemStack-java.lang.String-net.minecraft.world.World-com.gtnewhorizon.structurelib.alignment.enumerable.ExtendedFacing-int-int-int-int-int-int-"><code>build(Object, ItemStack, String, World, ExtendedFacing, int, int, int, int, int, int)</code></a></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="iterate-java.lang.Object-net.minecraft.item.ItemStack-com.gtnewhorizon.structurelib.structure.IStructureElement:A-net.minecraft.world.World-com.gtnewhorizon.structurelib.alignment.enumerable.ExtendedFacing-int-int-int-int-int-int-boolean-java.lang.Boolean-">
|
||||
<!-- -->
|
||||
</a><a name="iterate-T-net.minecraft.item.ItemStack-com.gtnewhorizon.structurelib.structure.IStructureElement:A-net.minecraft.world.World-com.gtnewhorizon.structurelib.alignment.enumerable.ExtendedFacing-int-int-int-int-int-int-boolean-java.lang.Boolean-">
|
||||
|
||||
+401
@@ -0,0 +1,401 @@
|
||||
<!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>IStructureElement.BlocksToPlace (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="IStructureElement.BlocksToPlace (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":10,"i8":10};
|
||||
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete 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/structure/IStructureElement.html" title="interface in com.gtnewhorizon.structurelib.structure"><span class="typeNameLink">Prev Class</span></a></li>
|
||||
<li><a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.PlaceResult.html" title="enum in com.gtnewhorizon.structurelib.structure"><span class="typeNameLink">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../index.html?com/gtnewhorizon/structurelib/structure/IStructureElement.BlocksToPlace.html" target="_top">Frames</a></li>
|
||||
<li><a href="IStructureElement.BlocksToPlace.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>Constr | </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>Constr | </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.structure</div>
|
||||
<h2 title="Class IStructureElement.BlocksToPlace" class="title">Class IStructureElement.BlocksToPlace</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.structure.IStructureElement.BlocksToPlace</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<dl>
|
||||
<dt>Enclosing interface:</dt>
|
||||
<dd><a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html" title="interface in com.gtnewhorizon.structurelib.structure">IStructureElement</a><<a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html" title="type parameter in IStructureElement">T</a>></dd>
|
||||
</dl>
|
||||
<hr>
|
||||
<br>
|
||||
<pre>public static final class <span class="typeNameLabel">IStructureElement.BlocksToPlace</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>
|
||||
</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 <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.BlocksToPlace.html" title="class in com.gtnewhorizon.structurelib.structure">IStructureElement.BlocksToPlace</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.BlocksToPlace.html#errored">errored</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="t2" class="tableTab"><span><a href="javascript:show(2);">Instance 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></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 <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.BlocksToPlace.html" title="class in com.gtnewhorizon.structurelib.structure">IStructureElement.BlocksToPlace</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.BlocksToPlace.html#create-net.minecraft.block.Block-int-">create</a></span>(<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> </td>
|
||||
</tr>
|
||||
<tr id="i1" class="rowColor">
|
||||
<td class="colFirst"><code>static <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.BlocksToPlace.html" title="class in com.gtnewhorizon.structurelib.structure">IStructureElement.BlocksToPlace</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.BlocksToPlace.html#create-net.minecraft.item.Item-int-">create</a></span>(<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> item,
|
||||
int meta)</code> </td>
|
||||
</tr>
|
||||
<tr id="i2" class="altColor">
|
||||
<td class="colFirst"><code>static <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.BlocksToPlace.html" title="class in com.gtnewhorizon.structurelib.structure">IStructureElement.BlocksToPlace</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.BlocksToPlace.html#create-net.minecraft.item.ItemStack...-">create</a></span>(<a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/net/minecraft/item/ItemStack.html?is-external=true" title="class or interface in net.minecraft.item">ItemStack</a>... stacks)</code> </td>
|
||||
</tr>
|
||||
<tr id="i3" class="rowColor">
|
||||
<td class="colFirst"><code>static <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.BlocksToPlace.html" title="class in com.gtnewhorizon.structurelib.structure">IStructureElement.BlocksToPlace</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.BlocksToPlace.html#create-net.minecraft.item.ItemStack-">create</a></span>(<a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/net/minecraft/item/ItemStack.html?is-external=true" title="class or interface in net.minecraft.item">ItemStack</a> itemStack)</code> </td>
|
||||
</tr>
|
||||
<tr id="i4" class="altColor">
|
||||
<td class="colFirst"><code>static <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.BlocksToPlace.html" title="class in com.gtnewhorizon.structurelib.structure">IStructureElement.BlocksToPlace</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.BlocksToPlace.html#create-java.lang.Iterable-">create</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a><<a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/net/minecraft/item/ItemStack.html?is-external=true" title="class or interface in net.minecraft.item">ItemStack</a>> stacks)</code> </td>
|
||||
</tr>
|
||||
<tr id="i5" class="rowColor">
|
||||
<td class="colFirst"><code>static <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.BlocksToPlace.html" title="class in com.gtnewhorizon.structurelib.structure">IStructureElement.BlocksToPlace</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.BlocksToPlace.html#create-java.util.function.Predicate-">create</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/function/Predicate.html?is-external=true" title="class or interface in java.util.function">Predicate</a><<a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/net/minecraft/item/ItemStack.html?is-external=true" title="class or interface in net.minecraft.item">ItemStack</a>> predicate)</code> </td>
|
||||
</tr>
|
||||
<tr id="i6" class="altColor">
|
||||
<td class="colFirst"><code>static <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.BlocksToPlace.html" title="class in com.gtnewhorizon.structurelib.structure">IStructureElement.BlocksToPlace</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.BlocksToPlace.html#createEmpty--">createEmpty</a></span>()</code> </td>
|
||||
</tr>
|
||||
<tr id="i7" class="rowColor">
|
||||
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/function/Predicate.html?is-external=true" title="class or interface in java.util.function">Predicate</a><<a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/net/minecraft/item/ItemStack.html?is-external=true" title="class or interface in net.minecraft.item">ItemStack</a>></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.BlocksToPlace.html#getPredicate--">getPredicate</a></span>()</code>
|
||||
<div class="block">Get the blocks to place filter.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i8" class="altColor">
|
||||
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a><<a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/net/minecraft/item/ItemStack.html?is-external=true" title="class or interface in net.minecraft.item">ItemStack</a>></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.BlocksToPlace.html#getStacks--">getStacks</a></span>()</code>
|
||||
<div class="block">Get the ItemStacks that this one is known to accept.</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="errored">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>errored</h4>
|
||||
<pre>public static final <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.BlocksToPlace.html" title="class in com.gtnewhorizon.structurelib.structure">IStructureElement.BlocksToPlace</a> errored</pre>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Detail</h3>
|
||||
<a name="createEmpty--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>createEmpty</h4>
|
||||
<pre>public static <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.BlocksToPlace.html" title="class in com.gtnewhorizon.structurelib.structure">IStructureElement.BlocksToPlace</a> createEmpty()</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="create-net.minecraft.item.ItemStack...-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>create</h4>
|
||||
<pre>public static <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.BlocksToPlace.html" title="class in com.gtnewhorizon.structurelib.structure">IStructureElement.BlocksToPlace</a> create(<a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/net/minecraft/item/ItemStack.html?is-external=true" title="class or interface in net.minecraft.item">ItemStack</a>... stacks)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="create-java.lang.Iterable-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>create</h4>
|
||||
<pre>public static <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.BlocksToPlace.html" title="class in com.gtnewhorizon.structurelib.structure">IStructureElement.BlocksToPlace</a> create(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a><<a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/net/minecraft/item/ItemStack.html?is-external=true" title="class or interface in net.minecraft.item">ItemStack</a>> stacks)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="create-net.minecraft.block.Block-int-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>create</h4>
|
||||
<pre>public static <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.BlocksToPlace.html" title="class in com.gtnewhorizon.structurelib.structure">IStructureElement.BlocksToPlace</a> create(<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>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="create-net.minecraft.item.Item-int-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>create</h4>
|
||||
<pre>public static <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.BlocksToPlace.html" title="class in com.gtnewhorizon.structurelib.structure">IStructureElement.BlocksToPlace</a> create(<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> item,
|
||||
int meta)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="create-net.minecraft.item.ItemStack-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>create</h4>
|
||||
<pre>public static <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.BlocksToPlace.html" title="class in com.gtnewhorizon.structurelib.structure">IStructureElement.BlocksToPlace</a> create(<a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/net/minecraft/item/ItemStack.html?is-external=true" title="class or interface in net.minecraft.item">ItemStack</a> itemStack)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="create-java.util.function.Predicate-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>create</h4>
|
||||
<pre>public static <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.BlocksToPlace.html" title="class in com.gtnewhorizon.structurelib.structure">IStructureElement.BlocksToPlace</a> create(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/function/Predicate.html?is-external=true" title="class or interface in java.util.function">Predicate</a><<a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/net/minecraft/item/ItemStack.html?is-external=true" title="class or interface in net.minecraft.item">ItemStack</a>> predicate)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="getPredicate--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getPredicate</h4>
|
||||
<pre><a href="https://docs.oracle.com/javase/8/docs/api/javax/annotation/Nonnull.html?is-external=true" title="class or interface in javax.annotation">@Nonnull</a>
|
||||
public <a href="https://docs.oracle.com/javase/8/docs/api/java/util/function/Predicate.html?is-external=true" title="class or interface in java.util.function">Predicate</a><<a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/net/minecraft/item/ItemStack.html?is-external=true" title="class or interface in net.minecraft.item">ItemStack</a>> getPredicate()</pre>
|
||||
<div class="block">Get the blocks to place filter. This is usually slower as it requires walking through inventories one by one.
|
||||
<p>
|
||||
Suitable for use with <a href="../../../../com/gtnewhorizon/structurelib/structure/IItemSource.html#takeOne-java.util.function.Predicate-boolean-"><code>IItemSource.takeOne(Predicate, boolean)</code></a></div>
|
||||
<dl>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>a predicate. never null.</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="getStacks--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>getStacks</h4>
|
||||
<pre><a href="https://docs.oracle.com/javase/8/docs/api/javax/annotation/Nullable.html?is-external=true" title="class or interface in javax.annotation">@Nullable</a>
|
||||
public <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a><<a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/net/minecraft/item/ItemStack.html?is-external=true" title="class or interface in net.minecraft.item">ItemStack</a>> getStacks()</pre>
|
||||
<div class="block">Get the ItemStacks that this one is known to accept. Can be null if this info is not available at the time
|
||||
this instance is constructed.
|
||||
<p>
|
||||
Suitable for use with <a href="../../../../com/gtnewhorizon/structurelib/structure/IItemSource.html#takeOne-net.minecraft.item.ItemStack-boolean-"><code>IItemSource.takeOne(ItemStack, boolean)</code></a>.
|
||||
<p>
|
||||
This should be equivalent to the predicate returned from <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.BlocksToPlace.html#getPredicate--"><code>getPredicate()</code></a></div>
|
||||
</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/structure/IStructureElement.html" title="interface in com.gtnewhorizon.structurelib.structure"><span class="typeNameLink">Prev Class</span></a></li>
|
||||
<li><a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.PlaceResult.html" title="enum in com.gtnewhorizon.structurelib.structure"><span class="typeNameLink">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../index.html?com/gtnewhorizon/structurelib/structure/IStructureElement.BlocksToPlace.html" target="_top">Frames</a></li>
|
||||
<li><a href="IStructureElement.BlocksToPlace.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>Constr | </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>Constr | </li>
|
||||
<li><a href="#method.detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</body>
|
||||
</html>
|
||||
+4
-4
@@ -3,7 +3,7 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc -->
|
||||
<title>IStructureElement.PlaceResult (StructureLib 1.7.10-1.1.12 API)</title>
|
||||
<title>IStructureElement.PlaceResult (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>
|
||||
@@ -11,7 +11,7 @@
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="IStructureElement.PlaceResult (StructureLib 1.7.10-1.1.12 API)";
|
||||
parent.document.title="IStructureElement.PlaceResult (StructureLib 1.7.10-1.1.12-15-g978938d API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
@@ -47,7 +47,7 @@ var activeTableTab = "activeTableTab";
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html" title="interface in com.gtnewhorizon.structurelib.structure"><span class="typeNameLink">Prev Class</span></a></li>
|
||||
<li><a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.BlocksToPlace.html" title="class in com.gtnewhorizon.structurelib.structure"><span class="typeNameLink">Prev Class</span></a></li>
|
||||
<li><a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElementChain.html" title="interface in com.gtnewhorizon.structurelib.structure"><span class="typeNameLink">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
@@ -355,7 +355,7 @@ not permitted.)</div>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html" title="interface in com.gtnewhorizon.structurelib.structure"><span class="typeNameLink">Prev Class</span></a></li>
|
||||
<li><a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.BlocksToPlace.html" title="class in com.gtnewhorizon.structurelib.structure"><span class="typeNameLink">Prev Class</span></a></li>
|
||||
<li><a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElementChain.html" title="interface in com.gtnewhorizon.structurelib.structure"><span class="typeNameLink">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc -->
|
||||
<title>IStructureElement (StructureLib 1.7.10-1.1.12 API)</title>
|
||||
<title>IStructureElement (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>
|
||||
@@ -11,14 +11,14 @@
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="IStructureElement (StructureLib 1.7.10-1.1.12 API)";
|
||||
parent.document.title="IStructureElement (StructureLib 1.7.10-1.1.12-15-g978938d API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
var methods = {"i0":6,"i1":18,"i2":18,"i3":18,"i4":18,"i5":18,"i6":6,"i7":18,"i8":18,"i9":18,"i10":6,"i11":18};
|
||||
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"],16:["t5","Default Methods"]};
|
||||
var methods = {"i0":6,"i1":18,"i2":18,"i3":18,"i4":18,"i5":18,"i6":18,"i7":6,"i8":18,"i9":18,"i10":18,"i11":6,"i12":18,"i13":50};
|
||||
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"],16:["t5","Default Methods"],32:["t6","Deprecated Methods"]};
|
||||
var altColor = "altColor";
|
||||
var rowColor = "rowColor";
|
||||
var tableTab = "tableTab";
|
||||
@@ -48,7 +48,7 @@ var activeTableTab = "activeTableTab";
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureDefinition.html" title="interface in com.gtnewhorizon.structurelib.structure"><span class="typeNameLink">Prev Class</span></a></li>
|
||||
<li><a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.PlaceResult.html" title="enum in com.gtnewhorizon.structurelib.structure"><span class="typeNameLink">Next Class</span></a></li>
|
||||
<li><a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.BlocksToPlace.html" title="class in com.gtnewhorizon.structurelib.structure"><span class="typeNameLink">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../index.html?com/gtnewhorizon/structurelib/structure/IStructureElement.html" target="_top">Frames</a></li>
|
||||
@@ -104,7 +104,8 @@ var activeTableTab = "activeTableTab";
|
||||
<hr>
|
||||
<br>
|
||||
<pre>public interface <span class="typeNameLabel">IStructureElement<T></span></pre>
|
||||
<div class="block">Use StructureUtility to instantiate</div>
|
||||
<div class="block">Use StructureUtility to instantiate. These are the building blocks for your <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureDefinition.html" title="interface in com.gtnewhorizon.structurelib.structure"><code>IStructureDefinition</code></a>. It represents
|
||||
what a particular element can be and how this particular element should be autoplaced.</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
@@ -125,6 +126,10 @@ var activeTableTab = "activeTableTab";
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>static class </code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.BlocksToPlace.html" title="class in com.gtnewhorizon.structurelib.structure">IStructureElement.BlocksToPlace</a></span></code> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>static class </code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.PlaceResult.html" title="enum in com.gtnewhorizon.structurelib.structure">IStructureElement.PlaceResult</a></span></code> </td>
|
||||
</tr>
|
||||
</table>
|
||||
@@ -137,7 +142,7 @@ var activeTableTab = "activeTableTab";
|
||||
</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="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><span id="t5" class="tableTab"><span><a href="javascript:show(16);">Default Methods</a></span><span class="tabEnd"> </span></span></caption>
|
||||
<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><span id="t5" class="tableTab"><span><a href="javascript:show(16);">Default 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>
|
||||
@@ -151,28 +156,40 @@ var activeTableTab = "activeTableTab";
|
||||
int z)</code> </td>
|
||||
</tr>
|
||||
<tr id="i1" class="rowColor">
|
||||
<td class="colFirst"><code>default int</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html#getStepA--">getStepA</a></span>()</code> </td>
|
||||
<td class="colFirst"><code>default <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.BlocksToPlace.html" title="class in com.gtnewhorizon.structurelib.structure">IStructureElement.BlocksToPlace</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html#getBlocksToPlace-T-net.minecraft.world.World-int-int-int-net.minecraft.item.ItemStack-com.gtnewhorizon.structurelib.structure.AutoPlaceEnvironment-">getBlocksToPlace</a></span>(<a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html" title="type parameter in IStructureElement">T</a> t,
|
||||
<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> world,
|
||||
int x,
|
||||
int y,
|
||||
int z,
|
||||
<a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/net/minecraft/item/ItemStack.html?is-external=true" title="class or interface in net.minecraft.item">ItemStack</a> trigger,
|
||||
<a href="../../../../com/gtnewhorizon/structurelib/structure/AutoPlaceEnvironment.html" title="class in com.gtnewhorizon.structurelib.structure">AutoPlaceEnvironment</a> env)</code>
|
||||
<div class="block">A simplified version of survivalPlaceBlock.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i2" class="altColor">
|
||||
<td class="colFirst"><code>default int</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html#getStepB--">getStepB</a></span>()</code> </td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html#getStepA--">getStepA</a></span>()</code> </td>
|
||||
</tr>
|
||||
<tr id="i3" class="rowColor">
|
||||
<td class="colFirst"><code>default int</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html#getStepC--">getStepC</a></span>()</code> </td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html#getStepB--">getStepB</a></span>()</code> </td>
|
||||
</tr>
|
||||
<tr id="i4" class="altColor">
|
||||
<td class="colFirst"><code>default int</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html#getStepC--">getStepC</a></span>()</code> </td>
|
||||
</tr>
|
||||
<tr id="i5" class="rowColor">
|
||||
<td class="colFirst"><code>default boolean</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html#isNavigating--">isNavigating</a></span>()</code> </td>
|
||||
</tr>
|
||||
<tr id="i5" class="rowColor">
|
||||
<tr id="i6" class="altColor">
|
||||
<td class="colFirst"><code>default <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElementNoPlacement.html" title="interface in com.gtnewhorizon.structurelib.structure">IStructureElementNoPlacement</a><<a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html" title="type parameter in IStructureElement">T</a>></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html#noPlacement--">noPlacement</a></span>()</code>
|
||||
<div class="block">Forget the messed up class dependency graph for now.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i6" class="altColor">
|
||||
<tr id="i7" class="rowColor">
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html#placeBlock-T-net.minecraft.world.World-int-int-int-net.minecraft.item.ItemStack-">placeBlock</a></span>(<a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html" title="type parameter in IStructureElement">T</a> t,
|
||||
<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> world,
|
||||
@@ -181,19 +198,19 @@ var activeTableTab = "activeTableTab";
|
||||
int z,
|
||||
<a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/net/minecraft/item/ItemStack.html?is-external=true" title="class or interface in net.minecraft.item">ItemStack</a> trigger)</code> </td>
|
||||
</tr>
|
||||
<tr id="i7" class="rowColor">
|
||||
<tr id="i8" class="altColor">
|
||||
<td class="colFirst"><code>default boolean</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html#resetA--">resetA</a></span>()</code> </td>
|
||||
</tr>
|
||||
<tr id="i8" class="altColor">
|
||||
<tr id="i9" class="rowColor">
|
||||
<td class="colFirst"><code>default boolean</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html#resetB--">resetB</a></span>()</code> </td>
|
||||
</tr>
|
||||
<tr id="i9" class="rowColor">
|
||||
<tr id="i10" class="altColor">
|
||||
<td class="colFirst"><code>default boolean</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html#resetC--">resetC</a></span>()</code> </td>
|
||||
</tr>
|
||||
<tr id="i10" class="altColor">
|
||||
<tr id="i11" class="rowColor">
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html#spawnHint-T-net.minecraft.world.World-int-int-int-net.minecraft.item.ItemStack-">spawnHint</a></span>(<a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html" title="type parameter in IStructureElement">T</a> t,
|
||||
<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> world,
|
||||
@@ -202,7 +219,19 @@ var activeTableTab = "activeTableTab";
|
||||
int z,
|
||||
<a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/net/minecraft/item/ItemStack.html?is-external=true" title="class or interface in net.minecraft.item">ItemStack</a> trigger)</code> </td>
|
||||
</tr>
|
||||
<tr id="i11" class="rowColor">
|
||||
<tr id="i12" class="altColor">
|
||||
<td class="colFirst"><code>default <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.PlaceResult.html" title="enum in com.gtnewhorizon.structurelib.structure">IStructureElement.PlaceResult</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><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-">survivalPlaceBlock</a></span>(<a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html" title="type parameter in IStructureElement">T</a> t,
|
||||
<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> world,
|
||||
int x,
|
||||
int y,
|
||||
int z,
|
||||
<a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/net/minecraft/item/ItemStack.html?is-external=true" title="class or interface in net.minecraft.item">ItemStack</a> trigger,
|
||||
<a href="../../../../com/gtnewhorizon/structurelib/structure/AutoPlaceEnvironment.html" title="class in com.gtnewhorizon.structurelib.structure">AutoPlaceEnvironment</a> env)</code>
|
||||
<div class="block">Try place the block by taking resource from given <a href="../../../../com/gtnewhorizon/structurelib/structure/IItemSource.html" title="interface in com.gtnewhorizon.structurelib.structure"><code>IItemSource</code></a>.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i13" class="rowColor">
|
||||
<td class="colFirst"><code>default <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.PlaceResult.html" title="enum in com.gtnewhorizon.structurelib.structure">IStructureElement.PlaceResult</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><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.IItemSource-net.minecraft.entity.player.EntityPlayerMP-java.util.function.Consumer-">survivalPlaceBlock</a></span>(<a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html" title="type parameter in IStructureElement">T</a> t,
|
||||
<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> world,
|
||||
@@ -213,7 +242,11 @@ var activeTableTab = "activeTableTab";
|
||||
<a href="../../../../com/gtnewhorizon/structurelib/structure/IItemSource.html" title="interface in com.gtnewhorizon.structurelib.structure">IItemSource</a> s,
|
||||
<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,
|
||||
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/function/Consumer.html?is-external=true" title="class or interface in java.util.function">Consumer</a><<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>> chatter)</code>
|
||||
<div class="block">Try place the block by taking resource from given IItemSource.</div>
|
||||
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
|
||||
<div class="block"><span class="deprecationComment">caller should call the non deprecated overload. implementor for reusable <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html" title="interface in com.gtnewhorizon.structurelib.structure"><code>IStructureElement</code></a>
|
||||
should still implement this. implementor for private implementations can freely ignore this as long as you know
|
||||
the caller will not call this overload.</span></div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
@@ -286,18 +319,22 @@ var activeTableTab = "activeTableTab";
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>survivalPlaceBlock</h4>
|
||||
<pre>default <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.PlaceResult.html" title="enum in com.gtnewhorizon.structurelib.structure">IStructureElement.PlaceResult</a> survivalPlaceBlock(<a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html" title="type parameter in IStructureElement">T</a> t,
|
||||
<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> world,
|
||||
int x,
|
||||
int y,
|
||||
int z,
|
||||
<a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/net/minecraft/item/ItemStack.html?is-external=true" title="class or interface in net.minecraft.item">ItemStack</a> trigger,
|
||||
<a href="../../../../com/gtnewhorizon/structurelib/structure/IItemSource.html" title="interface in com.gtnewhorizon.structurelib.structure">IItemSource</a> s,
|
||||
<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,
|
||||
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/function/Consumer.html?is-external=true" title="class or interface in java.util.function">Consumer</a><<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>> chatter)</pre>
|
||||
<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>
|
||||
default <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.PlaceResult.html" title="enum in com.gtnewhorizon.structurelib.structure">IStructureElement.PlaceResult</a> survivalPlaceBlock(<a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html" title="type parameter in IStructureElement">T</a> t,
|
||||
<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> world,
|
||||
int x,
|
||||
int y,
|
||||
int z,
|
||||
<a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/net/minecraft/item/ItemStack.html?is-external=true" title="class or interface in net.minecraft.item">ItemStack</a> trigger,
|
||||
<a href="../../../../com/gtnewhorizon/structurelib/structure/IItemSource.html" title="interface in com.gtnewhorizon.structurelib.structure">IItemSource</a> s,
|
||||
<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,
|
||||
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/function/Consumer.html?is-external=true" title="class or interface in java.util.function">Consumer</a><<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>> chatter)</pre>
|
||||
<div class="block"><span class="deprecatedLabel">Deprecated.</span> <span class="deprecationComment">caller should call the non deprecated overload. implementor for reusable <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html" title="interface in com.gtnewhorizon.structurelib.structure"><code>IStructureElement</code></a>
|
||||
should still implement this. implementor for private implementations can freely ignore this as long as you know
|
||||
the caller will not call this overload.</span></div>
|
||||
<div class="block">Try place the block by taking resource from given IItemSource.
|
||||
<p>
|
||||
You might want to use <a href="../../../../com/gtnewhorizon/structurelib/structure/StructureUtility.html#survivalPlaceBlock-net.minecraft.block.Block-int-net.minecraft.world.World-int-int-int-com.gtnewhorizon.structurelib.structure.IItemSource-net.minecraft.entity.player.EntityPlayerMP-"><code>StructureUtility.survivalPlaceBlock(Block, int, World, int, int, int, IItemSource, EntityPlayerMP)</code></a>
|
||||
You might want to use <a href="../../../../com/gtnewhorizon/structurelib/structure/StructureUtility.html#survivalPlaceBlock-net.minecraft.block.Block-int-net.minecraft.world.World-int-int-int-com.gtnewhorizon.structurelib.structure.IItemSource-net.minecraft.entity.player.EntityPlayer-"><code>StructureUtility.survivalPlaceBlock(Block, int, World, int, int, int, IItemSource, net.minecraft.entity.player.EntityPlayer)</code></a>
|
||||
or its overloads to implement this.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
@@ -310,6 +347,87 @@ var activeTableTab = "activeTableTab";
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="getBlocksToPlace-java.lang.Object-net.minecraft.world.World-int-int-int-net.minecraft.item.ItemStack-com.gtnewhorizon.structurelib.structure.AutoPlaceEnvironment-">
|
||||
<!-- -->
|
||||
</a><a name="getBlocksToPlace-T-net.minecraft.world.World-int-int-int-net.minecraft.item.ItemStack-com.gtnewhorizon.structurelib.structure.AutoPlaceEnvironment-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getBlocksToPlace</h4>
|
||||
<pre><a href="https://docs.oracle.com/javase/8/docs/api/javax/annotation/Nullable.html?is-external=true" title="class or interface in javax.annotation">@Nullable</a>
|
||||
default <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.BlocksToPlace.html" title="class in com.gtnewhorizon.structurelib.structure">IStructureElement.BlocksToPlace</a> getBlocksToPlace(<a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html" title="type parameter in IStructureElement">T</a> t,
|
||||
<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> world,
|
||||
int x,
|
||||
int y,
|
||||
int z,
|
||||
<a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/net/minecraft/item/ItemStack.html?is-external=true" title="class or interface in net.minecraft.item">ItemStack</a> trigger,
|
||||
<a href="../../../../com/gtnewhorizon/structurelib/structure/AutoPlaceEnvironment.html" title="class in com.gtnewhorizon.structurelib.structure">AutoPlaceEnvironment</a> env)</pre>
|
||||
<div class="block">A simplified version of survivalPlaceBlock. Return null if not implemented.
|
||||
<p>
|
||||
<b>BY OVERRIDING THIS TO NULL, YOU ACKNOWLEDGE THAT THE <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html#check-T-net.minecraft.world.World-int-int-int-"><code>check(Object, World, int, int, int)</code></a> OF THIS
|
||||
CLASS IS SIDE EFFECT FREE AND CAN HAVE ITS CHECK CALLED WITHOUT BREAKING ANYTHING. OTHERWISE OVERRIDE THE
|
||||
<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>survivalPlaceBlock(Object, World, int, int, int, ItemStack, AutoPlaceEnvironment)</code></a> TO PROVIDE A SIDEEFFECT
|
||||
FREE <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.PlaceResult.html#SKIP"><code>IStructureElement.PlaceResult.SKIP</code></a>.</b>
|
||||
<p>
|
||||
It should be noticed that this filter is only advisory and the actual <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>survivalPlaceBlock(Object, World, int, int, int, ItemStack, AutoPlaceEnvironment)</code></a>
|
||||
or <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html#check-T-net.minecraft.world.World-int-int-int-"><code>check(Object, World, int, int, int)</code></a> are free to reject/accept/place blocks not contained in this list,
|
||||
e.g. when the element can be placed anywhere in the structure, but no more than 3 overall; when the structure
|
||||
element cannot know all blocks it will accept at the time of calling; when this is backed by a legacy
|
||||
<a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html" title="interface in com.gtnewhorizon.structurelib.structure"><code>IStructureElement</code></a> that just didn't implement this API.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>trigger</code> - trigger item</dd>
|
||||
<dd><code>env</code> - autoplacing environment</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>null if not implemented, otherwise an instance describing what kind of blocks will be placed by <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>survivalPlaceBlock(Object, World, int, int, int, ItemStack, AutoPlaceEnvironment)</code></a></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="survivalPlaceBlock-java.lang.Object-net.minecraft.world.World-int-int-int-net.minecraft.item.ItemStack-com.gtnewhorizon.structurelib.structure.AutoPlaceEnvironment-">
|
||||
<!-- -->
|
||||
</a><a name="survivalPlaceBlock-T-net.minecraft.world.World-int-int-int-net.minecraft.item.ItemStack-com.gtnewhorizon.structurelib.structure.AutoPlaceEnvironment-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>survivalPlaceBlock</h4>
|
||||
<pre>default <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.PlaceResult.html" title="enum in com.gtnewhorizon.structurelib.structure">IStructureElement.PlaceResult</a> survivalPlaceBlock(<a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html" title="type parameter in IStructureElement">T</a> t,
|
||||
<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> world,
|
||||
int x,
|
||||
int y,
|
||||
int z,
|
||||
<a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/net/minecraft/item/ItemStack.html?is-external=true" title="class or interface in net.minecraft.item">ItemStack</a> trigger,
|
||||
<a href="../../../../com/gtnewhorizon/structurelib/structure/AutoPlaceEnvironment.html" title="class in com.gtnewhorizon.structurelib.structure">AutoPlaceEnvironment</a> env)</pre>
|
||||
<div class="block">Try place the block by taking resource from given <a href="../../../../com/gtnewhorizon/structurelib/structure/IItemSource.html" title="interface in com.gtnewhorizon.structurelib.structure"><code>IItemSource</code></a>.
|
||||
<p>
|
||||
You might want to use <a href="../../../../com/gtnewhorizon/structurelib/structure/StructureUtility.html#survivalPlaceBlock-net.minecraft.block.Block-int-net.minecraft.world.World-int-int-int-com.gtnewhorizon.structurelib.structure.IItemSource-net.minecraft.entity.player.EntityPlayer-"><code>StructureUtility.survivalPlaceBlock(Block, int, World, int, int, int, IItemSource, net.minecraft.entity.player.EntityPlayer)</code></a>
|
||||
or its overloads to implement this.
|
||||
<p>
|
||||
The default implementation provided will
|
||||
<ol>
|
||||
<li>Get <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.BlocksToPlace.html" title="class in com.gtnewhorizon.structurelib.structure"><code>IStructureElement.BlocksToPlace</code></a> via <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html#getBlocksToPlace-T-net.minecraft.world.World-int-int-int-net.minecraft.item.ItemStack-com.gtnewhorizon.structurelib.structure.AutoPlaceEnvironment-"><code>getBlocksToPlace(Object, World, int, int, int, ItemStack, AutoPlaceEnvironment)</code></a>. If not null
|
||||
<ol>
|
||||
<li>call <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html#check-T-net.minecraft.world.World-int-int-int-"><code>check(Object, World, int, int, int)</code></a>. If this returns <code>true</code>, <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.PlaceResult.html#SKIP"><code>IStructureElement.PlaceResult.SKIP</code></a> will be returned without further action.</li>
|
||||
<li>Use the <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.BlocksToPlace.html" title="class in com.gtnewhorizon.structurelib.structure"><code>IStructureElement.BlocksToPlace</code></a> retrieved earlier and passed in <a href="../../../../com/gtnewhorizon/structurelib/structure/IItemSource.html" title="interface in com.gtnewhorizon.structurelib.structure"><code>IItemSource</code></a> to determine an item to place</li>
|
||||
<li>Hand over control to <code>StructureUtility#survivalPlaceBlock(ItemStack, NBTMode, NBTTagCompound, boolean, World, int, int, int, IItemSource, EntityPlayer, Consumer)</code></li>
|
||||
</ol>
|
||||
</li>
|
||||
<li>Call legacy <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.IItemSource-net.minecraft.entity.player.EntityPlayerMP-java.util.function.Consumer-"><code>survivalPlaceBlock(Object, World, int, int, int, ItemStack, IItemSource, EntityPlayerMP, Consumer)</code></a> if <code>env.getActor()</code> contains an <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"><code>EntityPlayerMP</code></a></li>
|
||||
<li>Emit warning under debug mode (or throw exception under panic mode), then return <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.PlaceResult.html#SKIP"><code>IStructureElement.PlaceResult.SKIP</code></a></li>
|
||||
</ol>
|
||||
It should be noticed that the default implementation is likely to cause unexpected issues if the
|
||||
<a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html#check-T-net.minecraft.world.World-int-int-int-"><code>check(Object, World, int, int, int)</code></a> is not side effect free, or is not idempotent.
|
||||
E.g. the <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html#check-T-net.minecraft.world.World-int-int-int-"><code>check(Object, World, int, int, int)</code></a> will add current coord to a <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util"><code>List</code></a>. As
|
||||
this method might be invoked at a location that is already accepted, this will cause the machine to have multiple
|
||||
of this coord in its list.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>trigger</code> - trigger item</dd>
|
||||
<dd><code>env</code> - autoplacing environment</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="noPlacement--">
|
||||
<!-- -->
|
||||
</a>
|
||||
@@ -411,7 +529,7 @@ var activeTableTab = "activeTableTab";
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureDefinition.html" title="interface in com.gtnewhorizon.structurelib.structure"><span class="typeNameLink">Prev Class</span></a></li>
|
||||
<li><a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.PlaceResult.html" title="enum in com.gtnewhorizon.structurelib.structure"><span class="typeNameLink">Next Class</span></a></li>
|
||||
<li><a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.BlocksToPlace.html" title="class in com.gtnewhorizon.structurelib.structure"><span class="typeNameLink">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../index.html?com/gtnewhorizon/structurelib/structure/IStructureElement.html" target="_top">Frames</a></li>
|
||||
|
||||
+117
-8
@@ -3,7 +3,7 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc -->
|
||||
<title>IStructureElementChain (StructureLib 1.7.10-1.1.12 API)</title>
|
||||
<title>IStructureElementChain (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>
|
||||
@@ -11,13 +11,13 @@
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="IStructureElementChain (StructureLib 1.7.10-1.1.12 API)";
|
||||
parent.document.title="IStructureElementChain (StructureLib 1.7.10-1.1.12-15-g978938d API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
var methods = {"i0":18,"i1":6,"i2":18,"i3":18,"i4":18};
|
||||
var methods = {"i0":18,"i1":6,"i2":18,"i3":18,"i4":18,"i5":18,"i6":18};
|
||||
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"],16:["t5","Default Methods"]};
|
||||
var altColor = "altColor";
|
||||
var rowColor = "rowColor";
|
||||
@@ -123,7 +123,7 @@ extends <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureE
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Nested classes/interfaces inherited from interface com.gtnewhorizon.structurelib.structure.<a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html" title="interface in com.gtnewhorizon.structurelib.structure">IStructureElement</a></h3>
|
||||
<code><a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.PlaceResult.html" title="enum in com.gtnewhorizon.structurelib.structure">IStructureElement.PlaceResult</a></code></li>
|
||||
<code><a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.BlocksToPlace.html" title="class in com.gtnewhorizon.structurelib.structure">IStructureElement.BlocksToPlace</a>, <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.PlaceResult.html" title="enum in com.gtnewhorizon.structurelib.structure">IStructureElement.PlaceResult</a></code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
@@ -152,6 +152,18 @@ extends <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureE
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElementChain.html#fallbacks--">fallbacks</a></span>()</code> </td>
|
||||
</tr>
|
||||
<tr id="i2" class="altColor">
|
||||
<td class="colFirst"><code>default <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.BlocksToPlace.html" title="class in com.gtnewhorizon.structurelib.structure">IStructureElement.BlocksToPlace</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElementChain.html#getBlocksToPlace-T-net.minecraft.world.World-int-int-int-net.minecraft.item.ItemStack-com.gtnewhorizon.structurelib.structure.AutoPlaceEnvironment-">getBlocksToPlace</a></span>(<a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElementChain.html" title="type parameter in IStructureElementChain">T</a> t,
|
||||
<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> world,
|
||||
int x,
|
||||
int y,
|
||||
int z,
|
||||
<a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/net/minecraft/item/ItemStack.html?is-external=true" title="class or interface in net.minecraft.item">ItemStack</a> trigger,
|
||||
<a href="../../../../com/gtnewhorizon/structurelib/structure/AutoPlaceEnvironment.html" title="class in com.gtnewhorizon.structurelib.structure">AutoPlaceEnvironment</a> env)</code>
|
||||
<div class="block">A simplified version of survivalPlaceBlock.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i3" class="rowColor">
|
||||
<td class="colFirst"><code>default boolean</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElementChain.html#placeBlock-T-net.minecraft.world.World-int-int-int-net.minecraft.item.ItemStack-">placeBlock</a></span>(<a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElementChain.html" title="type parameter in IStructureElementChain">T</a> t,
|
||||
<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> world,
|
||||
@@ -160,7 +172,7 @@ extends <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureE
|
||||
int z,
|
||||
<a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/net/minecraft/item/ItemStack.html?is-external=true" title="class or interface in net.minecraft.item">ItemStack</a> trigger)</code> </td>
|
||||
</tr>
|
||||
<tr id="i3" class="rowColor">
|
||||
<tr id="i4" class="altColor">
|
||||
<td class="colFirst"><code>default boolean</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElementChain.html#spawnHint-T-net.minecraft.world.World-int-int-int-net.minecraft.item.ItemStack-">spawnHint</a></span>(<a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElementChain.html" title="type parameter in IStructureElementChain">T</a> t,
|
||||
<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> world,
|
||||
@@ -169,7 +181,19 @@ extends <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureE
|
||||
int z,
|
||||
<a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/net/minecraft/item/ItemStack.html?is-external=true" title="class or interface in net.minecraft.item">ItemStack</a> trigger)</code> </td>
|
||||
</tr>
|
||||
<tr id="i4" class="altColor">
|
||||
<tr id="i5" class="rowColor">
|
||||
<td class="colFirst"><code>default <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.PlaceResult.html" title="enum in com.gtnewhorizon.structurelib.structure">IStructureElement.PlaceResult</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElementChain.html#survivalPlaceBlock-T-net.minecraft.world.World-int-int-int-net.minecraft.item.ItemStack-com.gtnewhorizon.structurelib.structure.AutoPlaceEnvironment-">survivalPlaceBlock</a></span>(<a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElementChain.html" title="type parameter in IStructureElementChain">T</a> t,
|
||||
<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> world,
|
||||
int x,
|
||||
int y,
|
||||
int z,
|
||||
<a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/net/minecraft/item/ItemStack.html?is-external=true" title="class or interface in net.minecraft.item">ItemStack</a> trigger,
|
||||
<a href="../../../../com/gtnewhorizon/structurelib/structure/AutoPlaceEnvironment.html" title="class in com.gtnewhorizon.structurelib.structure">AutoPlaceEnvironment</a> env)</code>
|
||||
<div class="block">Try place the block by taking resource from given <a href="../../../../com/gtnewhorizon/structurelib/structure/IItemSource.html" title="interface in com.gtnewhorizon.structurelib.structure"><code>IItemSource</code></a>.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i6" class="altColor">
|
||||
<td class="colFirst"><code>default <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.PlaceResult.html" title="enum in com.gtnewhorizon.structurelib.structure">IStructureElement.PlaceResult</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElementChain.html#survivalPlaceBlock-T-net.minecraft.world.World-int-int-int-net.minecraft.item.ItemStack-com.gtnewhorizon.structurelib.structure.IItemSource-net.minecraft.entity.player.EntityPlayerMP-java.util.function.Consumer-">survivalPlaceBlock</a></span>(<a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElementChain.html" title="type parameter in IStructureElementChain">T</a> t,
|
||||
<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> world,
|
||||
@@ -273,12 +297,51 @@ extends <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureE
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="getBlocksToPlace-java.lang.Object-net.minecraft.world.World-int-int-int-net.minecraft.item.ItemStack-com.gtnewhorizon.structurelib.structure.AutoPlaceEnvironment-">
|
||||
<!-- -->
|
||||
</a><a name="getBlocksToPlace-T-net.minecraft.world.World-int-int-int-net.minecraft.item.ItemStack-com.gtnewhorizon.structurelib.structure.AutoPlaceEnvironment-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getBlocksToPlace</h4>
|
||||
<pre><a href="https://docs.oracle.com/javase/8/docs/api/javax/annotation/Nullable.html?is-external=true" title="class or interface in javax.annotation">@Nullable</a>
|
||||
default <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.BlocksToPlace.html" title="class in com.gtnewhorizon.structurelib.structure">IStructureElement.BlocksToPlace</a> getBlocksToPlace(<a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElementChain.html" title="type parameter in IStructureElementChain">T</a> t,
|
||||
<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> world,
|
||||
int x,
|
||||
int y,
|
||||
int z,
|
||||
<a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/net/minecraft/item/ItemStack.html?is-external=true" title="class or interface in net.minecraft.item">ItemStack</a> trigger,
|
||||
<a href="../../../../com/gtnewhorizon/structurelib/structure/AutoPlaceEnvironment.html" title="class in com.gtnewhorizon.structurelib.structure">AutoPlaceEnvironment</a> env)</pre>
|
||||
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html#getBlocksToPlace-T-net.minecraft.world.World-int-int-int-net.minecraft.item.ItemStack-com.gtnewhorizon.structurelib.structure.AutoPlaceEnvironment-">IStructureElement</a></code></span></div>
|
||||
<div class="block">A simplified version of survivalPlaceBlock. Return null if not implemented.
|
||||
<p>
|
||||
<b>BY OVERRIDING THIS TO NULL, YOU ACKNOWLEDGE THAT THE <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html#check-T-net.minecraft.world.World-int-int-int-"><code>IStructureElement.check(Object, World, int, int, int)</code></a> OF THIS
|
||||
CLASS IS SIDE EFFECT FREE AND CAN HAVE ITS CHECK CALLED WITHOUT BREAKING ANYTHING. OTHERWISE OVERRIDE THE
|
||||
<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> TO PROVIDE A SIDEEFFECT
|
||||
FREE <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.PlaceResult.html#SKIP"><code>IStructureElement.PlaceResult.SKIP</code></a>.</b>
|
||||
<p>
|
||||
It should be noticed that this filter is only advisory and the actual <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>
|
||||
or <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html#check-T-net.minecraft.world.World-int-int-int-"><code>IStructureElement.check(Object, World, int, int, int)</code></a> are free to reject/accept/place blocks not contained in this list,
|
||||
e.g. when the element can be placed anywhere in the structure, but no more than 3 overall; when the structure
|
||||
element cannot know all blocks it will accept at the time of calling; when this is backed by a legacy
|
||||
<a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html" title="interface in com.gtnewhorizon.structurelib.structure"><code>IStructureElement</code></a> that just didn't implement this API.</div>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
||||
<dd><code><a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html#getBlocksToPlace-T-net.minecraft.world.World-int-int-int-net.minecraft.item.ItemStack-com.gtnewhorizon.structurelib.structure.AutoPlaceEnvironment-">getBlocksToPlace</a></code> in interface <code><a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html" title="interface in com.gtnewhorizon.structurelib.structure">IStructureElement</a><<a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElementChain.html" title="type parameter in IStructureElementChain">T</a>></code></dd>
|
||||
<dd><code>trigger</code> - trigger item</dd>
|
||||
<dd><code>env</code> - autoplacing environment</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>null if not implemented, otherwise an instance describing what kind of blocks will be placed by <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></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="survivalPlaceBlock-java.lang.Object-net.minecraft.world.World-int-int-int-net.minecraft.item.ItemStack-com.gtnewhorizon.structurelib.structure.IItemSource-net.minecraft.entity.player.EntityPlayerMP-java.util.function.Consumer-">
|
||||
<!-- -->
|
||||
</a><a name="survivalPlaceBlock-T-net.minecraft.world.World-int-int-int-net.minecraft.item.ItemStack-com.gtnewhorizon.structurelib.structure.IItemSource-net.minecraft.entity.player.EntityPlayerMP-java.util.function.Consumer-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>survivalPlaceBlock</h4>
|
||||
<pre>default <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.PlaceResult.html" title="enum in com.gtnewhorizon.structurelib.structure">IStructureElement.PlaceResult</a> survivalPlaceBlock(<a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElementChain.html" title="type parameter in IStructureElementChain">T</a> t,
|
||||
@@ -293,7 +356,7 @@ extends <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureE
|
||||
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><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.IItemSource-net.minecraft.entity.player.EntityPlayerMP-java.util.function.Consumer-">IStructureElement</a></code></span></div>
|
||||
<div class="block">Try place the block by taking resource from given IItemSource.
|
||||
<p>
|
||||
You might want to use <a href="../../../../com/gtnewhorizon/structurelib/structure/StructureUtility.html#survivalPlaceBlock-net.minecraft.block.Block-int-net.minecraft.world.World-int-int-int-com.gtnewhorizon.structurelib.structure.IItemSource-net.minecraft.entity.player.EntityPlayerMP-"><code>StructureUtility.survivalPlaceBlock(Block, int, World, int, int, int, IItemSource, EntityPlayerMP)</code></a>
|
||||
You might want to use <a href="../../../../com/gtnewhorizon/structurelib/structure/StructureUtility.html#survivalPlaceBlock-net.minecraft.block.Block-int-net.minecraft.world.World-int-int-int-com.gtnewhorizon.structurelib.structure.IItemSource-net.minecraft.entity.player.EntityPlayer-"><code>StructureUtility.survivalPlaceBlock(Block, int, World, int, int, int, IItemSource, net.minecraft.entity.player.EntityPlayer)</code></a>
|
||||
or its overloads to implement this.</div>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
||||
@@ -307,6 +370,52 @@ extends <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureE
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="survivalPlaceBlock-java.lang.Object-net.minecraft.world.World-int-int-int-net.minecraft.item.ItemStack-com.gtnewhorizon.structurelib.structure.AutoPlaceEnvironment-">
|
||||
<!-- -->
|
||||
</a><a name="survivalPlaceBlock-T-net.minecraft.world.World-int-int-int-net.minecraft.item.ItemStack-com.gtnewhorizon.structurelib.structure.AutoPlaceEnvironment-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>survivalPlaceBlock</h4>
|
||||
<pre>default <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.PlaceResult.html" title="enum in com.gtnewhorizon.structurelib.structure">IStructureElement.PlaceResult</a> survivalPlaceBlock(<a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElementChain.html" title="type parameter in IStructureElementChain">T</a> t,
|
||||
<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> world,
|
||||
int x,
|
||||
int y,
|
||||
int z,
|
||||
<a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/net/minecraft/item/ItemStack.html?is-external=true" title="class or interface in net.minecraft.item">ItemStack</a> trigger,
|
||||
<a href="../../../../com/gtnewhorizon/structurelib/structure/AutoPlaceEnvironment.html" title="class in com.gtnewhorizon.structurelib.structure">AutoPlaceEnvironment</a> env)</pre>
|
||||
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><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-">IStructureElement</a></code></span></div>
|
||||
<div class="block">Try place the block by taking resource from given <a href="../../../../com/gtnewhorizon/structurelib/structure/IItemSource.html" title="interface in com.gtnewhorizon.structurelib.structure"><code>IItemSource</code></a>.
|
||||
<p>
|
||||
You might want to use <a href="../../../../com/gtnewhorizon/structurelib/structure/StructureUtility.html#survivalPlaceBlock-net.minecraft.block.Block-int-net.minecraft.world.World-int-int-int-com.gtnewhorizon.structurelib.structure.IItemSource-net.minecraft.entity.player.EntityPlayer-"><code>StructureUtility.survivalPlaceBlock(Block, int, World, int, int, int, IItemSource, net.minecraft.entity.player.EntityPlayer)</code></a>
|
||||
or its overloads to implement this.
|
||||
<p>
|
||||
The default implementation provided will
|
||||
<ol>
|
||||
<li>Get <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.BlocksToPlace.html" title="class in com.gtnewhorizon.structurelib.structure"><code>IStructureElement.BlocksToPlace</code></a> via <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html#getBlocksToPlace-T-net.minecraft.world.World-int-int-int-net.minecraft.item.ItemStack-com.gtnewhorizon.structurelib.structure.AutoPlaceEnvironment-"><code>IStructureElement.getBlocksToPlace(Object, World, int, int, int, ItemStack, AutoPlaceEnvironment)</code></a>. If not null
|
||||
<ol>
|
||||
<li>call <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html#check-T-net.minecraft.world.World-int-int-int-"><code>IStructureElement.check(Object, World, int, int, int)</code></a>. If this returns <code>true</code>, <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.PlaceResult.html#SKIP"><code>IStructureElement.PlaceResult.SKIP</code></a> will be returned without further action.</li>
|
||||
<li>Use the <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.BlocksToPlace.html" title="class in com.gtnewhorizon.structurelib.structure"><code>IStructureElement.BlocksToPlace</code></a> retrieved earlier and passed in <a href="../../../../com/gtnewhorizon/structurelib/structure/IItemSource.html" title="interface in com.gtnewhorizon.structurelib.structure"><code>IItemSource</code></a> to determine an item to place</li>
|
||||
<li>Hand over control to <code>StructureUtility#survivalPlaceBlock(ItemStack, NBTMode, NBTTagCompound, boolean, World, int, int, int, IItemSource, EntityPlayer, Consumer)</code></li>
|
||||
</ol>
|
||||
</li>
|
||||
<li>Call legacy <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.IItemSource-net.minecraft.entity.player.EntityPlayerMP-java.util.function.Consumer-"><code>IStructureElement.survivalPlaceBlock(Object, World, int, int, int, ItemStack, IItemSource, EntityPlayerMP, Consumer)</code></a> if <code>env.getActor()</code> contains an <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"><code>EntityPlayerMP</code></a></li>
|
||||
<li>Emit warning under debug mode (or throw exception under panic mode), then return <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.PlaceResult.html#SKIP"><code>IStructureElement.PlaceResult.SKIP</code></a></li>
|
||||
</ol>
|
||||
It should be noticed that the default implementation is likely to cause unexpected issues if the
|
||||
<a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html#check-T-net.minecraft.world.World-int-int-int-"><code>IStructureElement.check(Object, World, int, int, int)</code></a> is not side effect free, or is not idempotent.
|
||||
E.g. the <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html#check-T-net.minecraft.world.World-int-int-int-"><code>IStructureElement.check(Object, World, int, int, int)</code></a> will add current coord to a <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util"><code>List</code></a>. As
|
||||
this method might be invoked at a location that is already accepted, this will cause the machine to have multiple
|
||||
of this coord in its list.</div>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
||||
<dd><code><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-">survivalPlaceBlock</a></code> in interface <code><a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html" title="interface in com.gtnewhorizon.structurelib.structure">IStructureElement</a><<a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElementChain.html" title="type parameter in IStructureElementChain">T</a>></code></dd>
|
||||
<dd><code>trigger</code> - trigger item</dd>
|
||||
<dd><code>env</code> - autoplacing environment</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
+65
-7
@@ -3,7 +3,7 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc -->
|
||||
<title>IStructureElementCheckOnly (StructureLib 1.7.10-1.1.12 API)</title>
|
||||
<title>IStructureElementCheckOnly (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>
|
||||
@@ -11,13 +11,13 @@
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="IStructureElementCheckOnly (StructureLib 1.7.10-1.1.12 API)";
|
||||
parent.document.title="IStructureElementCheckOnly (StructureLib 1.7.10-1.1.12-15-g978938d API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
var methods = {"i0":18,"i1":18,"i2":18};
|
||||
var methods = {"i0":18,"i1":18,"i2":18,"i3":18};
|
||||
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],16:["t5","Default Methods"]};
|
||||
var altColor = "altColor";
|
||||
var rowColor = "rowColor";
|
||||
@@ -122,7 +122,7 @@ extends <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureE
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Nested classes/interfaces inherited from interface com.gtnewhorizon.structurelib.structure.<a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html" title="interface in com.gtnewhorizon.structurelib.structure">IStructureElement</a></h3>
|
||||
<code><a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.PlaceResult.html" title="enum in com.gtnewhorizon.structurelib.structure">IStructureElement.PlaceResult</a></code></li>
|
||||
<code><a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.BlocksToPlace.html" title="class in com.gtnewhorizon.structurelib.structure">IStructureElement.BlocksToPlace</a>, <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.PlaceResult.html" title="enum in com.gtnewhorizon.structurelib.structure">IStructureElement.PlaceResult</a></code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
@@ -158,6 +158,18 @@ extends <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureE
|
||||
</tr>
|
||||
<tr id="i2" class="altColor">
|
||||
<td class="colFirst"><code>default <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.PlaceResult.html" title="enum in com.gtnewhorizon.structurelib.structure">IStructureElement.PlaceResult</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElementCheckOnly.html#survivalPlaceBlock-T-net.minecraft.world.World-int-int-int-net.minecraft.item.ItemStack-com.gtnewhorizon.structurelib.structure.AutoPlaceEnvironment-">survivalPlaceBlock</a></span>(<a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElementCheckOnly.html" title="type parameter in IStructureElementCheckOnly">T</a> t,
|
||||
<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> world,
|
||||
int x,
|
||||
int y,
|
||||
int z,
|
||||
<a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/net/minecraft/item/ItemStack.html?is-external=true" title="class or interface in net.minecraft.item">ItemStack</a> trigger,
|
||||
<a href="../../../../com/gtnewhorizon/structurelib/structure/AutoPlaceEnvironment.html" title="class in com.gtnewhorizon.structurelib.structure">AutoPlaceEnvironment</a> env)</code>
|
||||
<div class="block">Try place the block by taking resource from given <a href="../../../../com/gtnewhorizon/structurelib/structure/IItemSource.html" title="interface in com.gtnewhorizon.structurelib.structure"><code>IItemSource</code></a>.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i3" class="rowColor">
|
||||
<td class="colFirst"><code>default <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.PlaceResult.html" title="enum in com.gtnewhorizon.structurelib.structure">IStructureElement.PlaceResult</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElementCheckOnly.html#survivalPlaceBlock-T-net.minecraft.world.World-int-int-int-net.minecraft.item.ItemStack-com.gtnewhorizon.structurelib.structure.IItemSource-net.minecraft.entity.player.EntityPlayerMP-java.util.function.Consumer-">survivalPlaceBlock</a></span>(<a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElementCheckOnly.html" title="type parameter in IStructureElementCheckOnly">T</a> t,
|
||||
<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> world,
|
||||
int x,
|
||||
@@ -176,7 +188,7 @@ extends <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureE
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from interface com.gtnewhorizon.structurelib.structure.<a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html" title="interface in com.gtnewhorizon.structurelib.structure">IStructureElement</a></h3>
|
||||
<code><a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html#check-T-net.minecraft.world.World-int-int-int-">check</a>, <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html#getStepA--">getStepA</a>, <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html#getStepB--">getStepB</a>, <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html#getStepC--">getStepC</a>, <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html#isNavigating--">isNavigating</a>, <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html#noPlacement--">noPlacement</a>, <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html#resetA--">resetA</a>, <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html#resetB--">resetB</a>, <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html#resetC--">resetC</a></code></li>
|
||||
<code><a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html#check-T-net.minecraft.world.World-int-int-int-">check</a>, <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html#getBlocksToPlace-T-net.minecraft.world.World-int-int-int-net.minecraft.item.ItemStack-com.gtnewhorizon.structurelib.structure.AutoPlaceEnvironment-">getBlocksToPlace</a>, <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html#getStepA--">getStepA</a>, <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html#getStepB--">getStepB</a>, <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html#getStepC--">getStepC</a>, <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html#isNavigating--">isNavigating</a>, <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html#noPlacement--">noPlacement</a>, <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html#resetA--">resetA</a>, <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html#resetB--">resetB</a>, <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html#resetC--">resetC</a></code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
@@ -237,7 +249,7 @@ extends <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureE
|
||||
</a><a name="survivalPlaceBlock-T-net.minecraft.world.World-int-int-int-net.minecraft.item.ItemStack-com.gtnewhorizon.structurelib.structure.IItemSource-net.minecraft.entity.player.EntityPlayerMP-java.util.function.Consumer-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>survivalPlaceBlock</h4>
|
||||
<pre>default <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.PlaceResult.html" title="enum in com.gtnewhorizon.structurelib.structure">IStructureElement.PlaceResult</a> survivalPlaceBlock(<a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElementCheckOnly.html" title="type parameter in IStructureElementCheckOnly">T</a> t,
|
||||
@@ -252,7 +264,7 @@ extends <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureE
|
||||
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><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.IItemSource-net.minecraft.entity.player.EntityPlayerMP-java.util.function.Consumer-">IStructureElement</a></code></span></div>
|
||||
<div class="block">Try place the block by taking resource from given IItemSource.
|
||||
<p>
|
||||
You might want to use <a href="../../../../com/gtnewhorizon/structurelib/structure/StructureUtility.html#survivalPlaceBlock-net.minecraft.block.Block-int-net.minecraft.world.World-int-int-int-com.gtnewhorizon.structurelib.structure.IItemSource-net.minecraft.entity.player.EntityPlayerMP-"><code>StructureUtility.survivalPlaceBlock(Block, int, World, int, int, int, IItemSource, EntityPlayerMP)</code></a>
|
||||
You might want to use <a href="../../../../com/gtnewhorizon/structurelib/structure/StructureUtility.html#survivalPlaceBlock-net.minecraft.block.Block-int-net.minecraft.world.World-int-int-int-com.gtnewhorizon.structurelib.structure.IItemSource-net.minecraft.entity.player.EntityPlayer-"><code>StructureUtility.survivalPlaceBlock(Block, int, World, int, int, int, IItemSource, net.minecraft.entity.player.EntityPlayer)</code></a>
|
||||
or its overloads to implement this.</div>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
||||
@@ -266,6 +278,52 @@ extends <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureE
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="survivalPlaceBlock-java.lang.Object-net.minecraft.world.World-int-int-int-net.minecraft.item.ItemStack-com.gtnewhorizon.structurelib.structure.AutoPlaceEnvironment-">
|
||||
<!-- -->
|
||||
</a><a name="survivalPlaceBlock-T-net.minecraft.world.World-int-int-int-net.minecraft.item.ItemStack-com.gtnewhorizon.structurelib.structure.AutoPlaceEnvironment-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>survivalPlaceBlock</h4>
|
||||
<pre>default <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.PlaceResult.html" title="enum in com.gtnewhorizon.structurelib.structure">IStructureElement.PlaceResult</a> survivalPlaceBlock(<a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElementCheckOnly.html" title="type parameter in IStructureElementCheckOnly">T</a> t,
|
||||
<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> world,
|
||||
int x,
|
||||
int y,
|
||||
int z,
|
||||
<a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/net/minecraft/item/ItemStack.html?is-external=true" title="class or interface in net.minecraft.item">ItemStack</a> trigger,
|
||||
<a href="../../../../com/gtnewhorizon/structurelib/structure/AutoPlaceEnvironment.html" title="class in com.gtnewhorizon.structurelib.structure">AutoPlaceEnvironment</a> env)</pre>
|
||||
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><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-">IStructureElement</a></code></span></div>
|
||||
<div class="block">Try place the block by taking resource from given <a href="../../../../com/gtnewhorizon/structurelib/structure/IItemSource.html" title="interface in com.gtnewhorizon.structurelib.structure"><code>IItemSource</code></a>.
|
||||
<p>
|
||||
You might want to use <a href="../../../../com/gtnewhorizon/structurelib/structure/StructureUtility.html#survivalPlaceBlock-net.minecraft.block.Block-int-net.minecraft.world.World-int-int-int-com.gtnewhorizon.structurelib.structure.IItemSource-net.minecraft.entity.player.EntityPlayer-"><code>StructureUtility.survivalPlaceBlock(Block, int, World, int, int, int, IItemSource, net.minecraft.entity.player.EntityPlayer)</code></a>
|
||||
or its overloads to implement this.
|
||||
<p>
|
||||
The default implementation provided will
|
||||
<ol>
|
||||
<li>Get <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.BlocksToPlace.html" title="class in com.gtnewhorizon.structurelib.structure"><code>IStructureElement.BlocksToPlace</code></a> via <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html#getBlocksToPlace-T-net.minecraft.world.World-int-int-int-net.minecraft.item.ItemStack-com.gtnewhorizon.structurelib.structure.AutoPlaceEnvironment-"><code>IStructureElement.getBlocksToPlace(Object, World, int, int, int, ItemStack, AutoPlaceEnvironment)</code></a>. If not null
|
||||
<ol>
|
||||
<li>call <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html#check-T-net.minecraft.world.World-int-int-int-"><code>IStructureElement.check(Object, World, int, int, int)</code></a>. If this returns <code>true</code>, <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.PlaceResult.html#SKIP"><code>IStructureElement.PlaceResult.SKIP</code></a> will be returned without further action.</li>
|
||||
<li>Use the <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.BlocksToPlace.html" title="class in com.gtnewhorizon.structurelib.structure"><code>IStructureElement.BlocksToPlace</code></a> retrieved earlier and passed in <a href="../../../../com/gtnewhorizon/structurelib/structure/IItemSource.html" title="interface in com.gtnewhorizon.structurelib.structure"><code>IItemSource</code></a> to determine an item to place</li>
|
||||
<li>Hand over control to <code>StructureUtility#survivalPlaceBlock(ItemStack, NBTMode, NBTTagCompound, boolean, World, int, int, int, IItemSource, EntityPlayer, Consumer)</code></li>
|
||||
</ol>
|
||||
</li>
|
||||
<li>Call legacy <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.IItemSource-net.minecraft.entity.player.EntityPlayerMP-java.util.function.Consumer-"><code>IStructureElement.survivalPlaceBlock(Object, World, int, int, int, ItemStack, IItemSource, EntityPlayerMP, Consumer)</code></a> if <code>env.getActor()</code> contains an <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"><code>EntityPlayerMP</code></a></li>
|
||||
<li>Emit warning under debug mode (or throw exception under panic mode), then return <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.PlaceResult.html#SKIP"><code>IStructureElement.PlaceResult.SKIP</code></a></li>
|
||||
</ol>
|
||||
It should be noticed that the default implementation is likely to cause unexpected issues if the
|
||||
<a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html#check-T-net.minecraft.world.World-int-int-int-"><code>IStructureElement.check(Object, World, int, int, int)</code></a> is not side effect free, or is not idempotent.
|
||||
E.g. the <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html#check-T-net.minecraft.world.World-int-int-int-"><code>IStructureElement.check(Object, World, int, int, int)</code></a> will add current coord to a <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util"><code>List</code></a>. As
|
||||
this method might be invoked at a location that is already accepted, this will cause the machine to have multiple
|
||||
of this coord in its list.</div>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
||||
<dd><code><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-">survivalPlaceBlock</a></code> in interface <code><a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html" title="interface in com.gtnewhorizon.structurelib.structure">IStructureElement</a><<a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElementCheckOnly.html" title="type parameter in IStructureElementCheckOnly">T</a>></code></dd>
|
||||
<dd><code>trigger</code> - trigger item</dd>
|
||||
<dd><code>env</code> - autoplacing environment</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
+4
-4
@@ -3,7 +3,7 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc -->
|
||||
<title>IStructureElementDeferred (StructureLib 1.7.10-1.1.12 API)</title>
|
||||
<title>IStructureElementDeferred (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>
|
||||
@@ -11,7 +11,7 @@
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="IStructureElementDeferred (StructureLib 1.7.10-1.1.12 API)";
|
||||
parent.document.title="IStructureElementDeferred (StructureLib 1.7.10-1.1.12-15-g978938d API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
@@ -117,7 +117,7 @@ extends <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureE
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Nested classes/interfaces inherited from interface com.gtnewhorizon.structurelib.structure.<a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html" title="interface in com.gtnewhorizon.structurelib.structure">IStructureElement</a></h3>
|
||||
<code><a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.PlaceResult.html" title="enum in com.gtnewhorizon.structurelib.structure">IStructureElement.PlaceResult</a></code></li>
|
||||
<code><a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.BlocksToPlace.html" title="class in com.gtnewhorizon.structurelib.structure">IStructureElement.BlocksToPlace</a>, <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.PlaceResult.html" title="enum in com.gtnewhorizon.structurelib.structure">IStructureElement.PlaceResult</a></code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
@@ -132,7 +132,7 @@ extends <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureE
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from interface com.gtnewhorizon.structurelib.structure.<a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html" title="interface in com.gtnewhorizon.structurelib.structure">IStructureElement</a></h3>
|
||||
<code><a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html#check-T-net.minecraft.world.World-int-int-int-">check</a>, <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html#getStepA--">getStepA</a>, <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html#getStepB--">getStepB</a>, <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html#getStepC--">getStepC</a>, <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html#isNavigating--">isNavigating</a>, <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html#noPlacement--">noPlacement</a>, <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html#placeBlock-T-net.minecraft.world.World-int-int-int-net.minecraft.item.ItemStack-">placeBlock</a>, <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html#resetA--">resetA</a>, <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html#resetB--">resetB</a>, <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html#resetC--">resetC</a>, <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html#spawnHint-T-net.minecraft.world.World-int-int-int-net.minecraft.item.ItemStack-">spawnHint</a>, <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.IItemSource-net.minecraft.entity.player.EntityPlayerMP-java.util.function.Consumer-">survivalPlaceBlock</a></code></li>
|
||||
<code><a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html#check-T-net.minecraft.world.World-int-int-int-">check</a>, <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html#getBlocksToPlace-T-net.minecraft.world.World-int-int-int-net.minecraft.item.ItemStack-com.gtnewhorizon.structurelib.structure.AutoPlaceEnvironment-">getBlocksToPlace</a>, <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html#getStepA--">getStepA</a>, <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html#getStepB--">getStepB</a>, <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html#getStepC--">getStepC</a>, <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html#isNavigating--">isNavigating</a>, <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html#noPlacement--">noPlacement</a>, <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html#placeBlock-T-net.minecraft.world.World-int-int-int-net.minecraft.item.ItemStack-">placeBlock</a>, <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html#resetA--">resetA</a>, <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html#resetB--">resetB</a>, <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html#resetC--">resetC</a>, <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html#spawnHint-T-net.minecraft.world.World-int-int-int-net.minecraft.item.ItemStack-">spawnHint</a>, <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-">survivalPlaceBlock</a>, <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.IItemSource-net.minecraft.entity.player.EntityPlayerMP-java.util.function.Consumer-">survivalPlaceBlock</a></code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
+66
-8
@@ -3,7 +3,7 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc -->
|
||||
<title>IStructureElementNoPlacement (StructureLib 1.7.10-1.1.12 API)</title>
|
||||
<title>IStructureElementNoPlacement (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>
|
||||
@@ -11,13 +11,13 @@
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="IStructureElementNoPlacement (StructureLib 1.7.10-1.1.12 API)";
|
||||
parent.document.title="IStructureElementNoPlacement (StructureLib 1.7.10-1.1.12-15-g978938d API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
var methods = {"i0":18,"i1":18,"i2":18};
|
||||
var methods = {"i0":18,"i1":18,"i2":18,"i3":18};
|
||||
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],16:["t5","Default Methods"]};
|
||||
var altColor = "altColor";
|
||||
var rowColor = "rowColor";
|
||||
@@ -48,7 +48,7 @@ var activeTableTab = "activeTableTab";
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElementDeferred.html" title="interface in com.gtnewhorizon.structurelib.structure"><span class="typeNameLink">Prev Class</span></a></li>
|
||||
<li><a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureWalker.html" title="interface in com.gtnewhorizon.structurelib.structure"><span class="typeNameLink">Next Class</span></a></li>
|
||||
<li><a href="../../../../com/gtnewhorizon/structurelib/structure/ISurvivalBuildEnvironment.html" title="interface in com.gtnewhorizon.structurelib.structure"><span class="typeNameLink">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../index.html?com/gtnewhorizon/structurelib/structure/IStructureElementNoPlacement.html" target="_top">Frames</a></li>
|
||||
@@ -122,7 +122,7 @@ extends <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureE
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Nested classes/interfaces inherited from interface com.gtnewhorizon.structurelib.structure.<a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html" title="interface in com.gtnewhorizon.structurelib.structure">IStructureElement</a></h3>
|
||||
<code><a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.PlaceResult.html" title="enum in com.gtnewhorizon.structurelib.structure">IStructureElement.PlaceResult</a></code></li>
|
||||
<code><a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.BlocksToPlace.html" title="class in com.gtnewhorizon.structurelib.structure">IStructureElement.BlocksToPlace</a>, <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.PlaceResult.html" title="enum in com.gtnewhorizon.structurelib.structure">IStructureElement.PlaceResult</a></code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
@@ -155,6 +155,18 @@ extends <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureE
|
||||
</tr>
|
||||
<tr id="i2" class="altColor">
|
||||
<td class="colFirst"><code>default <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.PlaceResult.html" title="enum in com.gtnewhorizon.structurelib.structure">IStructureElement.PlaceResult</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElementNoPlacement.html#survivalPlaceBlock-T-net.minecraft.world.World-int-int-int-net.minecraft.item.ItemStack-com.gtnewhorizon.structurelib.structure.AutoPlaceEnvironment-">survivalPlaceBlock</a></span>(<a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElementNoPlacement.html" title="type parameter in IStructureElementNoPlacement">T</a> t,
|
||||
<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> world,
|
||||
int x,
|
||||
int y,
|
||||
int z,
|
||||
<a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/net/minecraft/item/ItemStack.html?is-external=true" title="class or interface in net.minecraft.item">ItemStack</a> trigger,
|
||||
<a href="../../../../com/gtnewhorizon/structurelib/structure/AutoPlaceEnvironment.html" title="class in com.gtnewhorizon.structurelib.structure">AutoPlaceEnvironment</a> env)</code>
|
||||
<div class="block">Try place the block by taking resource from given <a href="../../../../com/gtnewhorizon/structurelib/structure/IItemSource.html" title="interface in com.gtnewhorizon.structurelib.structure"><code>IItemSource</code></a>.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i3" class="rowColor">
|
||||
<td class="colFirst"><code>default <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.PlaceResult.html" title="enum in com.gtnewhorizon.structurelib.structure">IStructureElement.PlaceResult</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElementNoPlacement.html#survivalPlaceBlock-T-net.minecraft.world.World-int-int-int-net.minecraft.item.ItemStack-com.gtnewhorizon.structurelib.structure.IItemSource-net.minecraft.entity.player.EntityPlayerMP-java.util.function.Consumer-">survivalPlaceBlock</a></span>(<a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElementNoPlacement.html" title="type parameter in IStructureElementNoPlacement">T</a> t,
|
||||
<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> world,
|
||||
int x,
|
||||
@@ -173,7 +185,7 @@ extends <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureE
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from interface com.gtnewhorizon.structurelib.structure.<a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html" title="interface in com.gtnewhorizon.structurelib.structure">IStructureElement</a></h3>
|
||||
<code><a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html#check-T-net.minecraft.world.World-int-int-int-">check</a>, <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html#getStepA--">getStepA</a>, <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html#getStepB--">getStepB</a>, <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html#getStepC--">getStepC</a>, <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html#isNavigating--">isNavigating</a>, <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html#resetA--">resetA</a>, <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html#resetB--">resetB</a>, <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html#resetC--">resetC</a>, <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html#spawnHint-T-net.minecraft.world.World-int-int-int-net.minecraft.item.ItemStack-">spawnHint</a></code></li>
|
||||
<code><a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html#check-T-net.minecraft.world.World-int-int-int-">check</a>, <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html#getBlocksToPlace-T-net.minecraft.world.World-int-int-int-net.minecraft.item.ItemStack-com.gtnewhorizon.structurelib.structure.AutoPlaceEnvironment-">getBlocksToPlace</a>, <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html#getStepA--">getStepA</a>, <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html#getStepB--">getStepB</a>, <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html#getStepC--">getStepC</a>, <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html#isNavigating--">isNavigating</a>, <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html#resetA--">resetA</a>, <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html#resetB--">resetB</a>, <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html#resetC--">resetC</a>, <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html#spawnHint-T-net.minecraft.world.World-int-int-int-net.minecraft.item.ItemStack-">spawnHint</a></code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
@@ -229,7 +241,7 @@ extends <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureE
|
||||
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><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.IItemSource-net.minecraft.entity.player.EntityPlayerMP-java.util.function.Consumer-">IStructureElement</a></code></span></div>
|
||||
<div class="block">Try place the block by taking resource from given IItemSource.
|
||||
<p>
|
||||
You might want to use <a href="../../../../com/gtnewhorizon/structurelib/structure/StructureUtility.html#survivalPlaceBlock-net.minecraft.block.Block-int-net.minecraft.world.World-int-int-int-com.gtnewhorizon.structurelib.structure.IItemSource-net.minecraft.entity.player.EntityPlayerMP-"><code>StructureUtility.survivalPlaceBlock(Block, int, World, int, int, int, IItemSource, EntityPlayerMP)</code></a>
|
||||
You might want to use <a href="../../../../com/gtnewhorizon/structurelib/structure/StructureUtility.html#survivalPlaceBlock-net.minecraft.block.Block-int-net.minecraft.world.World-int-int-int-com.gtnewhorizon.structurelib.structure.IItemSource-net.minecraft.entity.player.EntityPlayer-"><code>StructureUtility.survivalPlaceBlock(Block, int, World, int, int, int, IItemSource, net.minecraft.entity.player.EntityPlayer)</code></a>
|
||||
or its overloads to implement this.</div>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
||||
@@ -243,6 +255,52 @@ extends <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureE
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="survivalPlaceBlock-java.lang.Object-net.minecraft.world.World-int-int-int-net.minecraft.item.ItemStack-com.gtnewhorizon.structurelib.structure.AutoPlaceEnvironment-">
|
||||
<!-- -->
|
||||
</a><a name="survivalPlaceBlock-T-net.minecraft.world.World-int-int-int-net.minecraft.item.ItemStack-com.gtnewhorizon.structurelib.structure.AutoPlaceEnvironment-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>survivalPlaceBlock</h4>
|
||||
<pre>default <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.PlaceResult.html" title="enum in com.gtnewhorizon.structurelib.structure">IStructureElement.PlaceResult</a> survivalPlaceBlock(<a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElementNoPlacement.html" title="type parameter in IStructureElementNoPlacement">T</a> t,
|
||||
<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> world,
|
||||
int x,
|
||||
int y,
|
||||
int z,
|
||||
<a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/net/minecraft/item/ItemStack.html?is-external=true" title="class or interface in net.minecraft.item">ItemStack</a> trigger,
|
||||
<a href="../../../../com/gtnewhorizon/structurelib/structure/AutoPlaceEnvironment.html" title="class in com.gtnewhorizon.structurelib.structure">AutoPlaceEnvironment</a> env)</pre>
|
||||
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><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-">IStructureElement</a></code></span></div>
|
||||
<div class="block">Try place the block by taking resource from given <a href="../../../../com/gtnewhorizon/structurelib/structure/IItemSource.html" title="interface in com.gtnewhorizon.structurelib.structure"><code>IItemSource</code></a>.
|
||||
<p>
|
||||
You might want to use <a href="../../../../com/gtnewhorizon/structurelib/structure/StructureUtility.html#survivalPlaceBlock-net.minecraft.block.Block-int-net.minecraft.world.World-int-int-int-com.gtnewhorizon.structurelib.structure.IItemSource-net.minecraft.entity.player.EntityPlayer-"><code>StructureUtility.survivalPlaceBlock(Block, int, World, int, int, int, IItemSource, net.minecraft.entity.player.EntityPlayer)</code></a>
|
||||
or its overloads to implement this.
|
||||
<p>
|
||||
The default implementation provided will
|
||||
<ol>
|
||||
<li>Get <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.BlocksToPlace.html" title="class in com.gtnewhorizon.structurelib.structure"><code>IStructureElement.BlocksToPlace</code></a> via <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html#getBlocksToPlace-T-net.minecraft.world.World-int-int-int-net.minecraft.item.ItemStack-com.gtnewhorizon.structurelib.structure.AutoPlaceEnvironment-"><code>IStructureElement.getBlocksToPlace(Object, World, int, int, int, ItemStack, AutoPlaceEnvironment)</code></a>. If not null
|
||||
<ol>
|
||||
<li>call <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html#check-T-net.minecraft.world.World-int-int-int-"><code>IStructureElement.check(Object, World, int, int, int)</code></a>. If this returns <code>true</code>, <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.PlaceResult.html#SKIP"><code>IStructureElement.PlaceResult.SKIP</code></a> will be returned without further action.</li>
|
||||
<li>Use the <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.BlocksToPlace.html" title="class in com.gtnewhorizon.structurelib.structure"><code>IStructureElement.BlocksToPlace</code></a> retrieved earlier and passed in <a href="../../../../com/gtnewhorizon/structurelib/structure/IItemSource.html" title="interface in com.gtnewhorizon.structurelib.structure"><code>IItemSource</code></a> to determine an item to place</li>
|
||||
<li>Hand over control to <code>StructureUtility#survivalPlaceBlock(ItemStack, NBTMode, NBTTagCompound, boolean, World, int, int, int, IItemSource, EntityPlayer, Consumer)</code></li>
|
||||
</ol>
|
||||
</li>
|
||||
<li>Call legacy <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.IItemSource-net.minecraft.entity.player.EntityPlayerMP-java.util.function.Consumer-"><code>IStructureElement.survivalPlaceBlock(Object, World, int, int, int, ItemStack, IItemSource, EntityPlayerMP, Consumer)</code></a> if <code>env.getActor()</code> contains an <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"><code>EntityPlayerMP</code></a></li>
|
||||
<li>Emit warning under debug mode (or throw exception under panic mode), then return <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.PlaceResult.html#SKIP"><code>IStructureElement.PlaceResult.SKIP</code></a></li>
|
||||
</ol>
|
||||
It should be noticed that the default implementation is likely to cause unexpected issues if the
|
||||
<a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html#check-T-net.minecraft.world.World-int-int-int-"><code>IStructureElement.check(Object, World, int, int, int)</code></a> is not side effect free, or is not idempotent.
|
||||
E.g. the <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html#check-T-net.minecraft.world.World-int-int-int-"><code>IStructureElement.check(Object, World, int, int, int)</code></a> will add current coord to a <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util"><code>List</code></a>. As
|
||||
this method might be invoked at a location that is already accepted, this will cause the machine to have multiple
|
||||
of this coord in its list.</div>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
||||
<dd><code><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-">survivalPlaceBlock</a></code> in interface <code><a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html" title="interface in com.gtnewhorizon.structurelib.structure">IStructureElement</a><<a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElementNoPlacement.html" title="type parameter in IStructureElementNoPlacement">T</a>></code></dd>
|
||||
<dd><code>trigger</code> - trigger item</dd>
|
||||
<dd><code>env</code> - autoplacing environment</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="noPlacement--">
|
||||
<!-- -->
|
||||
</a>
|
||||
@@ -286,7 +344,7 @@ extends <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureE
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElementDeferred.html" title="interface in com.gtnewhorizon.structurelib.structure"><span class="typeNameLink">Prev Class</span></a></li>
|
||||
<li><a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureWalker.html" title="interface in com.gtnewhorizon.structurelib.structure"><span class="typeNameLink">Next Class</span></a></li>
|
||||
<li><a href="../../../../com/gtnewhorizon/structurelib/structure/ISurvivalBuildEnvironment.html" title="interface in com.gtnewhorizon.structurelib.structure"><span class="typeNameLink">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../index.html?com/gtnewhorizon/structurelib/structure/IStructureElementNoPlacement.html" target="_top">Frames</a></li>
|
||||
|
||||
+42
-53
@@ -3,7 +3,7 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc -->
|
||||
<title>IStructureWalker (StructureLib 1.7.10-1.1.12 API)</title>
|
||||
<title>ISurvivalBuildEnvironment (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>
|
||||
@@ -11,13 +11,13 @@
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="IStructureWalker (StructureLib 1.7.10-1.1.12 API)";
|
||||
parent.document.title="ISurvivalBuildEnvironment (StructureLib 1.7.10-1.1.12-15-g978938d API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
var methods = {"i0":18,"i1":17,"i2":17,"i3":6};
|
||||
var methods = {"i0":17,"i1":6,"i2":6};
|
||||
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"],16:["t5","Default Methods"]};
|
||||
var altColor = "altColor";
|
||||
var rowColor = "rowColor";
|
||||
@@ -51,8 +51,8 @@ var activeTableTab = "activeTableTab";
|
||||
<li><a href="../../../../com/gtnewhorizon/structurelib/structure/ITierConverter.html" title="interface in com.gtnewhorizon.structurelib.structure"><span class="typeNameLink">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../index.html?com/gtnewhorizon/structurelib/structure/IStructureWalker.html" target="_top">Frames</a></li>
|
||||
<li><a href="IStructureWalker.html" target="_top">No Frames</a></li>
|
||||
<li><a href="../../../../index.html?com/gtnewhorizon/structurelib/structure/ISurvivalBuildEnvironment.html" target="_top">Frames</a></li>
|
||||
<li><a href="ISurvivalBuildEnvironment.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>
|
||||
@@ -91,7 +91,7 @@ var activeTableTab = "activeTableTab";
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<div class="header">
|
||||
<div class="subTitle">com.gtnewhorizon.structurelib.structure</div>
|
||||
<h2 title="Interface IStructureWalker" class="title">Interface IStructureWalker<T></h2>
|
||||
<h2 title="Interface ISurvivalBuildEnvironment" class="title">Interface ISurvivalBuildEnvironment</h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<div class="description">
|
||||
@@ -99,7 +99,7 @@ var activeTableTab = "activeTableTab";
|
||||
<li class="blockList">
|
||||
<hr>
|
||||
<br>
|
||||
<pre>public interface <span class="typeNameLabel">IStructureWalker<T></span></pre>
|
||||
<pre>public interface <span class="typeNameLabel">ISurvivalBuildEnvironment</span></pre>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
@@ -119,28 +119,23 @@ var activeTableTab = "activeTableTab";
|
||||
<th class="colLast" scope="col">Method and Description</th>
|
||||
</tr>
|
||||
<tr id="i0" class="altColor">
|
||||
<td class="colFirst"><code>default boolean</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureWalker.html#blockNotLoaded-com.gtnewhorizon.structurelib.structure.IStructureElement-net.minecraft.world.World-int-int-int-">blockNotLoaded</a></span>(<a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html" title="interface in com.gtnewhorizon.structurelib.structure">IStructureElement</a><<a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureWalker.html" title="type parameter in IStructureWalker">T</a>> element,
|
||||
<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> world,
|
||||
int x,
|
||||
int y,
|
||||
int z)</code> </td>
|
||||
<td class="colFirst"><code>static <a href="../../../../com/gtnewhorizon/structurelib/structure/ISurvivalBuildEnvironment.html" title="interface in com.gtnewhorizon.structurelib.structure">ISurvivalBuildEnvironment</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/gtnewhorizon/structurelib/structure/ISurvivalBuildEnvironment.html#create-com.gtnewhorizon.structurelib.structure.IItemSource-net.minecraft.entity.player.EntityPlayer-">create</a></span>(<a href="../../../../com/gtnewhorizon/structurelib/structure/IItemSource.html" title="interface in com.gtnewhorizon.structurelib.structure">IItemSource</a> source,
|
||||
<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">Create a default implementation with three parameters all being constants.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i1" class="rowColor">
|
||||
<td class="colFirst"><code>static <T> <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureWalker.html" title="interface in com.gtnewhorizon.structurelib.structure">IStructureWalker</a><T></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureWalker.html#ignoreBlockUnloaded-com.gtnewhorizon.structurelib.structure.IStructureWalker-">ignoreBlockUnloaded</a></span>(<a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureWalker.html" title="interface in com.gtnewhorizon.structurelib.structure">IStructureWalker</a><T> walker)</code> </td>
|
||||
<td class="colFirst"><code><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></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/gtnewhorizon/structurelib/structure/ISurvivalBuildEnvironment.html#getActor--">getActor</a></span>()</code>
|
||||
<div class="block">Get the origin of action.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i2" class="altColor">
|
||||
<td class="colFirst"><code>static <T> <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureWalker.html" title="interface in com.gtnewhorizon.structurelib.structure">IStructureWalker</a><T></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureWalker.html#skipBlockUnloaded-com.gtnewhorizon.structurelib.structure.IStructureWalker-">skipBlockUnloaded</a></span>(<a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureWalker.html" title="interface in com.gtnewhorizon.structurelib.structure">IStructureWalker</a><T> walker)</code> </td>
|
||||
</tr>
|
||||
<tr id="i3" class="rowColor">
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureWalker.html#visit-com.gtnewhorizon.structurelib.structure.IStructureElement-net.minecraft.world.World-int-int-int-">visit</a></span>(<a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html" title="interface in com.gtnewhorizon.structurelib.structure">IStructureElement</a><<a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureWalker.html" title="type parameter in IStructureWalker">T</a>> element,
|
||||
<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> world,
|
||||
int x,
|
||||
int y,
|
||||
int z)</code> </td>
|
||||
<td class="colFirst"><code><a href="../../../../com/gtnewhorizon/structurelib/structure/IItemSource.html" title="interface in com.gtnewhorizon.structurelib.structure">IItemSource</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/gtnewhorizon/structurelib/structure/ISurvivalBuildEnvironment.html#getSource--">getSource</a></span>()</code>
|
||||
<div class="block">Get the source of the items.</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
@@ -157,48 +152,42 @@ var activeTableTab = "activeTableTab";
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Detail</h3>
|
||||
<a name="visit-com.gtnewhorizon.structurelib.structure.IStructureElement-net.minecraft.world.World-int-int-int-">
|
||||
<a name="getSource--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>visit</h4>
|
||||
<pre>boolean visit(<a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html" title="interface in com.gtnewhorizon.structurelib.structure">IStructureElement</a><<a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureWalker.html" title="type parameter in IStructureWalker">T</a>> element,
|
||||
<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> world,
|
||||
int x,
|
||||
int y,
|
||||
int z)</pre>
|
||||
<h4>getSource</h4>
|
||||
<pre><a href="../../../../com/gtnewhorizon/structurelib/structure/IItemSource.html" title="interface in com.gtnewhorizon.structurelib.structure">IItemSource</a> getSource()</pre>
|
||||
<div class="block">Get the source of the items. This will be invoked exactly once per structure element build.
|
||||
<p>
|
||||
If the call chain ever got into the old API, this will be called at least once per <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureDefinition.html#survivalBuild-T-net.minecraft.item.ItemStack-java.lang.String-net.minecraft.world.World-com.gtnewhorizon.structurelib.alignment.enumerable.ExtendedFacing-int-int-int-int-int-int-int-com.gtnewhorizon.structurelib.structure.ISurvivalBuildEnvironment-boolean-"><code>IStructureDefinition.survivalBuild(Object, ItemStack, String, World, ExtendedFacing, int, int, int, int, int, int, int, ISurvivalBuildEnvironment, boolean)</code></a> call.</div>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="blockNotLoaded-com.gtnewhorizon.structurelib.structure.IStructureElement-net.minecraft.world.World-int-int-int-">
|
||||
<a name="getActor--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>blockNotLoaded</h4>
|
||||
<pre>default boolean blockNotLoaded(<a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html" title="interface in com.gtnewhorizon.structurelib.structure">IStructureElement</a><<a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureWalker.html" title="type parameter in IStructureWalker">T</a>> element,
|
||||
<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> world,
|
||||
int x,
|
||||
int y,
|
||||
int z)</pre>
|
||||
<h4>getActor</h4>
|
||||
<pre><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> getActor()</pre>
|
||||
<div class="block">Get the origin of action. This will be invoked at least once per <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureDefinition.html#survivalBuild-T-net.minecraft.item.ItemStack-java.lang.String-net.minecraft.world.World-com.gtnewhorizon.structurelib.alignment.enumerable.ExtendedFacing-int-int-int-int-int-int-int-com.gtnewhorizon.structurelib.structure.ISurvivalBuildEnvironment-boolean-"><code>IStructureDefinition.survivalBuild(Object, ItemStack, String, World, ExtendedFacing, int, int, int, int, int, int, int, ISurvivalBuildEnvironment, boolean)</code></a> call.</div>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="ignoreBlockUnloaded-com.gtnewhorizon.structurelib.structure.IStructureWalker-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>ignoreBlockUnloaded</h4>
|
||||
<pre>static <T> <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureWalker.html" title="interface in com.gtnewhorizon.structurelib.structure">IStructureWalker</a><T> ignoreBlockUnloaded(<a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureWalker.html" title="interface in com.gtnewhorizon.structurelib.structure">IStructureWalker</a><T> walker)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="skipBlockUnloaded-com.gtnewhorizon.structurelib.structure.IStructureWalker-">
|
||||
<a name="create-com.gtnewhorizon.structurelib.structure.IItemSource-net.minecraft.entity.player.EntityPlayer-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>skipBlockUnloaded</h4>
|
||||
<pre>static <T> <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureWalker.html" title="interface in com.gtnewhorizon.structurelib.structure">IStructureWalker</a><T> skipBlockUnloaded(<a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureWalker.html" title="interface in com.gtnewhorizon.structurelib.structure">IStructureWalker</a><T> walker)</pre>
|
||||
<h4>create</h4>
|
||||
<pre>static <a href="../../../../com/gtnewhorizon/structurelib/structure/ISurvivalBuildEnvironment.html" title="interface in com.gtnewhorizon.structurelib.structure">ISurvivalBuildEnvironment</a> create(<a href="../../../../com/gtnewhorizon/structurelib/structure/IItemSource.html" title="interface in com.gtnewhorizon.structurelib.structure">IItemSource</a> source,
|
||||
<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">Create a default implementation with three parameters all being constants.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>source</code> - from where to drain resource</dd>
|
||||
<dd><code>actor</code> - source of action</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
@@ -232,8 +221,8 @@ var activeTableTab = "activeTableTab";
|
||||
<li><a href="../../../../com/gtnewhorizon/structurelib/structure/ITierConverter.html" title="interface in com.gtnewhorizon.structurelib.structure"><span class="typeNameLink">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../index.html?com/gtnewhorizon/structurelib/structure/IStructureWalker.html" target="_top">Frames</a></li>
|
||||
<li><a href="IStructureWalker.html" target="_top">No Frames</a></li>
|
||||
<li><a href="../../../../index.html?com/gtnewhorizon/structurelib/structure/ISurvivalBuildEnvironment.html" target="_top">Frames</a></li>
|
||||
<li><a href="ISurvivalBuildEnvironment.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>
|
||||
@@ -3,7 +3,7 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc -->
|
||||
<title>ITierConverter (StructureLib 1.7.10-1.1.12 API)</title>
|
||||
<title>ITierConverter (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>
|
||||
@@ -11,7 +11,7 @@
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="ITierConverter (StructureLib 1.7.10-1.1.12 API)";
|
||||
parent.document.title="ITierConverter (StructureLib 1.7.10-1.1.12-15-g978938d API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
@@ -47,7 +47,7 @@ var activeTableTab = "activeTableTab";
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureWalker.html" title="interface in com.gtnewhorizon.structurelib.structure"><span class="typeNameLink">Prev Class</span></a></li>
|
||||
<li><a href="../../../../com/gtnewhorizon/structurelib/structure/ISurvivalBuildEnvironment.html" title="interface in com.gtnewhorizon.structurelib.structure"><span class="typeNameLink">Prev Class</span></a></li>
|
||||
<li><a href="../../../../com/gtnewhorizon/structurelib/structure/IWithExtendedContext.html" title="interface in com.gtnewhorizon.structurelib.structure"><span class="typeNameLink">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
@@ -185,7 +185,7 @@ public interface <span class="typeNameLabel">ITierConverter<TIER></span></
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureWalker.html" title="interface in com.gtnewhorizon.structurelib.structure"><span class="typeNameLink">Prev Class</span></a></li>
|
||||
<li><a href="../../../../com/gtnewhorizon/structurelib/structure/ISurvivalBuildEnvironment.html" title="interface in com.gtnewhorizon.structurelib.structure"><span class="typeNameLink">Prev Class</span></a></li>
|
||||
<li><a href="../../../../com/gtnewhorizon/structurelib/structure/IWithExtendedContext.html" title="interface in com.gtnewhorizon.structurelib.structure"><span class="typeNameLink">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc -->
|
||||
<title>IWithExtendedContext (StructureLib 1.7.10-1.1.12 API)</title>
|
||||
<title>IWithExtendedContext (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>
|
||||
@@ -11,7 +11,7 @@
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="IWithExtendedContext (StructureLib 1.7.10-1.1.12 API)";
|
||||
parent.document.title="IWithExtendedContext (StructureLib 1.7.10-1.1.12-15-g978938d API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
|
||||
+45
-24
@@ -3,7 +3,7 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc -->
|
||||
<title>StructureDefinition.Builder (StructureLib 1.7.10-1.1.12 API)</title>
|
||||
<title>StructureDefinition.Builder (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>
|
||||
@@ -11,14 +11,14 @@
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="StructureDefinition.Builder (StructureLib 1.7.10-1.1.12 API)";
|
||||
parent.document.title="StructureDefinition.Builder (StructureLib 1.7.10-1.1.12-15-g978938d API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10};
|
||||
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
|
||||
var methods = {"i0":42,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10};
|
||||
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"],32:["t6","Deprecated Methods"]};
|
||||
var altColor = "altColor";
|
||||
var rowColor = "rowColor";
|
||||
var tableTab = "tableTab";
|
||||
@@ -126,7 +126,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html
|
||||
</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="t2" class="tableTab"><span><a href="javascript:show(2);">Instance 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></caption>
|
||||
<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="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>
|
||||
@@ -134,28 +134,33 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html
|
||||
<tr id="i0" class="altColor">
|
||||
<td class="colFirst"><code><a href="../../../../com/gtnewhorizon/structurelib/structure/StructureDefinition.Builder.html" title="class in com.gtnewhorizon.structurelib.structure">StructureDefinition.Builder</a><<a href="../../../../com/gtnewhorizon/structurelib/structure/StructureDefinition.Builder.html" title="type parameter in StructureDefinition.Builder">T</a>></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/gtnewhorizon/structurelib/structure/StructureDefinition.Builder.html#addElement-java.lang.Character-com.gtnewhorizon.structurelib.structure.IStructureElement-">addElement</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Character.html?is-external=true" title="class or interface in java.lang">Character</a> name,
|
||||
<a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html" title="interface in com.gtnewhorizon.structurelib.structure">IStructureElement</a><<a href="../../../../com/gtnewhorizon/structurelib/structure/StructureDefinition.Builder.html" title="type parameter in StructureDefinition.Builder">T</a>> structurePiece)</code> </td>
|
||||
<a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html" title="interface in com.gtnewhorizon.structurelib.structure">IStructureElement</a><<a href="../../../../com/gtnewhorizon/structurelib/structure/StructureDefinition.Builder.html" title="type parameter in StructureDefinition.Builder">T</a>> structurePiece)</code>
|
||||
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
|
||||
<div class="block"><span class="deprecationComment">use the unboxed version</span></div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i1" class="rowColor">
|
||||
<td class="colFirst"><code><a href="../../../../com/gtnewhorizon/structurelib/structure/StructureDefinition.Builder.html" title="class in com.gtnewhorizon.structurelib.structure">StructureDefinition.Builder</a><<a href="../../../../com/gtnewhorizon/structurelib/structure/StructureDefinition.Builder.html" title="type parameter in StructureDefinition.Builder">T</a>></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/gtnewhorizon/structurelib/structure/StructureDefinition.Builder.html#addShape-java.lang.String-java.lang.String:A:A-">addShape</a></span>(<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> name,
|
||||
<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>[][] structurePiece)</code>
|
||||
<div class="block">Adds shape
|
||||
+ is anything but air
|
||||
- is air checks
|
||||
space bar is skip
|
||||
~ is also skip (but marks controller position, optional.</div>
|
||||
</td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/gtnewhorizon/structurelib/structure/StructureDefinition.Builder.html#addElement-char-com.gtnewhorizon.structurelib.structure.IStructureElement-">addElement</a></span>(char name,
|
||||
<a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html" title="interface in com.gtnewhorizon.structurelib.structure">IStructureElement</a><<a href="../../../../com/gtnewhorizon/structurelib/structure/StructureDefinition.Builder.html" title="type parameter in StructureDefinition.Builder">T</a>> structurePiece)</code> </td>
|
||||
</tr>
|
||||
<tr id="i2" class="altColor">
|
||||
<td class="colFirst"><code><a href="../../../../com/gtnewhorizon/structurelib/structure/StructureDefinition.Builder.html" title="class in com.gtnewhorizon.structurelib.structure">StructureDefinition.Builder</a><<a href="../../../../com/gtnewhorizon/structurelib/structure/StructureDefinition.Builder.html" title="type parameter in StructureDefinition.Builder">T</a>></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/gtnewhorizon/structurelib/structure/StructureDefinition.Builder.html#addShape-java.lang.String-java.lang.String:A:A-">addShape</a></span>(<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> name,
|
||||
<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>[][] structurePiece)</code>
|
||||
<div class="block">Adds shape.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i3" class="rowColor">
|
||||
<td class="colFirst"><code><a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureDefinition.html" title="interface in com.gtnewhorizon.structurelib.structure">IStructureDefinition</a><<a href="../../../../com/gtnewhorizon/structurelib/structure/StructureDefinition.Builder.html" title="type parameter in StructureDefinition.Builder">T</a>></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/gtnewhorizon/structurelib/structure/StructureDefinition.Builder.html#build--">build</a></span>()</code> </td>
|
||||
</tr>
|
||||
<tr id="i3" class="rowColor">
|
||||
<tr id="i4" class="altColor">
|
||||
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Character.html?is-external=true" title="class or interface in java.lang">Character</a>,<a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html" title="interface in com.gtnewhorizon.structurelib.structure">IStructureElement</a><<a href="../../../../com/gtnewhorizon/structurelib/structure/StructureDefinition.Builder.html" title="type parameter in StructureDefinition.Builder">T</a>>></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/gtnewhorizon/structurelib/structure/StructureDefinition.Builder.html#getElements--">getElements</a></span>()</code> </td>
|
||||
</tr>
|
||||
<tr id="i4" class="altColor">
|
||||
<tr id="i5" class="rowColor">
|
||||
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<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>,<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/structure/StructureDefinition.Builder.html#getShapes--">getShapes</a></span>()</code> </td>
|
||||
</tr>
|
||||
@@ -207,18 +212,22 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html
|
||||
<h4>addShape</h4>
|
||||
<pre>public <a href="../../../../com/gtnewhorizon/structurelib/structure/StructureDefinition.Builder.html" title="class in com.gtnewhorizon.structurelib.structure">StructureDefinition.Builder</a><<a href="../../../../com/gtnewhorizon/structurelib/structure/StructureDefinition.Builder.html" title="type parameter in StructureDefinition.Builder">T</a>> addShape(<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> name,
|
||||
<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>[][] structurePiece)</pre>
|
||||
<div class="block">Adds shape
|
||||
+ is anything but air
|
||||
- is air checks
|
||||
space bar is skip
|
||||
~ is also skip (but marks controller position, optional. implementation wise it is a space...)
|
||||
rest needs to be defined
|
||||
<div class="block">Adds shape. Shape is a two-dimensional string array. Each <b>character</b> inside any of these strings will
|
||||
be later mapped to a particular type of <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html" title="interface in com.gtnewhorizon.structurelib.structure"><code>IStructureElement</code></a> as indicated by <a href="../../../../com/gtnewhorizon/structurelib/structure/StructureDefinition.Builder.html#addElement-java.lang.Character-com.gtnewhorizon.structurelib.structure.IStructureElement-"><code>addElement(Character, IStructureElement)</code></a>.
|
||||
<p>
|
||||
next char is next block(a)
|
||||
next string is next line(b)
|
||||
next string[] is next slice(c)
|
||||
<p>
|
||||
char A000-FFFF range is reserved for generated skips</div>
|
||||
There are a few special reserved characters that are pre-mapped to some common structure elements
|
||||
<ul>
|
||||
<li>+ is anything but air</li>
|
||||
<li>- is air checks</li>
|
||||
<li>space bar is skip</li>
|
||||
<li>~ is also skip (but marks controller position, not optional)</li>
|
||||
<li>char <code>A000-FFFF</code> range is reserved for generated skips</li>
|
||||
</ul>
|
||||
<p></div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>name</code> - unlocalized/code name</dd>
|
||||
@@ -234,7 +243,19 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>addElement</h4>
|
||||
<pre>public <a href="../../../../com/gtnewhorizon/structurelib/structure/StructureDefinition.Builder.html" title="class in com.gtnewhorizon.structurelib.structure">StructureDefinition.Builder</a><<a href="../../../../com/gtnewhorizon/structurelib/structure/StructureDefinition.Builder.html" title="type parameter in StructureDefinition.Builder">T</a>> addElement(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Character.html?is-external=true" title="class or interface in java.lang">Character</a> name,
|
||||
<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 <a href="../../../../com/gtnewhorizon/structurelib/structure/StructureDefinition.Builder.html" title="class in com.gtnewhorizon.structurelib.structure">StructureDefinition.Builder</a><<a href="../../../../com/gtnewhorizon/structurelib/structure/StructureDefinition.Builder.html" title="type parameter in StructureDefinition.Builder">T</a>> addElement(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Character.html?is-external=true" title="class or interface in java.lang">Character</a> name,
|
||||
<a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html" title="interface in com.gtnewhorizon.structurelib.structure">IStructureElement</a><<a href="../../../../com/gtnewhorizon/structurelib/structure/StructureDefinition.Builder.html" title="type parameter in StructureDefinition.Builder">T</a>> structurePiece)</pre>
|
||||
<div class="block"><span class="deprecatedLabel">Deprecated.</span> <span class="deprecationComment">use the unboxed version</span></div>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="addElement-char-com.gtnewhorizon.structurelib.structure.IStructureElement-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>addElement</h4>
|
||||
<pre>public <a href="../../../../com/gtnewhorizon/structurelib/structure/StructureDefinition.Builder.html" title="class in com.gtnewhorizon.structurelib.structure">StructureDefinition.Builder</a><<a href="../../../../com/gtnewhorizon/structurelib/structure/StructureDefinition.Builder.html" title="type parameter in StructureDefinition.Builder">T</a>> addElement(char name,
|
||||
<a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html" title="interface in com.gtnewhorizon.structurelib.structure">IStructureElement</a><<a href="../../../../com/gtnewhorizon/structurelib/structure/StructureDefinition.Builder.html" title="type parameter in StructureDefinition.Builder">T</a>> structurePiece)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc -->
|
||||
<title>StructureDefinition (StructureLib 1.7.10-1.1.12 API)</title>
|
||||
<title>StructureDefinition (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>
|
||||
@@ -11,13 +11,13 @@
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="StructureDefinition (StructureLib 1.7.10-1.1.12 API)";
|
||||
parent.document.title="StructureDefinition (StructureLib 1.7.10-1.1.12-15-g978938d API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
var methods = {"i0":9,"i1":10,"i2":10,"i3":10,"i4":10};
|
||||
var methods = {"i0":9,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10};
|
||||
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
|
||||
var altColor = "altColor";
|
||||
var rowColor = "rowColor";
|
||||
@@ -175,6 +175,13 @@ implements <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructu
|
||||
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<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>,<a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html" title="interface in com.gtnewhorizon.structurelib.structure">IStructureElement</a><<a href="../../../../com/gtnewhorizon/structurelib/structure/StructureDefinition.html" title="type parameter in StructureDefinition">T</a>>[]></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/gtnewhorizon/structurelib/structure/StructureDefinition.html#getStructures--">getStructures</a></span>()</code> </td>
|
||||
</tr>
|
||||
<tr id="i5" class="rowColor">
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/gtnewhorizon/structurelib/structure/StructureDefinition.html#isContainedInStructure-java.lang.String-int-int-int-">isContainedInStructure</a></span>(<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> name,
|
||||
int offsetA,
|
||||
int offsetB,
|
||||
int offsetC)</code> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
|
||||
@@ -188,7 +195,7 @@ implements <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructu
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from interface com.gtnewhorizon.structurelib.structure.<a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureDefinition.html" title="interface in com.gtnewhorizon.structurelib.structure">IStructureDefinition</a></h3>
|
||||
<code><a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureDefinition.html#build-T-net.minecraft.item.ItemStack-java.lang.String-net.minecraft.world.World-com.gtnewhorizon.structurelib.alignment.enumerable.ExtendedFacing-int-int-int-int-int-int-">build</a>, <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureDefinition.html#buildOrHints-T-net.minecraft.item.ItemStack-java.lang.String-net.minecraft.world.World-com.gtnewhorizon.structurelib.alignment.enumerable.ExtendedFacing-int-int-int-int-int-int-boolean-">buildOrHints</a>, <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureDefinition.html#check-T-java.lang.String-net.minecraft.world.World-com.gtnewhorizon.structurelib.alignment.enumerable.ExtendedFacing-int-int-int-int-int-int-boolean-">check</a>, <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureDefinition.html#hints-T-net.minecraft.item.ItemStack-java.lang.String-net.minecraft.world.World-com.gtnewhorizon.structurelib.alignment.enumerable.ExtendedFacing-int-int-int-int-int-int-">hints</a>, <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureDefinition.html#iterate-T-net.minecraft.item.ItemStack-com.gtnewhorizon.structurelib.structure.IStructureElement:A-net.minecraft.world.World-com.gtnewhorizon.structurelib.alignment.enumerable.ExtendedFacing-int-int-int-int-int-int-boolean-java.lang.Boolean-">iterate</a>, <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureDefinition.html#survivalBuild-T-net.minecraft.item.ItemStack-java.lang.String-net.minecraft.world.World-com.gtnewhorizon.structurelib.alignment.enumerable.ExtendedFacing-int-int-int-int-int-int-int-com.gtnewhorizon.structurelib.structure.IItemSource-net.minecraft.entity.player.EntityPlayerMP-boolean-">survivalBuild</a></code></li>
|
||||
<code><a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureDefinition.html#build-T-net.minecraft.item.ItemStack-java.lang.String-net.minecraft.world.World-com.gtnewhorizon.structurelib.alignment.enumerable.ExtendedFacing-int-int-int-int-int-int-">build</a>, <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureDefinition.html#buildOrHints-T-net.minecraft.item.ItemStack-java.lang.String-net.minecraft.world.World-com.gtnewhorizon.structurelib.alignment.enumerable.ExtendedFacing-int-int-int-int-int-int-boolean-">buildOrHints</a>, <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureDefinition.html#check-T-java.lang.String-net.minecraft.world.World-com.gtnewhorizon.structurelib.alignment.enumerable.ExtendedFacing-int-int-int-int-int-int-boolean-">check</a>, <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureDefinition.html#hints-T-net.minecraft.item.ItemStack-java.lang.String-net.minecraft.world.World-com.gtnewhorizon.structurelib.alignment.enumerable.ExtendedFacing-int-int-int-int-int-int-">hints</a>, <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureDefinition.html#iterate-T-net.minecraft.item.ItemStack-com.gtnewhorizon.structurelib.structure.IStructureElement:A-net.minecraft.world.World-com.gtnewhorizon.structurelib.alignment.enumerable.ExtendedFacing-int-int-int-int-int-int-boolean-java.lang.Boolean-">iterate</a>, <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureDefinition.html#survivalBuild-T-net.minecraft.item.ItemStack-java.lang.String-net.minecraft.world.World-com.gtnewhorizon.structurelib.alignment.enumerable.ExtendedFacing-int-int-int-int-int-int-int-com.gtnewhorizon.structurelib.structure.IItemSource-net.minecraft.entity.player.EntityPlayerMP-boolean-">survivalBuild</a>, <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureDefinition.html#survivalBuild-T-net.minecraft.item.ItemStack-java.lang.String-net.minecraft.world.World-com.gtnewhorizon.structurelib.alignment.enumerable.ExtendedFacing-int-int-int-int-int-int-int-com.gtnewhorizon.structurelib.structure.ISurvivalBuildEnvironment-boolean-">survivalBuild</a></code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
@@ -251,7 +258,7 @@ implements <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructu
|
||||
<a name="getStructureFor-java.lang.String-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getStructureFor</h4>
|
||||
<pre>public <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html" title="interface in com.gtnewhorizon.structurelib.structure">IStructureElement</a><<a href="../../../../com/gtnewhorizon/structurelib/structure/StructureDefinition.html" title="type parameter in StructureDefinition">T</a>>[] getStructureFor(<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> name)</pre>
|
||||
@@ -269,6 +276,22 @@ implements <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructu
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="isContainedInStructure-java.lang.String-int-int-int-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>isContainedInStructure</h4>
|
||||
<pre>public boolean isContainedInStructure(<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> name,
|
||||
int offsetA,
|
||||
int offsetB,
|
||||
int offsetC)</pre>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
||||
<dd><code><a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureDefinition.html#isContainedInStructure-java.lang.String-int-int-int-">isContainedInStructure</a></code> in interface <code><a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureDefinition.html" title="interface in com.gtnewhorizon.structurelib.structure">IStructureDefinition</a><<a href="../../../../com/gtnewhorizon/structurelib/structure/StructureDefinition.html" title="type parameter in StructureDefinition">T</a>></code></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc -->
|
||||
<title>StructureUtility (StructureLib 1.7.10-1.1.12 API)</title>
|
||||
<title>StructureUtility (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>
|
||||
@@ -11,13 +11,13 @@
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="StructureUtility (StructureLib 1.7.10-1.1.12 API)";
|
||||
parent.document.title="StructureUtility (StructureLib 1.7.10-1.1.12-15-g978938d API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
var methods = {"i0":9,"i1":9,"i2":9,"i3":41,"i4":41,"i5":41,"i6":41,"i7":41,"i8":41,"i9":9,"i10":9,"i11":41,"i12":41,"i13":41,"i14":41,"i15":9,"i16":9,"i17":9,"i18":9,"i19":9,"i20":9,"i21":9,"i22":9,"i23":9,"i24":9,"i25":9,"i26":9,"i27":9,"i28":9,"i29":9,"i30":9,"i31":9,"i32":9,"i33":9,"i34":9,"i35":9,"i36":9,"i37":9,"i38":9,"i39":9,"i40":9,"i41":9,"i42":9,"i43":9,"i44":9,"i45":9,"i46":9,"i47":9,"i48":9,"i49":9,"i50":9,"i51":9,"i52":9,"i53":9,"i54":9,"i55":9,"i56":9,"i57":9,"i58":9,"i59":9,"i60":9,"i61":9,"i62":9,"i63":9,"i64":9,"i65":9,"i66":9,"i67":9,"i68":9,"i69":9,"i70":9,"i71":9,"i72":9};
|
||||
var methods = {"i0":9,"i1":9,"i2":9,"i3":41,"i4":41,"i5":41,"i6":41,"i7":41,"i8":41,"i9":9,"i10":9,"i11":41,"i12":41,"i13":41,"i14":41,"i15":9,"i16":9,"i17":9,"i18":9,"i19":9,"i20":9,"i21":9,"i22":9,"i23":9,"i24":9,"i25":9,"i26":9,"i27":9,"i28":9,"i29":9,"i30":9,"i31":9,"i32":9,"i33":9,"i34":9,"i35":9,"i36":9,"i37":9,"i38":9,"i39":9,"i40":9,"i41":9,"i42":9,"i43":9,"i44":9,"i45":9,"i46":9,"i47":9,"i48":9,"i49":9,"i50":9,"i51":9,"i52":9,"i53":9,"i54":9,"i55":9,"i56":9,"i57":9,"i58":9,"i59":9,"i60":9,"i61":9,"i62":9,"i63":9,"i64":9,"i65":9,"i66":9,"i67":9,"i68":9,"i69":9,"i70":9,"i71":9,"i72":9,"i73":9,"i74":9,"i75":9,"i76":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";
|
||||
@@ -188,7 +188,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html
|
||||
<h1>Helper Methods</h1>
|
||||
These don't construct a <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html" title="interface in com.gtnewhorizon.structurelib.structure"><code>IStructureElement</code></a>, but is helpful to the instantiation or implementation of these.
|
||||
<ul>
|
||||
<li><a href="../../../../com/gtnewhorizon/structurelib/structure/StructureUtility.html#survivalPlaceBlock-net.minecraft.block.Block-int-net.minecraft.world.World-int-int-int-com.gtnewhorizon.structurelib.structure.IItemSource-net.minecraft.entity.player.EntityPlayerMP-java.util.function.Consumer-"><code>survivalPlaceBlock(Block, int, World, int, int, int, IItemSource, EntityPlayerMP, Consumer)</code></a> and its overloads:
|
||||
<li><a href="../../../../com/gtnewhorizon/structurelib/structure/StructureUtility.html#survivalPlaceBlock-net.minecraft.block.Block-int-net.minecraft.world.World-int-int-int-com.gtnewhorizon.structurelib.structure.IItemSource-net.minecraft.entity.player.EntityPlayer-java.util.function.Consumer-"><code>survivalPlaceBlock(Block, int, World, int, int, int, IItemSource, EntityPlayer, Consumer)</code></a> and its overloads:
|
||||
Helper method to cut common boilerplate for implementing <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.IItemSource-net.minecraft.entity.player.EntityPlayerMP-java.util.function.Consumer-"><code>IStructureElement.survivalPlaceBlock(Object, World, int, int, int, ItemStack, IItemSource, EntityPlayerMP, Consumer)</code></a></li>
|
||||
<li><a href="../../../../com/gtnewhorizon/structurelib/structure/StructureUtility.html#getPseudoJavaCode-net.minecraft.world.World-com.gtnewhorizon.structurelib.alignment.enumerable.ExtendedFacing-int-int-int-int-int-int-java.util.function.Function-int-int-int-boolean-"><code>getPseudoJavaCode(World, ExtendedFacing, int, int, int, int, int, int, Function, int, int, int, boolean)</code></a>:
|
||||
Generate a structure code template from existing structure.</li>
|
||||
@@ -753,6 +753,33 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html
|
||||
</tr>
|
||||
<tr id="i66" class="altColor">
|
||||
<td class="colFirst"><code>static <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.PlaceResult.html" title="enum in com.gtnewhorizon.structurelib.structure">IStructureElement.PlaceResult</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/gtnewhorizon/structurelib/structure/StructureUtility.html#survivalPlaceBlock-net.minecraft.block.Block-int-net.minecraft.world.World-int-int-int-com.gtnewhorizon.structurelib.structure.IItemSource-net.minecraft.entity.player.EntityPlayer-">survivalPlaceBlock</a></span>(<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,
|
||||
<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> world,
|
||||
int x,
|
||||
int y,
|
||||
int z,
|
||||
<a href="../../../../com/gtnewhorizon/structurelib/structure/IItemSource.html" title="interface in com.gtnewhorizon.structurelib.structure">IItemSource</a> s,
|
||||
<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">This is a helper method for implementing <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.IItemSource-net.minecraft.entity.player.EntityPlayerMP-java.util.function.Consumer-"><code>IStructureElement.survivalPlaceBlock(Object, World, int, int, int, ItemStack, IItemSource, EntityPlayerMP, Consumer)</code></a></div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i67" class="rowColor">
|
||||
<td class="colFirst"><code>static <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.PlaceResult.html" title="enum in com.gtnewhorizon.structurelib.structure">IStructureElement.PlaceResult</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/gtnewhorizon/structurelib/structure/StructureUtility.html#survivalPlaceBlock-net.minecraft.block.Block-int-net.minecraft.world.World-int-int-int-com.gtnewhorizon.structurelib.structure.IItemSource-net.minecraft.entity.player.EntityPlayer-java.util.function.Consumer-">survivalPlaceBlock</a></span>(<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,
|
||||
<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> world,
|
||||
int x,
|
||||
int y,
|
||||
int z,
|
||||
<a href="../../../../com/gtnewhorizon/structurelib/structure/IItemSource.html" title="interface in com.gtnewhorizon.structurelib.structure">IItemSource</a> s,
|
||||
<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,
|
||||
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/function/Consumer.html?is-external=true" title="class or interface in java.util.function">Consumer</a><<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>> chatter)</code>
|
||||
<div class="block">This is a helper method for implementing <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.IItemSource-net.minecraft.entity.player.EntityPlayerMP-java.util.function.Consumer-"><code>IStructureElement.survivalPlaceBlock(Object, World, int, int, int, ItemStack, IItemSource, EntityPlayerMP, Consumer)</code></a></div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i68" class="altColor">
|
||||
<td class="colFirst"><code>static <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.PlaceResult.html" title="enum in com.gtnewhorizon.structurelib.structure">IStructureElement.PlaceResult</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/gtnewhorizon/structurelib/structure/StructureUtility.html#survivalPlaceBlock-net.minecraft.block.Block-int-net.minecraft.world.World-int-int-int-com.gtnewhorizon.structurelib.structure.IItemSource-net.minecraft.entity.player.EntityPlayerMP-">survivalPlaceBlock</a></span>(<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,
|
||||
<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> world,
|
||||
@@ -764,7 +791,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html
|
||||
<div class="block">This is a helper method for implementing <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.IItemSource-net.minecraft.entity.player.EntityPlayerMP-java.util.function.Consumer-"><code>IStructureElement.survivalPlaceBlock(Object, World, int, int, int, ItemStack, IItemSource, EntityPlayerMP, Consumer)</code></a></div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i67" class="rowColor">
|
||||
<tr id="i69" class="rowColor">
|
||||
<td class="colFirst"><code>static <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.PlaceResult.html" title="enum in com.gtnewhorizon.structurelib.structure">IStructureElement.PlaceResult</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/gtnewhorizon/structurelib/structure/StructureUtility.html#survivalPlaceBlock-net.minecraft.block.Block-int-net.minecraft.world.World-int-int-int-com.gtnewhorizon.structurelib.structure.IItemSource-net.minecraft.entity.player.EntityPlayerMP-java.util.function.Consumer-">survivalPlaceBlock</a></span>(<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,
|
||||
@@ -778,7 +805,38 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html
|
||||
<div class="block">This is a helper method for implementing <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.IItemSource-net.minecraft.entity.player.EntityPlayerMP-java.util.function.Consumer-"><code>IStructureElement.survivalPlaceBlock(Object, World, int, int, int, ItemStack, IItemSource, EntityPlayerMP, Consumer)</code></a></div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i68" class="altColor">
|
||||
<tr id="i70" class="altColor">
|
||||
<td class="colFirst"><code>static <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.PlaceResult.html" title="enum in com.gtnewhorizon.structurelib.structure">IStructureElement.PlaceResult</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/gtnewhorizon/structurelib/structure/StructureUtility.html#survivalPlaceBlock-net.minecraft.item.ItemStack-com.gtnewhorizon.structurelib.util.ItemStackPredicate.NBTMode-net.minecraft.nbt.NBTTagCompound-boolean-net.minecraft.world.World-int-int-int-com.gtnewhorizon.structurelib.structure.IItemSource-net.minecraft.entity.player.EntityPlayer-">survivalPlaceBlock</a></span>(<a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/net/minecraft/item/ItemStack.html?is-external=true" title="class or interface in net.minecraft.item">ItemStack</a> stack,
|
||||
<a href="../../../../com/gtnewhorizon/structurelib/util/ItemStackPredicate.NBTMode.html" title="enum in com.gtnewhorizon.structurelib.util">ItemStackPredicate.NBTMode</a> nbtMode,
|
||||
<a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/net/minecraft/nbt/NBTTagCompound.html?is-external=true" title="class or interface in net.minecraft.nbt">NBTTagCompound</a> tag,
|
||||
boolean assumeStackPresent,
|
||||
<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> world,
|
||||
int x,
|
||||
int y,
|
||||
int z,
|
||||
<a href="../../../../com/gtnewhorizon/structurelib/structure/IItemSource.html" title="interface in com.gtnewhorizon.structurelib.structure">IItemSource</a> s,
|
||||
<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">This is a helper method for implementing <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.IItemSource-net.minecraft.entity.player.EntityPlayerMP-java.util.function.Consumer-"><code>IStructureElement.survivalPlaceBlock(Object, World, int, int, int, ItemStack, IItemSource, EntityPlayerMP, Consumer)</code></a></div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i71" class="rowColor">
|
||||
<td class="colFirst"><code>static <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.PlaceResult.html" title="enum in com.gtnewhorizon.structurelib.structure">IStructureElement.PlaceResult</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/gtnewhorizon/structurelib/structure/StructureUtility.html#survivalPlaceBlock-net.minecraft.item.ItemStack-com.gtnewhorizon.structurelib.util.ItemStackPredicate.NBTMode-net.minecraft.nbt.NBTTagCompound-boolean-net.minecraft.world.World-int-int-int-com.gtnewhorizon.structurelib.structure.IItemSource-net.minecraft.entity.player.EntityPlayer-java.util.function.Consumer-">survivalPlaceBlock</a></span>(<a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/net/minecraft/item/ItemStack.html?is-external=true" title="class or interface in net.minecraft.item">ItemStack</a> stack,
|
||||
<a href="../../../../com/gtnewhorizon/structurelib/util/ItemStackPredicate.NBTMode.html" title="enum in com.gtnewhorizon.structurelib.util">ItemStackPredicate.NBTMode</a> nbtMode,
|
||||
<a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/net/minecraft/nbt/NBTTagCompound.html?is-external=true" title="class or interface in net.minecraft.nbt">NBTTagCompound</a> tag,
|
||||
boolean assumeStackPresent,
|
||||
<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> world,
|
||||
int x,
|
||||
int y,
|
||||
int z,
|
||||
<a href="../../../../com/gtnewhorizon/structurelib/structure/IItemSource.html" title="interface in com.gtnewhorizon.structurelib.structure">IItemSource</a> s,
|
||||
<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,
|
||||
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/function/Consumer.html?is-external=true" title="class or interface in java.util.function">Consumer</a><<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>> chatter)</code>
|
||||
<div class="block">This is a helper method for implementing <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.IItemSource-net.minecraft.entity.player.EntityPlayerMP-java.util.function.Consumer-"><code>IStructureElement.survivalPlaceBlock(Object, World, int, int, int, ItemStack, IItemSource, EntityPlayerMP, Consumer)</code></a></div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i72" class="altColor">
|
||||
<td class="colFirst"><code>static <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.PlaceResult.html" title="enum in com.gtnewhorizon.structurelib.structure">IStructureElement.PlaceResult</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/gtnewhorizon/structurelib/structure/StructureUtility.html#survivalPlaceBlock-net.minecraft.item.ItemStack-com.gtnewhorizon.structurelib.util.ItemStackPredicate.NBTMode-net.minecraft.nbt.NBTTagCompound-boolean-net.minecraft.world.World-int-int-int-com.gtnewhorizon.structurelib.structure.IItemSource-net.minecraft.entity.player.EntityPlayerMP-">survivalPlaceBlock</a></span>(<a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/net/minecraft/item/ItemStack.html?is-external=true" title="class or interface in net.minecraft.item">ItemStack</a> stack,
|
||||
<a href="../../../../com/gtnewhorizon/structurelib/util/ItemStackPredicate.NBTMode.html" title="enum in com.gtnewhorizon.structurelib.util">ItemStackPredicate.NBTMode</a> nbtMode,
|
||||
@@ -793,7 +851,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html
|
||||
<div class="block">This is a helper method for implementing <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.IItemSource-net.minecraft.entity.player.EntityPlayerMP-java.util.function.Consumer-"><code>IStructureElement.survivalPlaceBlock(Object, World, int, int, int, ItemStack, IItemSource, EntityPlayerMP, Consumer)</code></a></div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i69" class="rowColor">
|
||||
<tr id="i73" class="rowColor">
|
||||
<td class="colFirst"><code>static <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.PlaceResult.html" title="enum in com.gtnewhorizon.structurelib.structure">IStructureElement.PlaceResult</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/gtnewhorizon/structurelib/structure/StructureUtility.html#survivalPlaceBlock-net.minecraft.item.ItemStack-com.gtnewhorizon.structurelib.util.ItemStackPredicate.NBTMode-net.minecraft.nbt.NBTTagCompound-boolean-net.minecraft.world.World-int-int-int-com.gtnewhorizon.structurelib.structure.IItemSource-net.minecraft.entity.player.EntityPlayerMP-java.util.function.Consumer-">survivalPlaceBlock</a></span>(<a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/net/minecraft/item/ItemStack.html?is-external=true" title="class or interface in net.minecraft.item">ItemStack</a> stack,
|
||||
<a href="../../../../com/gtnewhorizon/structurelib/util/ItemStackPredicate.NBTMode.html" title="enum in com.gtnewhorizon.structurelib.util">ItemStackPredicate.NBTMode</a> nbtMode,
|
||||
@@ -809,21 +867,21 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html
|
||||
<div class="block">This is a helper method for implementing <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.IItemSource-net.minecraft.entity.player.EntityPlayerMP-java.util.function.Consumer-"><code>IStructureElement.survivalPlaceBlock(Object, World, int, int, int, ItemStack, IItemSource, EntityPlayerMP, Consumer)</code></a></div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i70" class="altColor">
|
||||
<tr id="i74" 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/structure/StructureUtility.html#transpose-java.lang.String:A:A-">transpose</a></span>(<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>[][] structurePiece)</code>
|
||||
<div class="block">Transposes shape (swaps B and C axis, can be used to un-transpose transposed shape)
|
||||
WARNING! Do not use on old api...</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i71" class="rowColor">
|
||||
<tr id="i75" class="rowColor">
|
||||
<td class="colFirst"><code>static <T> <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html" title="interface in com.gtnewhorizon.structurelib.structure">IStructureElement</a><T></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/gtnewhorizon/structurelib/structure/StructureUtility.html#withChannel-java.lang.String-com.gtnewhorizon.structurelib.structure.IStructureElement-">withChannel</a></span>(<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> channel,
|
||||
<a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html" title="interface in com.gtnewhorizon.structurelib.structure">IStructureElement</a><T> backing)</code>
|
||||
<div class="block">See channels.md in docs folder</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i72" class="altColor">
|
||||
<tr id="i76" class="altColor">
|
||||
<td class="colFirst"><code>static <CTX,T extends <a href="../../../../com/gtnewhorizon/structurelib/structure/IWithExtendedContext.html" title="interface in com.gtnewhorizon.structurelib.structure">IWithExtendedContext</a><CTX>><br><a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html" title="interface in com.gtnewhorizon.structurelib.structure">IStructureElement</a><T></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/gtnewhorizon/structurelib/structure/StructureUtility.html#withContext-com.gtnewhorizon.structurelib.structure.IStructureElement-">withContext</a></span>(<a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html" title="interface in com.gtnewhorizon.structurelib.structure">IStructureElement</a><CTX> elem)</code>
|
||||
<div class="block">Switch to the extended context object in the downstream element</div>
|
||||
@@ -878,6 +936,33 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="survivalPlaceBlock-net.minecraft.block.Block-int-net.minecraft.world.World-int-int-int-com.gtnewhorizon.structurelib.structure.IItemSource-net.minecraft.entity.player.EntityPlayer-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>survivalPlaceBlock</h4>
|
||||
<pre>public static <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.PlaceResult.html" title="enum in com.gtnewhorizon.structurelib.structure">IStructureElement.PlaceResult</a> survivalPlaceBlock(<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,
|
||||
<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> world,
|
||||
int x,
|
||||
int y,
|
||||
int z,
|
||||
<a href="../../../../com/gtnewhorizon/structurelib/structure/IItemSource.html" title="interface in com.gtnewhorizon.structurelib.structure">IItemSource</a> s,
|
||||
<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">This is a helper method for implementing <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.IItemSource-net.minecraft.entity.player.EntityPlayerMP-java.util.function.Consumer-"><code>IStructureElement.survivalPlaceBlock(Object, World, int, int, int, ItemStack, IItemSource, EntityPlayerMP, Consumer)</code></a>
|
||||
<p>
|
||||
This method will try to look up an <a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/net/minecraft/item/ItemBlock.html?is-external=true" title="class or interface in net.minecraft.item"><code>ItemBlock</code></a> for given block and meta from <code>s</code> and place it at given
|
||||
location.
|
||||
This method assume block at given coord is NOT acceptable, but may or may not be trivially replaceable
|
||||
This method might yield error messages to the player only if there is likely a programming error or exploit.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>s</code> - drain resources from this place</dd>
|
||||
<dd><code>actor</code> - source of action. cannot be null.</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="survivalPlaceBlock-net.minecraft.block.Block-int-net.minecraft.world.World-int-int-int-com.gtnewhorizon.structurelib.structure.IItemSource-net.minecraft.entity.player.EntityPlayerMP-java.util.function.Consumer-">
|
||||
<!-- -->
|
||||
</a>
|
||||
@@ -908,6 +993,36 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="survivalPlaceBlock-net.minecraft.block.Block-int-net.minecraft.world.World-int-int-int-com.gtnewhorizon.structurelib.structure.IItemSource-net.minecraft.entity.player.EntityPlayer-java.util.function.Consumer-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>survivalPlaceBlock</h4>
|
||||
<pre>public static <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.PlaceResult.html" title="enum in com.gtnewhorizon.structurelib.structure">IStructureElement.PlaceResult</a> survivalPlaceBlock(<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,
|
||||
<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> world,
|
||||
int x,
|
||||
int y,
|
||||
int z,
|
||||
<a href="../../../../com/gtnewhorizon/structurelib/structure/IItemSource.html" title="interface in com.gtnewhorizon.structurelib.structure">IItemSource</a> s,
|
||||
<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,
|
||||
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/function/Consumer.html?is-external=true" title="class or interface in java.util.function">Consumer</a><<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>> chatter)</pre>
|
||||
<div class="block">This is a helper method for implementing <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.IItemSource-net.minecraft.entity.player.EntityPlayerMP-java.util.function.Consumer-"><code>IStructureElement.survivalPlaceBlock(Object, World, int, int, int, ItemStack, IItemSource, EntityPlayerMP, Consumer)</code></a>
|
||||
<p>
|
||||
This method will try to look up an <a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/net/minecraft/item/ItemBlock.html?is-external=true" title="class or interface in net.minecraft.item"><code>ItemBlock</code></a> for given block and meta from <code>s</code> and place it at given
|
||||
location.
|
||||
This method assume block at given coord is NOT acceptable, but may or may not be trivially replaceable
|
||||
This method might yield error messages to the player only if there is likely a programming error or exploit.
|
||||
This method might yield error messages to the chatter.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>s</code> - drain resources from this place</dd>
|
||||
<dd><code>actor</code> - source of action. cannot be null.</dd>
|
||||
<dd><code>chatter</code> - normal error destination. can be null to suppress them.</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="survivalPlaceBlock-net.minecraft.item.ItemStack-com.gtnewhorizon.structurelib.util.ItemStackPredicate.NBTMode-net.minecraft.nbt.NBTTagCompound-boolean-net.minecraft.world.World-int-int-int-com.gtnewhorizon.structurelib.structure.IItemSource-net.minecraft.entity.player.EntityPlayerMP-">
|
||||
<!-- -->
|
||||
</a>
|
||||
@@ -938,6 +1053,36 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="survivalPlaceBlock-net.minecraft.item.ItemStack-com.gtnewhorizon.structurelib.util.ItemStackPredicate.NBTMode-net.minecraft.nbt.NBTTagCompound-boolean-net.minecraft.world.World-int-int-int-com.gtnewhorizon.structurelib.structure.IItemSource-net.minecraft.entity.player.EntityPlayer-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>survivalPlaceBlock</h4>
|
||||
<pre>public static <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.PlaceResult.html" title="enum in com.gtnewhorizon.structurelib.structure">IStructureElement.PlaceResult</a> survivalPlaceBlock(<a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/net/minecraft/item/ItemStack.html?is-external=true" title="class or interface in net.minecraft.item">ItemStack</a> stack,
|
||||
<a href="../../../../com/gtnewhorizon/structurelib/util/ItemStackPredicate.NBTMode.html" title="enum in com.gtnewhorizon.structurelib.util">ItemStackPredicate.NBTMode</a> nbtMode,
|
||||
<a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/net/minecraft/nbt/NBTTagCompound.html?is-external=true" title="class or interface in net.minecraft.nbt">NBTTagCompound</a> tag,
|
||||
boolean assumeStackPresent,
|
||||
<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> world,
|
||||
int x,
|
||||
int y,
|
||||
int z,
|
||||
<a href="../../../../com/gtnewhorizon/structurelib/structure/IItemSource.html" title="interface in com.gtnewhorizon.structurelib.structure">IItemSource</a> s,
|
||||
<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">This is a helper method for implementing <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.IItemSource-net.minecraft.entity.player.EntityPlayerMP-java.util.function.Consumer-"><code>IStructureElement.survivalPlaceBlock(Object, World, int, int, int, ItemStack, IItemSource, EntityPlayerMP, Consumer)</code></a>
|
||||
<p>
|
||||
This method will try to look up an <a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/net/minecraft/item/ItemBlock.html?is-external=true" title="class or interface in net.minecraft.item"><code>ItemBlock</code></a> for given block and meta from <code>s</code> and place it at given
|
||||
location.
|
||||
This method assume block at given coord is NOT acceptable, but may or may not be trivially replaceable
|
||||
This method might yield error messages to the player only if there is likely a programming error or exploit.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>stack</code> - a valid stack with stack size of exactly 1. Must be of an ItemBlock!</dd>
|
||||
<dd><code>s</code> - drain resources from this place</dd>
|
||||
<dd><code>actor</code> - source of action. cannot be null.</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="survivalPlaceBlock-net.minecraft.item.ItemStack-com.gtnewhorizon.structurelib.util.ItemStackPredicate.NBTMode-net.minecraft.nbt.NBTTagCompound-boolean-net.minecraft.world.World-int-int-int-com.gtnewhorizon.structurelib.structure.IItemSource-net.minecraft.entity.player.EntityPlayerMP-java.util.function.Consumer-">
|
||||
<!-- -->
|
||||
</a>
|
||||
@@ -972,6 +1117,40 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="survivalPlaceBlock-net.minecraft.item.ItemStack-com.gtnewhorizon.structurelib.util.ItemStackPredicate.NBTMode-net.minecraft.nbt.NBTTagCompound-boolean-net.minecraft.world.World-int-int-int-com.gtnewhorizon.structurelib.structure.IItemSource-net.minecraft.entity.player.EntityPlayer-java.util.function.Consumer-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>survivalPlaceBlock</h4>
|
||||
<pre>public static <a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.PlaceResult.html" title="enum in com.gtnewhorizon.structurelib.structure">IStructureElement.PlaceResult</a> survivalPlaceBlock(<a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/net/minecraft/item/ItemStack.html?is-external=true" title="class or interface in net.minecraft.item">ItemStack</a> stack,
|
||||
<a href="../../../../com/gtnewhorizon/structurelib/util/ItemStackPredicate.NBTMode.html" title="enum in com.gtnewhorizon.structurelib.util">ItemStackPredicate.NBTMode</a> nbtMode,
|
||||
<a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/net/minecraft/nbt/NBTTagCompound.html?is-external=true" title="class or interface in net.minecraft.nbt">NBTTagCompound</a> tag,
|
||||
boolean assumeStackPresent,
|
||||
<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> world,
|
||||
int x,
|
||||
int y,
|
||||
int z,
|
||||
<a href="../../../../com/gtnewhorizon/structurelib/structure/IItemSource.html" title="interface in com.gtnewhorizon.structurelib.structure">IItemSource</a> s,
|
||||
<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,
|
||||
<a href="https://docs.oracle.com/javase/8/docs/api/javax/annotation/Nullable.html?is-external=true" title="class or interface in javax.annotation">@Nullable</a>
|
||||
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/function/Consumer.html?is-external=true" title="class or interface in java.util.function">Consumer</a><<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>> chatter)</pre>
|
||||
<div class="block">This is a helper method for implementing <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.IItemSource-net.minecraft.entity.player.EntityPlayerMP-java.util.function.Consumer-"><code>IStructureElement.survivalPlaceBlock(Object, World, int, int, int, ItemStack, IItemSource, EntityPlayerMP, Consumer)</code></a>
|
||||
<p>
|
||||
This method will try to look up an <a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/net/minecraft/item/ItemBlock.html?is-external=true" title="class or interface in net.minecraft.item"><code>ItemBlock</code></a> for given block and meta from <code>s</code> and place it at given
|
||||
location.
|
||||
This method assume block at given coord is NOT acceptable, but may or may not be trivially replaceable
|
||||
This method might yield error messages to the player only if there is likely a programming error or exploit.
|
||||
This method might yield error messages to the chatter.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>stack</code> - a valid stack with stack size of exactly 1. Must be of an ItemBlock!</dd>
|
||||
<dd><code>s</code> - drain resources from this place</dd>
|
||||
<dd><code>actor</code> - source of action. cannot be null.</dd>
|
||||
<dd><code>chatter</code> - normal error destination. can be null to suppress them.</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="isAir--">
|
||||
<!-- -->
|
||||
</a>
|
||||
@@ -1150,9 +1329,9 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html
|
||||
<dd><code>allKnownTiers</code> - A list of all known tiers as of calling. Can be empty or null. No hint will be spawned if empty or null. Cannot have null elements.
|
||||
First element denotes the most primitive tier. Last element denotes the most advanced tier.
|
||||
If not all tiers are available at definition construction time, use <a href="../../../../com/gtnewhorizon/structurelib/structure/StructureUtility.html#lazy-java.util.function.Supplier-"><code>lazy(Supplier)</code></a> or its overloads to delay a bit.
|
||||
This list is only for hint particle spawning and survival build.
|
||||
The hint/autoplace code will choose 1st pair to spawn/place if trigger item has master channel data of 1,
|
||||
2nd pair if 2, and so on.</dd>
|
||||
This list is only for hint particle spawning and survival build.
|
||||
The hint/autoplace code will choose 1st pair to spawn/place if trigger item has master channel data of 1,
|
||||
2nd pair if 2, and so on.</dd>
|
||||
<dd><code>notSet</code> - The value returned from <code>getter</code> when there were no tier info found in T yet. Can be null.</dd>
|
||||
<dd><code>getter</code> - a function to retrieve the current tier from context object</dd>
|
||||
<dd><code>setter</code> - a function to set the current tier into context object</dd>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc -->
|
||||
<title>IBlockAdder (StructureLib 1.7.10-1.1.12 API)</title>
|
||||
<title>IBlockAdder (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>
|
||||
@@ -11,7 +11,7 @@
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="IBlockAdder (StructureLib 1.7.10-1.1.12 API)";
|
||||
parent.document.title="IBlockAdder (StructureLib 1.7.10-1.1.12-15-g978938d API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc -->
|
||||
<title>ITileAdder (StructureLib 1.7.10-1.1.12 API)</title>
|
||||
<title>ITileAdder (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>
|
||||
@@ -11,7 +11,7 @@
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="ITileAdder (StructureLib 1.7.10-1.1.12 API)";
|
||||
parent.document.title="ITileAdder (StructureLib 1.7.10-1.1.12-15-g978938d API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc -->
|
||||
<title>com.gtnewhorizon.structurelib.structure.adders (StructureLib 1.7.10-1.1.12 API)</title>
|
||||
<title>com.gtnewhorizon.structurelib.structure.adders (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>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc -->
|
||||
<title>com.gtnewhorizon.structurelib.structure.adders (StructureLib 1.7.10-1.1.12 API)</title>
|
||||
<title>com.gtnewhorizon.structurelib.structure.adders (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>
|
||||
@@ -11,7 +11,7 @@
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="com.gtnewhorizon.structurelib.structure.adders (StructureLib 1.7.10-1.1.12 API)";
|
||||
parent.document.title="com.gtnewhorizon.structurelib.structure.adders (StructureLib 1.7.10-1.1.12-15-g978938d API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc -->
|
||||
<title>com.gtnewhorizon.structurelib.structure.adders Class Hierarchy (StructureLib 1.7.10-1.1.12 API)</title>
|
||||
<title>com.gtnewhorizon.structurelib.structure.adders Class Hierarchy (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>
|
||||
@@ -11,7 +11,7 @@
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="com.gtnewhorizon.structurelib.structure.adders Class Hierarchy (StructureLib 1.7.10-1.1.12 API)";
|
||||
parent.document.title="com.gtnewhorizon.structurelib.structure.adders Class Hierarchy (StructureLib 1.7.10-1.1.12-15-g978938d API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc -->
|
||||
<title>com.gtnewhorizon.structurelib.structure (StructureLib 1.7.10-1.1.12 API)</title>
|
||||
<title>com.gtnewhorizon.structurelib.structure (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>
|
||||
@@ -22,18 +22,21 @@
|
||||
<li><a href="IStructureElementCheckOnly.html" title="interface in com.gtnewhorizon.structurelib.structure" target="classFrame"><span class="interfaceName">IStructureElementCheckOnly</span></a></li>
|
||||
<li><a href="IStructureElementDeferred.html" title="interface in com.gtnewhorizon.structurelib.structure" target="classFrame"><span class="interfaceName">IStructureElementDeferred</span></a></li>
|
||||
<li><a href="IStructureElementNoPlacement.html" title="interface in com.gtnewhorizon.structurelib.structure" target="classFrame"><span class="interfaceName">IStructureElementNoPlacement</span></a></li>
|
||||
<li><a href="IStructureWalker.html" title="interface in com.gtnewhorizon.structurelib.structure" target="classFrame"><span class="interfaceName">IStructureWalker</span></a></li>
|
||||
<li><a href="ISurvivalBuildEnvironment.html" title="interface in com.gtnewhorizon.structurelib.structure" target="classFrame"><span class="interfaceName">ISurvivalBuildEnvironment</span></a></li>
|
||||
<li><a href="ITierConverter.html" title="interface in com.gtnewhorizon.structurelib.structure" target="classFrame"><span class="interfaceName">ITierConverter</span></a></li>
|
||||
<li><a href="IWithExtendedContext.html" title="interface in com.gtnewhorizon.structurelib.structure" target="classFrame"><span class="interfaceName">IWithExtendedContext</span></a></li>
|
||||
</ul>
|
||||
<h2 title="Classes">Classes</h2>
|
||||
<ul title="Classes">
|
||||
<li><a href="AutoPlaceEnvironment.html" title="class in com.gtnewhorizon.structurelib.structure" target="classFrame">AutoPlaceEnvironment</a></li>
|
||||
<li><a href="IStructureElement.BlocksToPlace.html" title="class in com.gtnewhorizon.structurelib.structure" target="classFrame">IStructureElement.BlocksToPlace</a></li>
|
||||
<li><a href="StructureDefinition.html" title="class in com.gtnewhorizon.structurelib.structure" target="classFrame">StructureDefinition</a></li>
|
||||
<li><a href="StructureDefinition.Builder.html" title="class in com.gtnewhorizon.structurelib.structure" target="classFrame">StructureDefinition.Builder</a></li>
|
||||
<li><a href="StructureUtility.html" title="class in com.gtnewhorizon.structurelib.structure" target="classFrame">StructureUtility</a></li>
|
||||
</ul>
|
||||
<h2 title="Enums">Enums</h2>
|
||||
<ul title="Enums">
|
||||
<li><a href="AutoPlaceEnvironment.APILevel.html" title="enum in com.gtnewhorizon.structurelib.structure" target="classFrame">AutoPlaceEnvironment.APILevel</a></li>
|
||||
<li><a href="IStructureElement.PlaceResult.html" title="enum in com.gtnewhorizon.structurelib.structure" target="classFrame">IStructureElement.PlaceResult</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc -->
|
||||
<title>com.gtnewhorizon.structurelib.structure (StructureLib 1.7.10-1.1.12 API)</title>
|
||||
<title>com.gtnewhorizon.structurelib.structure (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>
|
||||
@@ -11,7 +11,7 @@
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="com.gtnewhorizon.structurelib.structure (StructureLib 1.7.10-1.1.12 API)";
|
||||
parent.document.title="com.gtnewhorizon.structurelib.structure (StructureLib 1.7.10-1.1.12-15-g978938d API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
@@ -111,7 +111,7 @@
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.html" title="interface in com.gtnewhorizon.structurelib.structure">IStructureElement</a><T></td>
|
||||
<td class="colLast">
|
||||
<div class="block">Use StructureUtility to instantiate</div>
|
||||
<div class="block">Use StructureUtility to instantiate.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
@@ -135,7 +135,7 @@
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureWalker.html" title="interface in com.gtnewhorizon.structurelib.structure">IStructureWalker</a><T></td>
|
||||
<td class="colFirst"><a href="../../../../com/gtnewhorizon/structurelib/structure/ISurvivalBuildEnvironment.html" title="interface in com.gtnewhorizon.structurelib.structure">ISurvivalBuildEnvironment</a></td>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
@@ -164,6 +164,16 @@
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><a href="../../../../com/gtnewhorizon/structurelib/structure/AutoPlaceEnvironment.html" title="class in com.gtnewhorizon.structurelib.structure">AutoPlaceEnvironment</a></td>
|
||||
<td class="colLast">
|
||||
<div class="block">Represent the environment in which autoplace of a single element took place.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.BlocksToPlace.html" title="class in com.gtnewhorizon.structurelib.structure">IStructureElement.BlocksToPlace</a></td>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><a href="../../../../com/gtnewhorizon/structurelib/structure/StructureDefinition.html" title="class in com.gtnewhorizon.structurelib.structure">StructureDefinition</a><T></td>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
@@ -189,6 +199,12 @@
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><a href="../../../../com/gtnewhorizon/structurelib/structure/AutoPlaceEnvironment.APILevel.html" title="enum in com.gtnewhorizon.structurelib.structure">AutoPlaceEnvironment.APILevel</a></td>
|
||||
<td class="colLast">
|
||||
<div class="block">Defines the various API level an <a href="../../../../com/gtnewhorizon/structurelib/structure/AutoPlaceEnvironment.html" title="class in com.gtnewhorizon.structurelib.structure"><code>AutoPlaceEnvironment</code></a> has implemented.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.PlaceResult.html" title="enum in com.gtnewhorizon.structurelib.structure">IStructureElement.PlaceResult</a></td>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc -->
|
||||
<title>com.gtnewhorizon.structurelib.structure Class Hierarchy (StructureLib 1.7.10-1.1.12 API)</title>
|
||||
<title>com.gtnewhorizon.structurelib.structure Class Hierarchy (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>
|
||||
@@ -11,7 +11,7 @@
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="com.gtnewhorizon.structurelib.structure Class Hierarchy (StructureLib 1.7.10-1.1.12 API)";
|
||||
parent.document.title="com.gtnewhorizon.structurelib.structure Class Hierarchy (StructureLib 1.7.10-1.1.12-15-g978938d API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
@@ -79,6 +79,8 @@
|
||||
<ul>
|
||||
<li type="circle">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"><span class="typeNameLink">Object</span></a>
|
||||
<ul>
|
||||
<li type="circle">com.gtnewhorizon.structurelib.structure.<a href="../../../../com/gtnewhorizon/structurelib/structure/AutoPlaceEnvironment.html" title="class in com.gtnewhorizon.structurelib.structure"><span class="typeNameLink">AutoPlaceEnvironment</span></a></li>
|
||||
<li type="circle">com.gtnewhorizon.structurelib.structure.<a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.BlocksToPlace.html" title="class in com.gtnewhorizon.structurelib.structure"><span class="typeNameLink">IStructureElement.BlocksToPlace</span></a></li>
|
||||
<li type="circle">com.gtnewhorizon.structurelib.structure.<a href="../../../../com/gtnewhorizon/structurelib/structure/StructureDefinition.html" title="class in com.gtnewhorizon.structurelib.structure"><span class="typeNameLink">StructureDefinition</span></a><T> (implements com.gtnewhorizon.structurelib.structure.<a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureDefinition.html" title="interface in com.gtnewhorizon.structurelib.structure">IStructureDefinition</a><T>)</li>
|
||||
<li type="circle">com.gtnewhorizon.structurelib.structure.<a href="../../../../com/gtnewhorizon/structurelib/structure/StructureDefinition.Builder.html" title="class in com.gtnewhorizon.structurelib.structure"><span class="typeNameLink">StructureDefinition.Builder</span></a><T></li>
|
||||
<li type="circle">com.gtnewhorizon.structurelib.structure.<a href="../../../../com/gtnewhorizon/structurelib/structure/StructureUtility.html" title="class in com.gtnewhorizon.structurelib.structure"><span class="typeNameLink">StructureUtility</span></a></li>
|
||||
@@ -100,7 +102,7 @@
|
||||
<li type="circle">com.gtnewhorizon.structurelib.structure.<a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElementNoPlacement.html" title="interface in com.gtnewhorizon.structurelib.structure"><span class="typeNameLink">IStructureElementNoPlacement</span></a><T></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li type="circle">com.gtnewhorizon.structurelib.structure.<a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureWalker.html" title="interface in com.gtnewhorizon.structurelib.structure"><span class="typeNameLink">IStructureWalker</span></a><T></li>
|
||||
<li type="circle">com.gtnewhorizon.structurelib.structure.<a href="../../../../com/gtnewhorizon/structurelib/structure/ISurvivalBuildEnvironment.html" title="interface in com.gtnewhorizon.structurelib.structure"><span class="typeNameLink">ISurvivalBuildEnvironment</span></a></li>
|
||||
<li type="circle">com.gtnewhorizon.structurelib.structure.<a href="../../../../com/gtnewhorizon/structurelib/structure/ITierConverter.html" title="interface in com.gtnewhorizon.structurelib.structure"><span class="typeNameLink">ITierConverter</span></a><TIER></li>
|
||||
<li type="circle">com.gtnewhorizon.structurelib.structure.<a href="../../../../com/gtnewhorizon/structurelib/structure/IWithExtendedContext.html" title="interface in com.gtnewhorizon.structurelib.structure"><span class="typeNameLink">IWithExtendedContext</span></a><CTX></li>
|
||||
</ul>
|
||||
@@ -111,6 +113,7 @@
|
||||
<li type="circle">java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang"><span class="typeNameLink">Enum</span></a><E> (implements java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</a><T>, java.io.<a href="https://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a>)
|
||||
<ul>
|
||||
<li type="circle">com.gtnewhorizon.structurelib.structure.<a href="../../../../com/gtnewhorizon/structurelib/structure/IStructureElement.PlaceResult.html" title="enum in com.gtnewhorizon.structurelib.structure"><span class="typeNameLink">IStructureElement.PlaceResult</span></a></li>
|
||||
<li type="circle">com.gtnewhorizon.structurelib.structure.<a href="../../../../com/gtnewhorizon/structurelib/structure/AutoPlaceEnvironment.APILevel.html" title="enum in com.gtnewhorizon.structurelib.structure"><span class="typeNameLink">AutoPlaceEnvironment.APILevel</span></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc -->
|
||||
<title>InventoryIterable (StructureLib 1.7.10-1.1.12 API)</title>
|
||||
<title>InventoryIterable (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>
|
||||
@@ -11,7 +11,7 @@
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="InventoryIterable (StructureLib 1.7.10-1.1.12 API)";
|
||||
parent.document.title="InventoryIterable (StructureLib 1.7.10-1.1.12-15-g978938d API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
|
||||
+2
-2
@@ -3,7 +3,7 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc -->
|
||||
<title>InventoryUtility.InventoryProvider (StructureLib 1.7.10-1.1.12 API)</title>
|
||||
<title>InventoryUtility.InventoryProvider (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>
|
||||
@@ -11,7 +11,7 @@
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="InventoryUtility.InventoryProvider (StructureLib 1.7.10-1.1.12 API)";
|
||||
parent.document.title="InventoryUtility.InventoryProvider (StructureLib 1.7.10-1.1.12-15-g978938d API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
|
||||
+2
-2
@@ -3,7 +3,7 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc -->
|
||||
<title>InventoryUtility.ItemStackCounter (StructureLib 1.7.10-1.1.12 API)</title>
|
||||
<title>InventoryUtility.ItemStackCounter (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>
|
||||
@@ -11,7 +11,7 @@
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="InventoryUtility.ItemStackCounter (StructureLib 1.7.10-1.1.12 API)";
|
||||
parent.document.title="InventoryUtility.ItemStackCounter (StructureLib 1.7.10-1.1.12-15-g978938d API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
|
||||
+2
-2
@@ -3,7 +3,7 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc -->
|
||||
<title>InventoryUtility.ItemStackExtractor.APIType (StructureLib 1.7.10-1.1.12 API)</title>
|
||||
<title>InventoryUtility.ItemStackExtractor.APIType (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>
|
||||
@@ -11,7 +11,7 @@
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="InventoryUtility.ItemStackExtractor.APIType (StructureLib 1.7.10-1.1.12 API)";
|
||||
parent.document.title="InventoryUtility.ItemStackExtractor.APIType (StructureLib 1.7.10-1.1.12-15-g978938d API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
|
||||
+2
-2
@@ -3,7 +3,7 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc -->
|
||||
<title>InventoryUtility.ItemStackExtractor (StructureLib 1.7.10-1.1.12 API)</title>
|
||||
<title>InventoryUtility.ItemStackExtractor (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>
|
||||
@@ -11,7 +11,7 @@
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="InventoryUtility.ItemStackExtractor (StructureLib 1.7.10-1.1.12 API)";
|
||||
parent.document.title="InventoryUtility.ItemStackExtractor (StructureLib 1.7.10-1.1.12-15-g978938d API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
|
||||
+2
-2
@@ -3,7 +3,7 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc -->
|
||||
<title>InventoryUtility.OptimizedExtractor (StructureLib 1.7.10-1.1.12 API)</title>
|
||||
<title>InventoryUtility.OptimizedExtractor (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>
|
||||
@@ -11,7 +11,7 @@
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="InventoryUtility.OptimizedExtractor (StructureLib 1.7.10-1.1.12 API)";
|
||||
parent.document.title="InventoryUtility.OptimizedExtractor (StructureLib 1.7.10-1.1.12-15-g978938d API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc -->
|
||||
<title>InventoryUtility (StructureLib 1.7.10-1.1.12 API)</title>
|
||||
<title>InventoryUtility (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>
|
||||
@@ -11,7 +11,7 @@
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="InventoryUtility (StructureLib 1.7.10-1.1.12 API)";
|
||||
parent.document.title="InventoryUtility (StructureLib 1.7.10-1.1.12-15-g978938d API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc -->
|
||||
<title>ItemStackArrayIterable (StructureLib 1.7.10-1.1.12 API)</title>
|
||||
<title>ItemStackArrayIterable (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>
|
||||
@@ -11,7 +11,7 @@
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="ItemStackArrayIterable (StructureLib 1.7.10-1.1.12 API)";
|
||||
parent.document.title="ItemStackArrayIterable (StructureLib 1.7.10-1.1.12-15-g978938d API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc -->
|
||||
<title>ItemStackPredicate.NBTMode (StructureLib 1.7.10-1.1.12 API)</title>
|
||||
<title>ItemStackPredicate.NBTMode (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>
|
||||
@@ -11,7 +11,7 @@
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="ItemStackPredicate.NBTMode (StructureLib 1.7.10-1.1.12 API)";
|
||||
parent.document.title="ItemStackPredicate.NBTMode (StructureLib 1.7.10-1.1.12-15-g978938d API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc -->
|
||||
<title>ItemStackPredicate (StructureLib 1.7.10-1.1.12 API)</title>
|
||||
<title>ItemStackPredicate (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>
|
||||
@@ -11,7 +11,7 @@
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="ItemStackPredicate (StructureLib 1.7.10-1.1.12 API)";
|
||||
parent.document.title="ItemStackPredicate (StructureLib 1.7.10-1.1.12-15-g978938d API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc -->
|
||||
<title>MiscUtils (StructureLib 1.7.10-1.1.12 API)</title>
|
||||
<title>MiscUtils (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>
|
||||
@@ -11,7 +11,7 @@
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="MiscUtils (StructureLib 1.7.10-1.1.12 API)";
|
||||
parent.document.title="MiscUtils (StructureLib 1.7.10-1.1.12-15-g978938d API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc -->
|
||||
<title>SortedRegistry (StructureLib 1.7.10-1.1.12 API)</title>
|
||||
<title>SortedRegistry (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>
|
||||
@@ -11,7 +11,7 @@
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="SortedRegistry (StructureLib 1.7.10-1.1.12 API)";
|
||||
parent.document.title="SortedRegistry (StructureLib 1.7.10-1.1.12-15-g978938d API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc -->
|
||||
<title>Vec3Impl (StructureLib 1.7.10-1.1.12 API)</title>
|
||||
<title>Vec3Impl (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>
|
||||
@@ -11,14 +11,14 @@
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="Vec3Impl (StructureLib 1.7.10-1.1.12 API)";
|
||||
parent.document.title="Vec3Impl (StructureLib 1.7.10-1.1.12-15-g978938d API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10};
|
||||
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
|
||||
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":9,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10};
|
||||
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
|
||||
var altColor = "altColor";
|
||||
var rowColor = "rowColor";
|
||||
var tableTab = "tableTab";
|
||||
@@ -165,7 +165,7 @@ implements <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Comparab
|
||||
</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="t2" class="tableTab"><span><a href="javascript:show(2);">Instance 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></caption>
|
||||
<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="t2" class="tableTab"><span><a href="javascript:show(2);">Instance 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></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colLast" scope="col">Method and Description</th>
|
||||
@@ -237,38 +237,46 @@ implements <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Comparab
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i13" class="rowColor">
|
||||
<td class="colFirst"><code>int</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/gtnewhorizon/structurelib/util/Vec3Impl.html#hashCode--">hashCode</a></span>()</code> </td>
|
||||
<td class="colFirst"><code>static <a href="../../../../com/gtnewhorizon/structurelib/util/Vec3Impl.html" title="class in com.gtnewhorizon.structurelib.util">Vec3Impl</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/gtnewhorizon/structurelib/util/Vec3Impl.html#getFromPool-int-int-int-">getFromPool</a></span>(int in0,
|
||||
int in1,
|
||||
int in2)</code>
|
||||
<div class="block">THIS WILL CAUSE THIS VECTOR TO PERMANENTLY RESIDE IN STATIC MEMORY.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i14" class="altColor">
|
||||
<td class="colFirst"><code>int</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/gtnewhorizon/structurelib/util/Vec3Impl.html#manhattanDistance-com.gtnewhorizon.structurelib.util.Vec3Impl-">manhattanDistance</a></span>(<a href="../../../../com/gtnewhorizon/structurelib/util/Vec3Impl.html" title="class in com.gtnewhorizon.structurelib.util">Vec3Impl</a> to)</code> </td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/gtnewhorizon/structurelib/util/Vec3Impl.html#hashCode--">hashCode</a></span>()</code> </td>
|
||||
</tr>
|
||||
<tr id="i15" class="rowColor">
|
||||
<td class="colFirst"><code>int</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/gtnewhorizon/structurelib/util/Vec3Impl.html#manhattanDistance-com.gtnewhorizon.structurelib.util.Vec3Impl-">manhattanDistance</a></span>(<a href="../../../../com/gtnewhorizon/structurelib/util/Vec3Impl.html" title="class in com.gtnewhorizon.structurelib.util">Vec3Impl</a> to)</code> </td>
|
||||
</tr>
|
||||
<tr id="i16" class="altColor">
|
||||
<td class="colFirst"><code><a href="../../../../com/gtnewhorizon/structurelib/util/Vec3Impl.html" title="class in com.gtnewhorizon.structurelib.util">Vec3Impl</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/gtnewhorizon/structurelib/util/Vec3Impl.html#offset-net.minecraftforge.common.util.ForgeDirection-int-">offset</a></span>(net.minecraftforge.common.util.ForgeDirection facing,
|
||||
int n)</code> </td>
|
||||
</tr>
|
||||
<tr id="i16" class="altColor">
|
||||
<tr id="i17" class="rowColor">
|
||||
<td class="colFirst"><code><a href="../../../../com/gtnewhorizon/structurelib/util/Vec3Impl.html" title="class in com.gtnewhorizon.structurelib.util">Vec3Impl</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/gtnewhorizon/structurelib/util/Vec3Impl.html#sub-int-int-int-">sub</a></span>(int pos0,
|
||||
int pos1,
|
||||
int pos2)</code> </td>
|
||||
</tr>
|
||||
<tr id="i17" class="rowColor">
|
||||
<tr id="i18" class="altColor">
|
||||
<td class="colFirst"><code><a href="../../../../com/gtnewhorizon/structurelib/util/Vec3Impl.html" title="class in com.gtnewhorizon.structurelib.util">Vec3Impl</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/gtnewhorizon/structurelib/util/Vec3Impl.html#sub-com.gtnewhorizon.structurelib.util.Vec3Impl-">sub</a></span>(<a href="../../../../com/gtnewhorizon/structurelib/util/Vec3Impl.html" title="class in com.gtnewhorizon.structurelib.util">Vec3Impl</a> pos)</code> </td>
|
||||
</tr>
|
||||
<tr id="i18" class="altColor">
|
||||
<tr id="i19" class="rowColor">
|
||||
<td class="colFirst"><code><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/util/Vec3Impl.html#toString--">toString</a></span>()</code> </td>
|
||||
</tr>
|
||||
<tr id="i19" class="rowColor">
|
||||
<tr id="i20" class="altColor">
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/gtnewhorizon/structurelib/util/Vec3Impl.html#withinDistance-net.minecraft.dispenser.IPosition-double-">withinDistance</a></span>(<a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/net/minecraft/dispenser/IPosition.html?is-external=true" title="class or interface in net.minecraft.dispenser">IPosition</a> to,
|
||||
double distance)</code> </td>
|
||||
</tr>
|
||||
<tr id="i20" class="altColor">
|
||||
<tr id="i21" class="rowColor">
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/gtnewhorizon/structurelib/util/Vec3Impl.html#withinDistance-com.gtnewhorizon.structurelib.util.Vec3Impl-double-">withinDistance</a></span>(<a href="../../../../com/gtnewhorizon/structurelib/util/Vec3Impl.html" title="class in com.gtnewhorizon.structurelib.util">Vec3Impl</a> to,
|
||||
double distance)</code> </td>
|
||||
@@ -331,6 +339,19 @@ implements <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Comparab
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Detail</h3>
|
||||
<a name="getFromPool-int-int-int-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getFromPool</h4>
|
||||
<pre>public static <a href="../../../../com/gtnewhorizon/structurelib/util/Vec3Impl.html" title="class in com.gtnewhorizon.structurelib.util">Vec3Impl</a> getFromPool(int in0,
|
||||
int in1,
|
||||
int in2)</pre>
|
||||
<div class="block">THIS WILL CAUSE THIS VECTOR TO PERMANENTLY RESIDE IN STATIC MEMORY. DO NOT USE THIS UNLESS YOU KNOW WHAT YOU ARE
|
||||
DOING!!!</div>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="compareTo-com.gtnewhorizon.structurelib.util.Vec3Impl-">
|
||||
<!-- -->
|
||||
</a>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc -->
|
||||
<title>XSTR (StructureLib 1.7.10-1.1.12 API)</title>
|
||||
<title>XSTR (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>
|
||||
@@ -11,7 +11,7 @@
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="XSTR (StructureLib 1.7.10-1.1.12 API)";
|
||||
parent.document.title="XSTR (StructureLib 1.7.10-1.1.12-15-g978938d API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc -->
|
||||
<title>com.gtnewhorizon.structurelib.util (StructureLib 1.7.10-1.1.12 API)</title>
|
||||
<title>com.gtnewhorizon.structurelib.util (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>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc -->
|
||||
<title>com.gtnewhorizon.structurelib.util (StructureLib 1.7.10-1.1.12 API)</title>
|
||||
<title>com.gtnewhorizon.structurelib.util (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>
|
||||
@@ -11,7 +11,7 @@
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="com.gtnewhorizon.structurelib.util (StructureLib 1.7.10-1.1.12 API)";
|
||||
parent.document.title="com.gtnewhorizon.structurelib.util (StructureLib 1.7.10-1.1.12-15-g978938d API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc -->
|
||||
<title>com.gtnewhorizon.structurelib.util Class Hierarchy (StructureLib 1.7.10-1.1.12 API)</title>
|
||||
<title>com.gtnewhorizon.structurelib.util Class Hierarchy (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>
|
||||
@@ -11,7 +11,7 @@
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="com.gtnewhorizon.structurelib.util Class Hierarchy (StructureLib 1.7.10-1.1.12 API)";
|
||||
parent.document.title="com.gtnewhorizon.structurelib.util Class Hierarchy (StructureLib 1.7.10-1.1.12-15-g978938d API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc -->
|
||||
<title>Constant Field Values (StructureLib 1.7.10-1.1.12 API)</title>
|
||||
<title>Constant Field Values (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>
|
||||
@@ -11,7 +11,7 @@
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="Constant Field Values (StructureLib 1.7.10-1.1.12 API)";
|
||||
parent.document.title="Constant Field Values (StructureLib 1.7.10-1.1.12-15-g978938d API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc -->
|
||||
<title>Deprecated List (StructureLib 1.7.10-1.1.12 API)</title>
|
||||
<title>Deprecated List (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>
|
||||
@@ -11,7 +11,7 @@
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="Deprecated List (StructureLib 1.7.10-1.1.12 API)";
|
||||
parent.document.title="Deprecated List (StructureLib 1.7.10-1.1.12-15-g978938d API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
@@ -86,6 +86,14 @@
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><a href="com/gtnewhorizon/structurelib/alignment/constructable/ISurvivalConstructable.html#Z:Z__get_player--">com.gtnewhorizon.structurelib.alignment.constructable.ISurvivalConstructable.__get_player()</a></td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colOne"><a href="com/gtnewhorizon/structurelib/structure/StructureDefinition.Builder.html#addElement-java.lang.Character-com.gtnewhorizon.structurelib.structure.IStructureElement-">com.gtnewhorizon.structurelib.structure.StructureDefinition.Builder.addElement(Character, IStructureElement<T>)</a>
|
||||
<div class="block"><span class="deprecationComment">use the unboxed version</span></div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><a href="com/gtnewhorizon/structurelib/structure/StructureUtility.html#defer-java.util.function.BiFunction-java.util.Map-">com.gtnewhorizon.structurelib.structure.StructureUtility.defer(BiFunction<T, ItemStack, K>, Map<K, IStructureElement<T>>)</a>
|
||||
<div class="block"><span class="deprecationComment">renamed to partitionBy</span></div>
|
||||
</td>
|
||||
@@ -135,6 +143,22 @@
|
||||
<div class="block"><span class="deprecationComment">renamed to partitionBy</span></div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><a href="com/gtnewhorizon/structurelib/StructureLibAPI.html#isBlockTriviallyReplaceable-net.minecraft.world.World-int-int-int-net.minecraft.entity.player.EntityPlayerMP-">com.gtnewhorizon.structurelib.StructureLibAPI.isBlockTriviallyReplaceable(World, int, int, int, EntityPlayerMP)</a></td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colOne"><a href="com/gtnewhorizon/structurelib/structure/IStructureDefinition.html#survivalBuild-T-net.minecraft.item.ItemStack-java.lang.String-net.minecraft.world.World-com.gtnewhorizon.structurelib.alignment.enumerable.ExtendedFacing-int-int-int-int-int-int-int-com.gtnewhorizon.structurelib.structure.IItemSource-net.minecraft.entity.player.EntityPlayerMP-boolean-">com.gtnewhorizon.structurelib.structure.IStructureDefinition.survivalBuild(T, ItemStack, String, World, ExtendedFacing, int, int, int, int, int, int, int, IItemSource, EntityPlayerMP, boolean)</a></td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><a href="com/gtnewhorizon/structurelib/alignment/constructable/ISurvivalConstructable.html#survivalConstruct-net.minecraft.item.ItemStack-int-com.gtnewhorizon.structurelib.structure.IItemSource-net.minecraft.entity.player.EntityPlayerMP-">com.gtnewhorizon.structurelib.alignment.constructable.ISurvivalConstructable.survivalConstruct(ItemStack, int, IItemSource, EntityPlayerMP)</a></td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colOne"><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.IItemSource-net.minecraft.entity.player.EntityPlayerMP-java.util.function.Consumer-">com.gtnewhorizon.structurelib.structure.IStructureElement.survivalPlaceBlock(T, World, int, int, int, ItemStack, IItemSource, EntityPlayerMP, Consumer<IChatComponent>)</a>
|
||||
<div class="block"><span class="deprecationComment">caller should call the non deprecated overload. implementor for reusable <a href="com/gtnewhorizon/structurelib/structure/IStructureElement.html" title="interface in com.gtnewhorizon.structurelib.structure"><code>IStructureElement</code></a>
|
||||
should still implement this. implementor for private implementations can freely ignore this as long as you know
|
||||
the caller will not call this overload.</span></div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</li>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc -->
|
||||
<title>API Help (StructureLib 1.7.10-1.1.12 API)</title>
|
||||
<title>API Help (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>
|
||||
@@ -11,7 +11,7 @@
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="API Help (StructureLib 1.7.10-1.1.12 API)";
|
||||
parent.document.title="API Help (StructureLib 1.7.10-1.1.12-15-g978938d API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
|
||||
+255
-25
@@ -3,7 +3,7 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc -->
|
||||
<title>Index (StructureLib 1.7.10-1.1.12 API)</title>
|
||||
<title>Index (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>
|
||||
@@ -11,7 +11,7 @@
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="Index (StructureLib 1.7.10-1.1.12 API)";
|
||||
parent.document.title="Index (StructureLib 1.7.10-1.1.12-15-g978938d API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
@@ -67,7 +67,7 @@
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<div class="contentContainer"><a href="#I:A">A</a> <a href="#I:B">B</a> <a href="#I:C">C</a> <a href="#I:D">D</a> <a href="#I:E">E</a> <a href="#I:F">F</a> <a href="#I:G">G</a> <a href="#I:H">H</a> <a href="#I:I">I</a> <a href="#I:L">L</a> <a href="#I:M">M</a> <a href="#I:N">N</a> <a href="#I:O">O</a> <a href="#I:P">P</a> <a href="#I:Q">Q</a> <a href="#I:R">R</a> <a href="#I:S">S</a> <a href="#I:T">T</a> <a href="#I:U">U</a> <a href="#I:V">V</a> <a href="#I:W">W</a> <a href="#I:X">X</a> <a name="I:A">
|
||||
<div class="contentContainer"><a href="#I:A">A</a> <a href="#I:B">B</a> <a href="#I:C">C</a> <a href="#I:D">D</a> <a href="#I:E">E</a> <a href="#I:F">F</a> <a href="#I:G">G</a> <a href="#I:H">H</a> <a href="#I:I">I</a> <a href="#I:L">L</a> <a href="#I:M">M</a> <a href="#I:N">N</a> <a href="#I:O">O</a> <a href="#I:P">P</a> <a href="#I:Q">Q</a> <a href="#I:R">R</a> <a href="#I:S">S</a> <a href="#I:T">T</a> <a href="#I:U">U</a> <a href="#I:V">V</a> <a href="#I:W">W</a> <a href="#I:X">X</a> <a href="#I:Z:Z_">_</a> <a name="I:A">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h2 class="title">A</h2>
|
||||
@@ -83,14 +83,16 @@
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/util/Vec3Impl.html#add-int-int-int-">add(int, int, int)</a></span> - Method in class com.gtnewhorizon.structurelib.util.<a href="com/gtnewhorizon/structurelib/util/Vec3Impl.html" title="class in com.gtnewhorizon.structurelib.util">Vec3Impl</a></dt>
|
||||
<dd> </dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/structure/StructureDefinition.Builder.html#addElement-java.lang.Character-com.gtnewhorizon.structurelib.structure.IStructureElement-">addElement(Character, IStructureElement<T>)</a></span> - Method in class com.gtnewhorizon.structurelib.structure.<a href="com/gtnewhorizon/structurelib/structure/StructureDefinition.Builder.html" title="class in com.gtnewhorizon.structurelib.structure">StructureDefinition.Builder</a></dt>
|
||||
<dd>
|
||||
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
|
||||
<div class="block"><span class="deprecationComment">use the unboxed version</span></div>
|
||||
</div>
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/structure/StructureDefinition.Builder.html#addElement-char-com.gtnewhorizon.structurelib.structure.IStructureElement-">addElement(char, IStructureElement<T>)</a></span> - Method in class com.gtnewhorizon.structurelib.structure.<a href="com/gtnewhorizon/structurelib/structure/StructureDefinition.Builder.html" title="class in com.gtnewhorizon.structurelib.structure">StructureDefinition.Builder</a></dt>
|
||||
<dd> </dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/structure/StructureDefinition.Builder.html#addShape-java.lang.String-java.lang.String:A:A-">addShape(String, String[][])</a></span> - Method in class com.gtnewhorizon.structurelib.structure.<a href="com/gtnewhorizon/structurelib/structure/StructureDefinition.Builder.html" title="class in com.gtnewhorizon.structurelib.structure">StructureDefinition.Builder</a></dt>
|
||||
<dd>
|
||||
<div class="block">Adds shape
|
||||
+ is anything but air
|
||||
- is air checks
|
||||
space bar is skip
|
||||
~ is also skip (but marks controller position, optional.</div>
|
||||
<div class="block">Adds shape.</div>
|
||||
</dd>
|
||||
<dt><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(Object, EntityPlayer, IChatComponent, short)</a></span> - Static method in class com.gtnewhorizon.structurelib.<a href="com/gtnewhorizon/structurelib/StructureLibAPI.html" title="class in com.gtnewhorizon.structurelib">StructureLibAPI</a></dt>
|
||||
<dd>
|
||||
@@ -122,14 +124,22 @@
|
||||
<dd>
|
||||
<div class="block">Callback to add hatch, needs to check if tile is valid (and add it)</div>
|
||||
</dd>
|
||||
<dt><a href="com/gtnewhorizon/structurelib/structure/AutoPlaceEnvironment.html" title="class in com.gtnewhorizon.structurelib.structure"><span class="typeNameLink">AutoPlaceEnvironment</span></a> - Class in <a href="com/gtnewhorizon/structurelib/structure/package-summary.html">com.gtnewhorizon.structurelib.structure</a></dt>
|
||||
<dd>
|
||||
<div class="block">Represent the environment in which autoplace of a single element took place.</div>
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/structure/AutoPlaceEnvironment.html#AutoPlaceEnvironment-com.gtnewhorizon.structurelib.structure.AutoPlaceEnvironment-">AutoPlaceEnvironment(AutoPlaceEnvironment)</a></span> - Constructor for class com.gtnewhorizon.structurelib.structure.<a href="com/gtnewhorizon/structurelib/structure/AutoPlaceEnvironment.html" title="class in com.gtnewhorizon.structurelib.structure">AutoPlaceEnvironment</a></dt>
|
||||
<dd> </dd>
|
||||
<dt><a href="com/gtnewhorizon/structurelib/structure/AutoPlaceEnvironment.APILevel.html" title="enum in com.gtnewhorizon.structurelib.structure"><span class="typeNameLink">AutoPlaceEnvironment.APILevel</span></a> - Enum in <a href="com/gtnewhorizon/structurelib/structure/package-summary.html">com.gtnewhorizon.structurelib.structure</a></dt>
|
||||
<dd>
|
||||
<div class="block">Defines the various API level an <a href="com/gtnewhorizon/structurelib/structure/AutoPlaceEnvironment.html" title="class in com.gtnewhorizon.structurelib.structure"><code>AutoPlaceEnvironment</code></a> has implemented.</div>
|
||||
</dd>
|
||||
</dl>
|
||||
<a name="I:B">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h2 class="title">B</h2>
|
||||
<dl>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/structure/IStructureWalker.html#blockNotLoaded-com.gtnewhorizon.structurelib.structure.IStructureElement-net.minecraft.world.World-int-int-int-">blockNotLoaded(IStructureElement<T>, World, int, int, int)</a></span> - Method in interface com.gtnewhorizon.structurelib.structure.<a href="com/gtnewhorizon/structurelib/structure/IStructureWalker.html" title="interface in com.gtnewhorizon.structurelib.structure">IStructureWalker</a></dt>
|
||||
<dd> </dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/alignment/IAlignmentLimits.Builder.html#build--">build()</a></span> - Method in class com.gtnewhorizon.structurelib.alignment.<a href="com/gtnewhorizon/structurelib/alignment/IAlignmentLimits.Builder.html" title="class in com.gtnewhorizon.structurelib.alignment">IAlignmentLimits.Builder</a></dt>
|
||||
<dd> </dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/structure/IStructureDefinition.html#build-T-net.minecraft.item.ItemStack-java.lang.String-net.minecraft.world.World-com.gtnewhorizon.structurelib.alignment.enumerable.ExtendedFacing-int-int-int-int-int-int-">build(T, ItemStack, String, World, ExtendedFacing, int, int, int, int, int, int)</a></span> - Method in interface com.gtnewhorizon.structurelib.structure.<a href="com/gtnewhorizon/structurelib/structure/IStructureDefinition.html" title="interface in com.gtnewhorizon.structurelib.structure">IStructureDefinition</a></dt>
|
||||
@@ -235,6 +245,24 @@
|
||||
<dd>
|
||||
<div class="block">Get the number of subchannels present on given trigger item.</div>
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/structure/IStructureElement.BlocksToPlace.html#create-net.minecraft.item.ItemStack...-">create(ItemStack...)</a></span> - Static method in class com.gtnewhorizon.structurelib.structure.<a href="com/gtnewhorizon/structurelib/structure/IStructureElement.BlocksToPlace.html" title="class in com.gtnewhorizon.structurelib.structure">IStructureElement.BlocksToPlace</a></dt>
|
||||
<dd> </dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/structure/IStructureElement.BlocksToPlace.html#create-java.lang.Iterable-">create(Iterable<ItemStack>)</a></span> - Static method in class com.gtnewhorizon.structurelib.structure.<a href="com/gtnewhorizon/structurelib/structure/IStructureElement.BlocksToPlace.html" title="class in com.gtnewhorizon.structurelib.structure">IStructureElement.BlocksToPlace</a></dt>
|
||||
<dd> </dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/structure/IStructureElement.BlocksToPlace.html#create-net.minecraft.block.Block-int-">create(Block, int)</a></span> - Static method in class com.gtnewhorizon.structurelib.structure.<a href="com/gtnewhorizon/structurelib/structure/IStructureElement.BlocksToPlace.html" title="class in com.gtnewhorizon.structurelib.structure">IStructureElement.BlocksToPlace</a></dt>
|
||||
<dd> </dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/structure/IStructureElement.BlocksToPlace.html#create-net.minecraft.item.Item-int-">create(Item, int)</a></span> - Static method in class com.gtnewhorizon.structurelib.structure.<a href="com/gtnewhorizon/structurelib/structure/IStructureElement.BlocksToPlace.html" title="class in com.gtnewhorizon.structurelib.structure">IStructureElement.BlocksToPlace</a></dt>
|
||||
<dd> </dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/structure/IStructureElement.BlocksToPlace.html#create-net.minecraft.item.ItemStack-">create(ItemStack)</a></span> - Static method in class com.gtnewhorizon.structurelib.structure.<a href="com/gtnewhorizon/structurelib/structure/IStructureElement.BlocksToPlace.html" title="class in com.gtnewhorizon.structurelib.structure">IStructureElement.BlocksToPlace</a></dt>
|
||||
<dd> </dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/structure/IStructureElement.BlocksToPlace.html#create-java.util.function.Predicate-">create(Predicate<ItemStack>)</a></span> - Static method in class com.gtnewhorizon.structurelib.structure.<a href="com/gtnewhorizon/structurelib/structure/IStructureElement.BlocksToPlace.html" title="class in com.gtnewhorizon.structurelib.structure">IStructureElement.BlocksToPlace</a></dt>
|
||||
<dd> </dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/structure/ISurvivalBuildEnvironment.html#create-com.gtnewhorizon.structurelib.structure.IItemSource-net.minecraft.entity.player.EntityPlayer-">create(IItemSource, EntityPlayer)</a></span> - Static method in interface com.gtnewhorizon.structurelib.structure.<a href="com/gtnewhorizon/structurelib/structure/ISurvivalBuildEnvironment.html" title="interface in com.gtnewhorizon.structurelib.structure">ISurvivalBuildEnvironment</a></dt>
|
||||
<dd>
|
||||
<div class="block">Create a default implementation with three parameters all being constants.</div>
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/structure/IStructureElement.BlocksToPlace.html#createEmpty--">createEmpty()</a></span> - Static method in class com.gtnewhorizon.structurelib.structure.<a href="com/gtnewhorizon/structurelib/structure/IStructureElement.BlocksToPlace.html" title="class in com.gtnewhorizon.structurelib.structure">IStructureElement.BlocksToPlace</a></dt>
|
||||
<dd> </dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/util/InventoryUtility.ItemStackExtractor.html#createOnlyOptimized-com.gtnewhorizon.structurelib.util.InventoryUtility.OptimizedExtractor-">createOnlyOptimized(InventoryUtility.OptimizedExtractor)</a></span> - Static method in interface com.gtnewhorizon.structurelib.util.<a href="com/gtnewhorizon/structurelib/util/InventoryUtility.ItemStackExtractor.html" title="interface in com.gtnewhorizon.structurelib.util">InventoryUtility.ItemStackExtractor</a></dt>
|
||||
<dd> </dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/util/Vec3Impl.html#crossProduct-com.gtnewhorizon.structurelib.util.Vec3Impl-">crossProduct(Vec3Impl)</a></span> - Method in class com.gtnewhorizon.structurelib.util.<a href="com/gtnewhorizon/structurelib/util/Vec3Impl.html" title="class in com.gtnewhorizon.structurelib.util">Vec3Impl</a></dt>
|
||||
@@ -347,6 +375,14 @@
|
||||
<dd> </dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/alignment/IAlignment.html#DIRECTIONS_COUNT">DIRECTIONS_COUNT</a></span> - Static variable in interface com.gtnewhorizon.structurelib.alignment.<a href="com/gtnewhorizon/structurelib/alignment/IAlignment.html" title="interface in com.gtnewhorizon.structurelib.alignment">IAlignment</a></dt>
|
||||
<dd> </dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/alignment/constructable/ISurvivalConstructable.html#DISABLE_HACKY_MIGRATION_CODE">DISABLE_HACKY_MIGRATION_CODE</a></span> - Static variable in interface com.gtnewhorizon.structurelib.alignment.constructable.<a href="com/gtnewhorizon/structurelib/alignment/constructable/ISurvivalConstructable.html" title="interface in com.gtnewhorizon.structurelib.alignment.constructable">ISurvivalConstructable</a></dt>
|
||||
<dd>
|
||||
<div class="block">End player might want to disable this hack if it turns out to be too crashy</div>
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/StructureLibAPI.html#disableInstrument--">disableInstrument()</a></span> - Static method in class com.gtnewhorizon.structurelib.<a href="com/gtnewhorizon/structurelib/StructureLibAPI.html" title="class in com.gtnewhorizon.structurelib">StructureLibAPI</a></dt>
|
||||
<dd>
|
||||
<div class="block">Stop instrumenting.</div>
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/util/Vec3Impl.html#distanceSq-com.gtnewhorizon.structurelib.util.Vec3Impl-">distanceSq(Vec3Impl)</a></span> - Method in class com.gtnewhorizon.structurelib.util.<a href="com/gtnewhorizon/structurelib/util/Vec3Impl.html" title="class in com.gtnewhorizon.structurelib.util">Vec3Impl</a></dt>
|
||||
<dd> </dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/util/Vec3Impl.html#distanceSq-net.minecraft.dispenser.IPosition-boolean-">distanceSq(IPosition, boolean)</a></span> - Method in class com.gtnewhorizon.structurelib.util.<a href="com/gtnewhorizon/structurelib/util/Vec3Impl.html" title="class in com.gtnewhorizon.structurelib.util">Vec3Impl</a></dt>
|
||||
@@ -359,6 +395,10 @@
|
||||
</a>
|
||||
<h2 class="title">E</h2>
|
||||
<dl>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/StructureLibAPI.html#enableInstrument-java.lang.Object-">enableInstrument(Object)</a></span> - Static method in class com.gtnewhorizon.structurelib.<a href="com/gtnewhorizon/structurelib/StructureLibAPI.html" title="class in com.gtnewhorizon.structurelib">StructureLibAPI</a></dt>
|
||||
<dd>
|
||||
<div class="block">Start instrumenting <b>for the current thread only</b>.</div>
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/StructureLibAPI.html#endHinting-net.minecraft.world.World-">endHinting(World)</a></span> - Static method in class com.gtnewhorizon.structurelib.<a href="com/gtnewhorizon/structurelib/StructureLibAPI.html" title="class in com.gtnewhorizon.structurelib">StructureLibAPI</a></dt>
|
||||
<dd>
|
||||
<div class="block">End current batch of hinting.</div>
|
||||
@@ -375,6 +415,8 @@
|
||||
<dd>
|
||||
<div class="block">Check returns false.</div>
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/structure/IStructureElement.BlocksToPlace.html#errored">errored</a></span> - Static variable in class com.gtnewhorizon.structurelib.structure.<a href="com/gtnewhorizon/structurelib/structure/IStructureElement.BlocksToPlace.html" title="class in com.gtnewhorizon.structurelib.structure">IStructureElement.BlocksToPlace</a></dt>
|
||||
<dd> </dd>
|
||||
<dt><a href="com/gtnewhorizon/structurelib/alignment/enumerable/ExtendedFacing.html" title="enum in com.gtnewhorizon.structurelib.alignment.enumerable"><span class="typeNameLink">ExtendedFacing</span></a> - Enum in <a href="com/gtnewhorizon/structurelib/alignment/enumerable/package-summary.html">com.gtnewhorizon.structurelib.alignment.enumerable</a></dt>
|
||||
<dd> </dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/util/InventoryUtility.OptimizedExtractor.html#extract-net.minecraft.item.ItemStack-net.minecraft.item.ItemStack-boolean-net.minecraft.entity.player.EntityPlayerMP-">extract(ItemStack, ItemStack, boolean, EntityPlayerMP)</a></span> - Method in interface com.gtnewhorizon.structurelib.util.<a href="com/gtnewhorizon/structurelib/util/InventoryUtility.OptimizedExtractor.html" title="interface in com.gtnewhorizon.structurelib.util">InventoryUtility.OptimizedExtractor</a></dt>
|
||||
@@ -391,6 +433,10 @@
|
||||
<dd> </dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/alignment/IAlignmentLimits.Builder.html#filter-java.util.function.Function-">filter(Function<ExtendedFacing, Optional<Boolean>>)</a></span> - Method in class com.gtnewhorizon.structurelib.alignment.<a href="com/gtnewhorizon/structurelib/alignment/IAlignmentLimits.Builder.html" title="class in com.gtnewhorizon.structurelib.alignment">IAlignmentLimits.Builder</a></dt>
|
||||
<dd> </dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/StructureEvent.StructureElementVisitedEvent.html#fireEvent-net.minecraft.world.World-int-int-int-int-int-int-com.gtnewhorizon.structurelib.structure.IStructureElement-">fireEvent(World, int, int, int, int, int, int, IStructureElement<?>)</a></span> - Static method in class com.gtnewhorizon.structurelib.<a href="com/gtnewhorizon/structurelib/StructureEvent.StructureElementVisitedEvent.html" title="class in com.gtnewhorizon.structurelib">StructureEvent.StructureElementVisitedEvent</a></dt>
|
||||
<dd>
|
||||
<div class="block">Fire this event on <code>MinecraftForge.EVENT_BUS</code> by populating it with given arguments.</div>
|
||||
</dd>
|
||||
<dt><a href="com/gtnewhorizon/structurelib/alignment/enumerable/Flip.html" title="enum in com.gtnewhorizon.structurelib.alignment.enumerable"><span class="typeNameLink">Flip</span></a> - Enum in <a href="com/gtnewhorizon/structurelib/alignment/enumerable/package-summary.html">com.gtnewhorizon.structurelib.alignment.enumerable</a></dt>
|
||||
<dd> </dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/alignment/IAlignment.html#FLIPS_COUNT">FLIPS_COUNT</a></span> - Static variable in interface com.gtnewhorizon.structurelib.alignment.<a href="com/gtnewhorizon/structurelib/alignment/IAlignment.html" title="interface in com.gtnewhorizon.structurelib.alignment">IAlignment</a></dt>
|
||||
@@ -411,6 +457,8 @@
|
||||
<dd>
|
||||
<div class="block">Construct an IItemSource from given inventory</div>
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/structure/AutoPlaceEnvironment.html#fromLegacy-com.gtnewhorizon.structurelib.structure.IItemSource-net.minecraft.entity.player.EntityPlayer-java.util.function.Consumer-">fromLegacy(IItemSource, EntityPlayer, Consumer<IChatComponent>)</a></span> - Static method in class com.gtnewhorizon.structurelib.structure.<a href="com/gtnewhorizon/structurelib/structure/AutoPlaceEnvironment.html" title="class in com.gtnewhorizon.structurelib.structure">AutoPlaceEnvironment</a></dt>
|
||||
<dd> </dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/structure/IItemSource.html#fromPlayer-net.minecraft.entity.player.EntityPlayerMP-">fromPlayer(EntityPlayerMP)</a></span> - Static method in interface com.gtnewhorizon.structurelib.structure.<a href="com/gtnewhorizon/structurelib/structure/IItemSource.html" title="interface in com.gtnewhorizon.structurelib.structure">IItemSource</a></dt>
|
||||
<dd>
|
||||
<div class="block">Construct an IItemSource from inventories associated with given player.</div>
|
||||
@@ -441,6 +489,18 @@
|
||||
<dd>
|
||||
<div class="block">Gets the Z coordinate.</div>
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/StructureEvent.StructureElementVisitedEvent.html#getA--">getA()</a></span> - Method in class com.gtnewhorizon.structurelib.<a href="com/gtnewhorizon/structurelib/StructureEvent.StructureElementVisitedEvent.html" title="class in com.gtnewhorizon.structurelib">StructureEvent.StructureElementVisitedEvent</a></dt>
|
||||
<dd>
|
||||
<div class="block">A position in ABC coordinate, relative to (0,0,0) in the piece, i.e.</div>
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/structure/AutoPlaceEnvironment.html#getActor--">getActor()</a></span> - Method in class com.gtnewhorizon.structurelib.structure.<a href="com/gtnewhorizon/structurelib/structure/AutoPlaceEnvironment.html" title="class in com.gtnewhorizon.structurelib.structure">AutoPlaceEnvironment</a></dt>
|
||||
<dd>
|
||||
<div class="block">The initiator of actions.</div>
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/structure/ISurvivalBuildEnvironment.html#getActor--">getActor()</a></span> - Method in interface com.gtnewhorizon.structurelib.structure.<a href="com/gtnewhorizon/structurelib/structure/ISurvivalBuildEnvironment.html" title="interface in com.gtnewhorizon.structurelib.structure">ISurvivalBuildEnvironment</a></dt>
|
||||
<dd>
|
||||
<div class="block">Get the origin of action.</div>
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/alignment/IAlignment.html#getAlignment--">getAlignment()</a></span> - Method in interface com.gtnewhorizon.structurelib.alignment.<a href="com/gtnewhorizon/structurelib/alignment/IAlignment.html" title="interface in com.gtnewhorizon.structurelib.alignment">IAlignment</a></dt>
|
||||
<dd> </dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/alignment/IAlignmentProvider.html#getAlignment--">getAlignment()</a></span> - Method in interface com.gtnewhorizon.structurelib.alignment.<a href="com/gtnewhorizon/structurelib/alignment/IAlignmentProvider.html" title="interface in com.gtnewhorizon.structurelib.alignment">IAlignmentProvider</a></dt>
|
||||
@@ -455,18 +515,40 @@
|
||||
<dd> </dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/alignment/enumerable/ExtendedFacing.html#getAllWith-com.gtnewhorizon.structurelib.alignment.enumerable.Flip-">getAllWith(Flip)</a></span> - Static method in enum com.gtnewhorizon.structurelib.alignment.enumerable.<a href="com/gtnewhorizon/structurelib/alignment/enumerable/ExtendedFacing.html" title="enum in com.gtnewhorizon.structurelib.alignment.enumerable">ExtendedFacing</a></dt>
|
||||
<dd> </dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/structure/AutoPlaceEnvironment.html#getAPILevel--">getAPILevel()</a></span> - Method in class com.gtnewhorizon.structurelib.structure.<a href="com/gtnewhorizon/structurelib/structure/AutoPlaceEnvironment.html" title="class in com.gtnewhorizon.structurelib.structure">AutoPlaceEnvironment</a></dt>
|
||||
<dd> </dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/alignment/enumerable/Direction.html#getAxisVector--">getAxisVector()</a></span> - Method in enum com.gtnewhorizon.structurelib.alignment.enumerable.<a href="com/gtnewhorizon/structurelib/alignment/enumerable/Direction.html" title="enum in com.gtnewhorizon.structurelib.alignment.enumerable">Direction</a></dt>
|
||||
<dd> </dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/alignment/enumerable/Direction.html#getAxisVector-net.minecraftforge.common.util.ForgeDirection-">getAxisVector(ForgeDirection)</a></span> - Static method in enum com.gtnewhorizon.structurelib.alignment.enumerable.<a href="com/gtnewhorizon/structurelib/alignment/enumerable/Direction.html" title="enum in com.gtnewhorizon.structurelib.alignment.enumerable">Direction</a></dt>
|
||||
<dd> </dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/StructureEvent.StructureElementVisitedEvent.html#getB--">getB()</a></span> - Method in class com.gtnewhorizon.structurelib.<a href="com/gtnewhorizon/structurelib/StructureEvent.StructureElementVisitedEvent.html" title="class in com.gtnewhorizon.structurelib">StructureEvent.StructureElementVisitedEvent</a></dt>
|
||||
<dd>
|
||||
<div class="block">B position in ABC coordinate, relative to (0,0,0) in the piece, i.e.</div>
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/StructureLibAPI.html#getBlockHint--">getBlockHint()</a></span> - Static method in class com.gtnewhorizon.structurelib.<a href="com/gtnewhorizon/structurelib/StructureLibAPI.html" title="class in com.gtnewhorizon.structurelib">StructureLibAPI</a></dt>
|
||||
<dd>
|
||||
<div class="block">Get the Block for StructureLib supplied hint block.</div>
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/structure/IStructureElement.html#getBlocksToPlace-T-net.minecraft.world.World-int-int-int-net.minecraft.item.ItemStack-com.gtnewhorizon.structurelib.structure.AutoPlaceEnvironment-">getBlocksToPlace(T, World, int, int, int, ItemStack, AutoPlaceEnvironment)</a></span> - Method in interface com.gtnewhorizon.structurelib.structure.<a href="com/gtnewhorizon/structurelib/structure/IStructureElement.html" title="interface in com.gtnewhorizon.structurelib.structure">IStructureElement</a></dt>
|
||||
<dd>
|
||||
<div class="block">A simplified version of survivalPlaceBlock.</div>
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/structure/IStructureElementChain.html#getBlocksToPlace-T-net.minecraft.world.World-int-int-int-net.minecraft.item.ItemStack-com.gtnewhorizon.structurelib.structure.AutoPlaceEnvironment-">getBlocksToPlace(T, World, int, int, int, ItemStack, AutoPlaceEnvironment)</a></span> - Method in interface com.gtnewhorizon.structurelib.structure.<a href="com/gtnewhorizon/structurelib/structure/IStructureElementChain.html" title="interface in com.gtnewhorizon.structurelib.structure">IStructureElementChain</a></dt>
|
||||
<dd> </dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/alignment/enumerable/Direction.html#getByAxisVector-com.gtnewhorizon.structurelib.util.Vec3Impl-">getByAxisVector(Vec3Impl)</a></span> - Static method in enum com.gtnewhorizon.structurelib.alignment.enumerable.<a href="com/gtnewhorizon/structurelib/alignment/enumerable/Direction.html" title="enum in com.gtnewhorizon.structurelib.alignment.enumerable">Direction</a></dt>
|
||||
<dd> </dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/StructureEvent.StructureElementVisitedEvent.html#getC--">getC()</a></span> - Method in class com.gtnewhorizon.structurelib.<a href="com/gtnewhorizon/structurelib/StructureEvent.StructureElementVisitedEvent.html" title="class in com.gtnewhorizon.structurelib">StructureEvent.StructureElementVisitedEvent</a></dt>
|
||||
<dd>
|
||||
<div class="block">C position in ABC coordinate, relative to (0,0,0) in the piece, i.e.</div>
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/alignment/constructable/ChannelDataAccessor.html#getChannelData-net.minecraft.item.ItemStack-java.lang.String-">getChannelData(ItemStack, String)</a></span> - Static method in class com.gtnewhorizon.structurelib.alignment.constructable.<a href="com/gtnewhorizon/structurelib/alignment/constructable/ChannelDataAccessor.html" title="class in com.gtnewhorizon.structurelib.alignment.constructable">ChannelDataAccessor</a></dt>
|
||||
<dd>
|
||||
<div class="block">Get the subchannel data from given trigger item.</div>
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/structure/AutoPlaceEnvironment.html#getChatter--">getChatter()</a></span> - Method in class com.gtnewhorizon.structurelib.structure.<a href="com/gtnewhorizon/structurelib/structure/AutoPlaceEnvironment.html" title="class in com.gtnewhorizon.structurelib.structure">AutoPlaceEnvironment</a></dt>
|
||||
<dd>
|
||||
<div class="block">send error messages here.</div>
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/alignment/constructable/IConstructableProvider.html#getConstructable--">getConstructable()</a></span> - Method in interface com.gtnewhorizon.structurelib.alignment.constructable.<a href="com/gtnewhorizon/structurelib/alignment/constructable/IConstructableProvider.html" title="interface in com.gtnewhorizon.structurelib.alignment.constructable">IConstructableProvider</a></dt>
|
||||
<dd> </dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/structure/IWithExtendedContext.html#getCurrentContext--">getCurrentContext()</a></span> - Method in interface com.gtnewhorizon.structurelib.structure.<a href="com/gtnewhorizon/structurelib/structure/IWithExtendedContext.html" title="interface in com.gtnewhorizon.structurelib.structure">IWithExtendedContext</a></dt>
|
||||
@@ -481,24 +563,38 @@
|
||||
<dd>
|
||||
<div class="block">Gets the same effective facing achieved by different rot/flip combo</div>
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/StructureEvent.StructureElementVisitedEvent.html#getElement--">getElement()</a></span> - Method in class com.gtnewhorizon.structurelib.<a href="com/gtnewhorizon/structurelib/StructureEvent.StructureElementVisitedEvent.html" title="class in com.gtnewhorizon.structurelib">StructureEvent.StructureElementVisitedEvent</a></dt>
|
||||
<dd>
|
||||
<div class="block">Element being visited.</div>
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/structure/StructureDefinition.Builder.html#getElements--">getElements()</a></span> - Method in class com.gtnewhorizon.structurelib.structure.<a href="com/gtnewhorizon/structurelib/structure/StructureDefinition.Builder.html" title="class in com.gtnewhorizon.structurelib.structure">StructureDefinition.Builder</a></dt>
|
||||
<dd> </dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/structure/StructureDefinition.html#getElements--">getElements()</a></span> - Method in class com.gtnewhorizon.structurelib.structure.<a href="com/gtnewhorizon/structurelib/structure/StructureDefinition.html" title="class in com.gtnewhorizon.structurelib.structure">StructureDefinition</a></dt>
|
||||
<dd> </dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/alignment/IAlignment.html#getExtendedFacing--">getExtendedFacing()</a></span> - Method in interface com.gtnewhorizon.structurelib.alignment.<a href="com/gtnewhorizon/structurelib/alignment/IAlignment.html" title="interface in com.gtnewhorizon.structurelib.alignment">IAlignment</a></dt>
|
||||
<dd> </dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/structure/AutoPlaceEnvironment.html#getFacing--">getFacing()</a></span> - Method in class com.gtnewhorizon.structurelib.structure.<a href="com/gtnewhorizon/structurelib/structure/AutoPlaceEnvironment.html" title="class in com.gtnewhorizon.structurelib.structure">AutoPlaceEnvironment</a></dt>
|
||||
<dd> </dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/alignment/enumerable/ExtendedFacing.html#getFlip--">getFlip()</a></span> - Method in enum com.gtnewhorizon.structurelib.alignment.enumerable.<a href="com/gtnewhorizon/structurelib/alignment/enumerable/ExtendedFacing.html" title="enum in com.gtnewhorizon.structurelib.alignment.enumerable">ExtendedFacing</a></dt>
|
||||
<dd> </dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/alignment/IAlignment.html#getFlip--">getFlip()</a></span> - Method in interface com.gtnewhorizon.structurelib.alignment.<a href="com/gtnewhorizon/structurelib/alignment/IAlignment.html" title="interface in com.gtnewhorizon.structurelib.alignment">IAlignment</a></dt>
|
||||
<dd> </dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/alignment/enumerable/Direction.html#getForgeDirection--">getForgeDirection()</a></span> - Method in enum com.gtnewhorizon.structurelib.alignment.enumerable.<a href="com/gtnewhorizon/structurelib/alignment/enumerable/Direction.html" title="enum in com.gtnewhorizon.structurelib.alignment.enumerable">Direction</a></dt>
|
||||
<dd> </dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/util/Vec3Impl.html#getFromPool-int-int-int-">getFromPool(int, int, int)</a></span> - Static method in class com.gtnewhorizon.structurelib.util.<a href="com/gtnewhorizon/structurelib/util/Vec3Impl.html" title="class in com.gtnewhorizon.structurelib.util">Vec3Impl</a></dt>
|
||||
<dd>
|
||||
<div class="block">THIS WILL CAUSE THIS VECTOR TO PERMANENTLY RESIDE IN STATIC MEMORY.</div>
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/alignment/enumerable/ExtendedFacing.html#getIndex--">getIndex()</a></span> - Method in enum com.gtnewhorizon.structurelib.alignment.enumerable.<a href="com/gtnewhorizon/structurelib/alignment/enumerable/ExtendedFacing.html" title="enum in com.gtnewhorizon.structurelib.alignment.enumerable">ExtendedFacing</a></dt>
|
||||
<dd> </dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/alignment/enumerable/Flip.html#getIndex--">getIndex()</a></span> - Method in enum com.gtnewhorizon.structurelib.alignment.enumerable.<a href="com/gtnewhorizon/structurelib/alignment/enumerable/Flip.html" title="enum in com.gtnewhorizon.structurelib.alignment.enumerable">Flip</a></dt>
|
||||
<dd> </dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/alignment/enumerable/Rotation.html#getIndex--">getIndex()</a></span> - Method in enum com.gtnewhorizon.structurelib.alignment.enumerable.<a href="com/gtnewhorizon/structurelib/alignment/enumerable/Rotation.html" title="enum in com.gtnewhorizon.structurelib.alignment.enumerable">Rotation</a></dt>
|
||||
<dd> </dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/StructureEvent.html#getInstrumentIdentifier--">getInstrumentIdentifier()</a></span> - Method in class com.gtnewhorizon.structurelib.<a href="com/gtnewhorizon/structurelib/StructureEvent.html" title="class in com.gtnewhorizon.structurelib">StructureEvent</a></dt>
|
||||
<dd>
|
||||
<div class="block">The instrument identifier.</div>
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/alignment/enumerable/ExtendedFacing.html#getIntegerAxisSwap--">getIntegerAxisSwap()</a></span> - Method in enum com.gtnewhorizon.structurelib.alignment.enumerable.<a href="com/gtnewhorizon/structurelib/alignment/enumerable/ExtendedFacing.html" title="enum in com.gtnewhorizon.structurelib.alignment.enumerable">ExtendedFacing</a></dt>
|
||||
<dd> </dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/util/InventoryIterable.html#getInventory--">getInventory()</a></span> - Method in class com.gtnewhorizon.structurelib.util.<a href="com/gtnewhorizon/structurelib/util/InventoryIterable.html" title="class in com.gtnewhorizon.structurelib.util">InventoryIterable</a></dt>
|
||||
@@ -547,6 +643,10 @@
|
||||
<dd> </dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/alignment/enumerable/ExtendedFacing.html#getOppositeRotation--">getOppositeRotation()</a></span> - Method in enum com.gtnewhorizon.structurelib.alignment.enumerable.<a href="com/gtnewhorizon/structurelib/alignment/enumerable/ExtendedFacing.html" title="enum in com.gtnewhorizon.structurelib.alignment.enumerable">ExtendedFacing</a></dt>
|
||||
<dd> </dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/structure/IStructureElement.BlocksToPlace.html#getPredicate--">getPredicate()</a></span> - Method in class com.gtnewhorizon.structurelib.structure.<a href="com/gtnewhorizon/structurelib/structure/IStructureElement.BlocksToPlace.html" title="class in com.gtnewhorizon.structurelib.structure">IStructureElement.BlocksToPlace</a></dt>
|
||||
<dd>
|
||||
<div class="block">Get the blocks to place filter.</div>
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/structure/StructureUtility.html#getPseudoJavaCode-net.minecraft.world.World-com.gtnewhorizon.structurelib.alignment.enumerable.ExtendedFacing-int-int-int-int-int-int-java.util.function.Function-int-int-int-boolean-">getPseudoJavaCode(World, ExtendedFacing, int, int, int, int, int, int, Function<? super TileEntity, String>, int, int, int, boolean)</a></span> - Static method in class com.gtnewhorizon.structurelib.structure.<a href="com/gtnewhorizon/structurelib/structure/StructureUtility.html" title="class in com.gtnewhorizon.structurelib.structure">StructureUtility</a></dt>
|
||||
<dd>
|
||||
<div class="block">Used only to get pseudo code in structure writer...</div>
|
||||
@@ -575,8 +675,20 @@
|
||||
<dd> </dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/structure/StructureDefinition.html#getShapes--">getShapes()</a></span> - Method in class com.gtnewhorizon.structurelib.structure.<a href="com/gtnewhorizon/structurelib/structure/StructureDefinition.html" title="class in com.gtnewhorizon.structurelib.structure">StructureDefinition</a></dt>
|
||||
<dd> </dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/structure/AutoPlaceEnvironment.html#getSource--">getSource()</a></span> - Method in class com.gtnewhorizon.structurelib.structure.<a href="com/gtnewhorizon/structurelib/structure/AutoPlaceEnvironment.html" title="class in com.gtnewhorizon.structurelib.structure">AutoPlaceEnvironment</a></dt>
|
||||
<dd>
|
||||
<div class="block">From where survival autoplace will drain resources.</div>
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/structure/ISurvivalBuildEnvironment.html#getSource--">getSource()</a></span> - Method in interface com.gtnewhorizon.structurelib.structure.<a href="com/gtnewhorizon/structurelib/structure/ISurvivalBuildEnvironment.html" title="interface in com.gtnewhorizon.structurelib.structure">ISurvivalBuildEnvironment</a></dt>
|
||||
<dd>
|
||||
<div class="block">Get the source of the items.</div>
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/util/InventoryUtility.html#getStackExtractors--">getStackExtractors()</a></span> - Static method in class com.gtnewhorizon.structurelib.util.<a href="com/gtnewhorizon/structurelib/util/InventoryUtility.html" title="class in com.gtnewhorizon.structurelib.util">InventoryUtility</a></dt>
|
||||
<dd> </dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/structure/IStructureElement.BlocksToPlace.html#getStacks--">getStacks()</a></span> - Method in class com.gtnewhorizon.structurelib.structure.<a href="com/gtnewhorizon/structurelib/structure/IStructureElement.BlocksToPlace.html" title="class in com.gtnewhorizon.structurelib.structure">IStructureElement.BlocksToPlace</a></dt>
|
||||
<dd>
|
||||
<div class="block">Get the ItemStacks that this one is known to accept.</div>
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/util/ItemStackArrayIterable.html#getStacks--">getStacks()</a></span> - Method in class com.gtnewhorizon.structurelib.util.<a href="com/gtnewhorizon/structurelib/util/ItemStackArrayIterable.html" title="class in com.gtnewhorizon.structurelib.util">ItemStackArrayIterable</a></dt>
|
||||
<dd> </dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/structure/IStructureElement.html#getStepA--">getStepA()</a></span> - Method in interface com.gtnewhorizon.structurelib.structure.<a href="com/gtnewhorizon/structurelib/structure/IStructureElement.html" title="interface in com.gtnewhorizon.structurelib.structure">IStructureElement</a></dt>
|
||||
@@ -585,6 +697,10 @@
|
||||
<dd> </dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/structure/IStructureElement.html#getStepC--">getStepC()</a></span> - Method in interface com.gtnewhorizon.structurelib.structure.<a href="com/gtnewhorizon/structurelib/structure/IStructureElement.html" title="interface in com.gtnewhorizon.structurelib.structure">IStructureElement</a></dt>
|
||||
<dd> </dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/alignment/constructable/IConstructable.html#getStructureDefinition--">getStructureDefinition()</a></span> - Method in interface com.gtnewhorizon.structurelib.alignment.constructable.<a href="com/gtnewhorizon/structurelib/alignment/constructable/IConstructable.html" title="interface in com.gtnewhorizon.structurelib.alignment.constructable">IConstructable</a></dt>
|
||||
<dd>
|
||||
<div class="block">Get the structure definition used for this constructable.</div>
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/alignment/constructable/IConstructable.html#getStructureDescription-net.minecraft.item.ItemStack-">getStructureDescription(ItemStack)</a></span> - Method in interface com.gtnewhorizon.structurelib.alignment.constructable.<a href="com/gtnewhorizon/structurelib/alignment/constructable/IConstructable.html" title="interface in com.gtnewhorizon.structurelib.alignment.constructable">IConstructable</a></dt>
|
||||
<dd> </dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/structure/IStructureDefinition.html#getStructureFor-java.lang.String-">getStructureFor(String)</a></span> - Method in interface com.gtnewhorizon.structurelib.structure.<a href="com/gtnewhorizon/structurelib/structure/IStructureDefinition.html" title="interface in com.gtnewhorizon.structurelib.structure">IStructureDefinition</a></dt>
|
||||
@@ -597,6 +713,14 @@
|
||||
<dd> </dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/util/MiscUtils.html#getTagKeys-net.minecraft.nbt.NBTTagCompound-">getTagKeys(NBTTagCompound)</a></span> - Static method in class com.gtnewhorizon.structurelib.util.<a href="com/gtnewhorizon/structurelib/util/MiscUtils.html" title="class in com.gtnewhorizon.structurelib.util">MiscUtils</a></dt>
|
||||
<dd> </dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/StructureEvent.StructureElementVisitedEvent.html#getWorld--">getWorld()</a></span> - Method in class com.gtnewhorizon.structurelib.<a href="com/gtnewhorizon/structurelib/StructureEvent.StructureElementVisitedEvent.html" title="class in com.gtnewhorizon.structurelib">StructureEvent.StructureElementVisitedEvent</a></dt>
|
||||
<dd>
|
||||
<div class="block">Location of this event.</div>
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/alignment/enumerable/ExtendedFacing.html#getWorldDirection-net.minecraftforge.common.util.ForgeDirection-">getWorldDirection(ForgeDirection)</a></span> - Method in enum com.gtnewhorizon.structurelib.alignment.enumerable.<a href="com/gtnewhorizon/structurelib/alignment/enumerable/ExtendedFacing.html" title="enum in com.gtnewhorizon.structurelib.alignment.enumerable">ExtendedFacing</a></dt>
|
||||
<dd>
|
||||
<div class="block">do note the ABC coordinate system is (X, -Y, Z).</div>
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/alignment/enumerable/ExtendedFacing.html#getWorldOffset-net.minecraft.util.Vec3-">getWorldOffset(Vec3)</a></span> - Method in enum com.gtnewhorizon.structurelib.alignment.enumerable.<a href="com/gtnewhorizon/structurelib/alignment/enumerable/ExtendedFacing.html" title="enum in com.gtnewhorizon.structurelib.alignment.enumerable">ExtendedFacing</a></dt>
|
||||
<dd>
|
||||
<div class="block">Translates relative to front facing offset to world offset</div>
|
||||
@@ -607,6 +731,18 @@
|
||||
<dd> </dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/alignment/enumerable/ExtendedFacing.html#getWorldOffset-double:A-double:A-">getWorldOffset(double[], double[])</a></span> - Method in enum com.gtnewhorizon.structurelib.alignment.enumerable.<a href="com/gtnewhorizon/structurelib/alignment/enumerable/ExtendedFacing.html" title="enum in com.gtnewhorizon.structurelib.alignment.enumerable">ExtendedFacing</a></dt>
|
||||
<dd> </dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/StructureEvent.StructureElementVisitedEvent.html#getX--">getX()</a></span> - Method in class com.gtnewhorizon.structurelib.<a href="com/gtnewhorizon/structurelib/StructureEvent.StructureElementVisitedEvent.html" title="class in com.gtnewhorizon.structurelib">StructureEvent.StructureElementVisitedEvent</a></dt>
|
||||
<dd>
|
||||
<div class="block">Location of this event.</div>
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/StructureEvent.StructureElementVisitedEvent.html#getY--">getY()</a></span> - Method in class com.gtnewhorizon.structurelib.<a href="com/gtnewhorizon/structurelib/StructureEvent.StructureElementVisitedEvent.html" title="class in com.gtnewhorizon.structurelib">StructureEvent.StructureElementVisitedEvent</a></dt>
|
||||
<dd>
|
||||
<div class="block">Location of this event.</div>
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/StructureEvent.StructureElementVisitedEvent.html#getZ--">getZ()</a></span> - Method in class com.gtnewhorizon.structurelib.<a href="com/gtnewhorizon/structurelib/StructureEvent.StructureElementVisitedEvent.html" title="class in com.gtnewhorizon.structurelib">StructureEvent.StructureElementVisitedEvent</a></dt>
|
||||
<dd>
|
||||
<div class="block">Location of this event.</div>
|
||||
</dd>
|
||||
</dl>
|
||||
<a name="I:H">
|
||||
<!-- -->
|
||||
@@ -707,8 +843,6 @@
|
||||
</dd>
|
||||
<dt><a href="com/gtnewhorizon/structurelib/structure/ICustomBlockSetting.html" title="interface in com.gtnewhorizon.structurelib.structure"><span class="typeNameLink">ICustomBlockSetting</span></a> - Interface in <a href="com/gtnewhorizon/structurelib/structure/package-summary.html">com.gtnewhorizon.structurelib.structure</a></dt>
|
||||
<dd> </dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/structure/IStructureWalker.html#ignoreBlockUnloaded-com.gtnewhorizon.structurelib.structure.IStructureWalker-">ignoreBlockUnloaded(IStructureWalker<T>)</a></span> - Static method in interface com.gtnewhorizon.structurelib.structure.<a href="com/gtnewhorizon/structurelib/structure/IStructureWalker.html" title="interface in com.gtnewhorizon.structurelib.structure">IStructureWalker</a></dt>
|
||||
<dd> </dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/util/ItemStackPredicate.html#ignoreMeta--">ignoreMeta()</a></span> - Method in class com.gtnewhorizon.structurelib.util.<a href="com/gtnewhorizon/structurelib/util/ItemStackPredicate.html" title="class in com.gtnewhorizon.structurelib.util">ItemStackPredicate</a></dt>
|
||||
<dd> </dd>
|
||||
<dt><a href="com/gtnewhorizon/structurelib/structure/IItemSource.html" title="interface in com.gtnewhorizon.structurelib.structure"><span class="typeNameLink">IItemSource</span></a> - Interface in <a href="com/gtnewhorizon/structurelib/structure/package-summary.html">com.gtnewhorizon.structurelib.structure</a></dt>
|
||||
@@ -759,12 +893,24 @@
|
||||
<dd> </dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/StructureLibAPI.html#isBlockTriviallyReplaceable-net.minecraft.world.World-int-int-int-net.minecraft.entity.player.EntityPlayerMP-">isBlockTriviallyReplaceable(World, int, int, int, EntityPlayerMP)</a></span> - Static method in class com.gtnewhorizon.structurelib.<a href="com/gtnewhorizon/structurelib/StructureLibAPI.html" title="class in com.gtnewhorizon.structurelib">StructureLibAPI</a></dt>
|
||||
<dd>
|
||||
<div class="block"><span class="deprecatedLabel">Deprecated.</span></div>
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/StructureLibAPI.html#isBlockTriviallyReplaceable-net.minecraft.world.World-int-int-int-net.minecraft.entity.player.EntityPlayer-">isBlockTriviallyReplaceable(World, int, int, int, EntityPlayer)</a></span> - Static method in class com.gtnewhorizon.structurelib.<a href="com/gtnewhorizon/structurelib/StructureLibAPI.html" title="class in com.gtnewhorizon.structurelib">StructureLibAPI</a></dt>
|
||||
<dd>
|
||||
<div class="block">Determines if given block can be replaced without much effort.</div>
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/alignment/enumerable/Flip.html#isBothFlipped--">isBothFlipped()</a></span> - Method in enum com.gtnewhorizon.structurelib.alignment.enumerable.<a href="com/gtnewhorizon/structurelib/alignment/enumerable/Flip.html" title="enum in com.gtnewhorizon.structurelib.alignment.enumerable">Flip</a></dt>
|
||||
<dd> </dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/alignment/enumerable/Rotation.html#isClockwise--">isClockwise()</a></span> - Method in enum com.gtnewhorizon.structurelib.alignment.enumerable.<a href="com/gtnewhorizon/structurelib/alignment/enumerable/Rotation.html" title="enum in com.gtnewhorizon.structurelib.alignment.enumerable">Rotation</a></dt>
|
||||
<dd> </dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/structure/AutoPlaceEnvironment.html#isContainedInPiece-int-int-int-">isContainedInPiece(int, int, int)</a></span> - Method in class com.gtnewhorizon.structurelib.structure.<a href="com/gtnewhorizon/structurelib/structure/AutoPlaceEnvironment.html" title="class in com.gtnewhorizon.structurelib.structure">AutoPlaceEnvironment</a></dt>
|
||||
<dd>
|
||||
<div class="block">Test if given location is contained within the current piece.</div>
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/structure/IStructureDefinition.html#isContainedInStructure-java.lang.String-int-int-int-">isContainedInStructure(String, int, int, int)</a></span> - Method in interface com.gtnewhorizon.structurelib.structure.<a href="com/gtnewhorizon/structurelib/structure/IStructureDefinition.html" title="interface in com.gtnewhorizon.structurelib.structure">IStructureDefinition</a></dt>
|
||||
<dd> </dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/structure/StructureDefinition.html#isContainedInStructure-java.lang.String-int-int-int-">isContainedInStructure(String, int, int, int)</a></span> - Method in class com.gtnewhorizon.structurelib.structure.<a href="com/gtnewhorizon/structurelib/structure/StructureDefinition.html" title="class in com.gtnewhorizon.structurelib.structure">StructureDefinition</a></dt>
|
||||
<dd> </dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/alignment/enumerable/Rotation.html#isCounterClockwise--">isCounterClockwise()</a></span> - Method in enum com.gtnewhorizon.structurelib.alignment.enumerable.<a href="com/gtnewhorizon/structurelib/alignment/enumerable/Rotation.html" title="enum in com.gtnewhorizon.structurelib.alignment.enumerable">Rotation</a></dt>
|
||||
<dd> </dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/StructureLibAPI.html#isDebugEnabled--">isDebugEnabled()</a></span> - Static method in class com.gtnewhorizon.structurelib.<a href="com/gtnewhorizon/structurelib/StructureLibAPI.html" title="class in com.gtnewhorizon.structurelib">StructureLibAPI</a></dt>
|
||||
@@ -777,6 +923,10 @@
|
||||
<dd> </dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/alignment/enumerable/Flip.html#isHorizontallyFlipped--">isHorizontallyFlipped()</a></span> - Method in enum com.gtnewhorizon.structurelib.alignment.enumerable.<a href="com/gtnewhorizon/structurelib/alignment/enumerable/Flip.html" title="enum in com.gtnewhorizon.structurelib.alignment.enumerable">Flip</a></dt>
|
||||
<dd> </dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/StructureLibAPI.html#isInstrumentEnabled--">isInstrumentEnabled()</a></span> - Static method in class com.gtnewhorizon.structurelib.<a href="com/gtnewhorizon/structurelib/StructureLibAPI.html" title="class in com.gtnewhorizon.structurelib">StructureLibAPI</a></dt>
|
||||
<dd>
|
||||
<div class="block">Check if instrumenting is enabled.</div>
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/structure/IStructureElement.html#isNavigating--">isNavigating()</a></span> - Method in interface com.gtnewhorizon.structurelib.structure.<a href="com/gtnewhorizon/structurelib/structure/IStructureElement.html" title="interface in com.gtnewhorizon.structurelib.structure">IStructureElement</a></dt>
|
||||
<dd> </dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/alignment/IAlignment.html#isNewDirectionValid-net.minecraftforge.common.util.ForgeDirection-">isNewDirectionValid(ForgeDirection)</a></span> - Method in interface com.gtnewhorizon.structurelib.alignment.<a href="com/gtnewhorizon/structurelib/alignment/IAlignment.html" title="interface in com.gtnewhorizon.structurelib.alignment">IAlignment</a></dt>
|
||||
@@ -805,8 +955,10 @@
|
||||
</dd>
|
||||
<dt><a href="com/gtnewhorizon/structurelib/structure/IStructureElement.html" title="interface in com.gtnewhorizon.structurelib.structure"><span class="typeNameLink">IStructureElement</span></a><<a href="com/gtnewhorizon/structurelib/structure/IStructureElement.html" title="type parameter in IStructureElement">T</a>> - Interface in <a href="com/gtnewhorizon/structurelib/structure/package-summary.html">com.gtnewhorizon.structurelib.structure</a></dt>
|
||||
<dd>
|
||||
<div class="block">Use StructureUtility to instantiate</div>
|
||||
<div class="block">Use StructureUtility to instantiate.</div>
|
||||
</dd>
|
||||
<dt><a href="com/gtnewhorizon/structurelib/structure/IStructureElement.BlocksToPlace.html" title="class in com.gtnewhorizon.structurelib.structure"><span class="typeNameLink">IStructureElement.BlocksToPlace</span></a> - Class in <a href="com/gtnewhorizon/structurelib/structure/package-summary.html">com.gtnewhorizon.structurelib.structure</a></dt>
|
||||
<dd> </dd>
|
||||
<dt><a href="com/gtnewhorizon/structurelib/structure/IStructureElement.PlaceResult.html" title="enum in com.gtnewhorizon.structurelib.structure"><span class="typeNameLink">IStructureElement.PlaceResult</span></a> - Enum in <a href="com/gtnewhorizon/structurelib/structure/package-summary.html">com.gtnewhorizon.structurelib.structure</a></dt>
|
||||
<dd> </dd>
|
||||
<dt><a href="com/gtnewhorizon/structurelib/structure/IStructureElementChain.html" title="interface in com.gtnewhorizon.structurelib.structure"><span class="typeNameLink">IStructureElementChain</span></a><<a href="com/gtnewhorizon/structurelib/structure/IStructureElementChain.html" title="type parameter in IStructureElementChain">T</a>> - Interface in <a href="com/gtnewhorizon/structurelib/structure/package-summary.html">com.gtnewhorizon.structurelib.structure</a></dt>
|
||||
@@ -821,12 +973,14 @@
|
||||
</dd>
|
||||
<dt><a href="com/gtnewhorizon/structurelib/structure/IStructureElementNoPlacement.html" title="interface in com.gtnewhorizon.structurelib.structure"><span class="typeNameLink">IStructureElementNoPlacement</span></a><<a href="com/gtnewhorizon/structurelib/structure/IStructureElementNoPlacement.html" title="type parameter in IStructureElementNoPlacement">T</a>> - Interface in <a href="com/gtnewhorizon/structurelib/structure/package-summary.html">com.gtnewhorizon.structurelib.structure</a></dt>
|
||||
<dd> </dd>
|
||||
<dt><a href="com/gtnewhorizon/structurelib/structure/IStructureWalker.html" title="interface in com.gtnewhorizon.structurelib.structure"><span class="typeNameLink">IStructureWalker</span></a><<a href="com/gtnewhorizon/structurelib/structure/IStructureWalker.html" title="type parameter in IStructureWalker">T</a>> - Interface in <a href="com/gtnewhorizon/structurelib/structure/package-summary.html">com.gtnewhorizon.structurelib.structure</a></dt>
|
||||
<dd> </dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/alignment/enumerable/Rotation.html#isUpsideDown--">isUpsideDown()</a></span> - Method in enum com.gtnewhorizon.structurelib.alignment.enumerable.<a href="com/gtnewhorizon/structurelib/alignment/enumerable/Rotation.html" title="enum in com.gtnewhorizon.structurelib.alignment.enumerable">Rotation</a></dt>
|
||||
<dd> </dd>
|
||||
<dt><a href="com/gtnewhorizon/structurelib/alignment/constructable/ISurvivalConstructable.html" title="interface in com.gtnewhorizon.structurelib.alignment.constructable"><span class="typeNameLink">ISurvivalConstructable</span></a> - Interface in <a href="com/gtnewhorizon/structurelib/alignment/constructable/package-summary.html">com.gtnewhorizon.structurelib.alignment.constructable</a></dt>
|
||||
<dt><a href="com/gtnewhorizon/structurelib/structure/ISurvivalBuildEnvironment.html" title="interface in com.gtnewhorizon.structurelib.structure"><span class="typeNameLink">ISurvivalBuildEnvironment</span></a> - Interface in <a href="com/gtnewhorizon/structurelib/structure/package-summary.html">com.gtnewhorizon.structurelib.structure</a></dt>
|
||||
<dd> </dd>
|
||||
<dt><a href="com/gtnewhorizon/structurelib/alignment/constructable/ISurvivalConstructable.html" title="interface in com.gtnewhorizon.structurelib.alignment.constructable"><span class="typeNameLink">ISurvivalConstructable</span></a> - Interface in <a href="com/gtnewhorizon/structurelib/alignment/constructable/package-summary.html">com.gtnewhorizon.structurelib.alignment.constructable</a></dt>
|
||||
<dd>
|
||||
<div class="block">An extension to <a href="com/gtnewhorizon/structurelib/alignment/constructable/IConstructable.html" title="interface in com.gtnewhorizon.structurelib.alignment.constructable"><code>IConstructable</code></a>.</div>
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/alignment/enumerable/Flip.html#isVerticallyFliped--">isVerticallyFliped()</a></span> - Method in enum com.gtnewhorizon.structurelib.alignment.enumerable.<a href="com/gtnewhorizon/structurelib/alignment/enumerable/Flip.html" title="enum in com.gtnewhorizon.structurelib.alignment.enumerable">Flip</a></dt>
|
||||
<dd> </dd>
|
||||
<dt><a href="com/gtnewhorizon/structurelib/util/ItemStackArrayIterable.html" title="class in com.gtnewhorizon.structurelib.util"><span class="typeNameLink">ItemStackArrayIterable</span></a> - Class in <a href="com/gtnewhorizon/structurelib/util/package-summary.html">com.gtnewhorizon.structurelib.util</a></dt>
|
||||
@@ -1239,8 +1393,6 @@
|
||||
<dd> </dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/util/SortedRegistry.html#size--">size()</a></span> - Method in class com.gtnewhorizon.structurelib.util.<a href="com/gtnewhorizon/structurelib/util/SortedRegistry.html" title="class in com.gtnewhorizon.structurelib.util">SortedRegistry</a></dt>
|
||||
<dd> </dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/structure/IStructureWalker.html#skipBlockUnloaded-com.gtnewhorizon.structurelib.structure.IStructureWalker-">skipBlockUnloaded(IStructureWalker<T>)</a></span> - Static method in interface com.gtnewhorizon.structurelib.structure.<a href="com/gtnewhorizon/structurelib/structure/IStructureWalker.html" title="interface in com.gtnewhorizon.structurelib.structure">IStructureWalker</a></dt>
|
||||
<dd> </dd>
|
||||
<dt><a href="com/gtnewhorizon/structurelib/util/SortedRegistry.html" title="class in com.gtnewhorizon.structurelib.util"><span class="typeNameLink">SortedRegistry</span></a><<a href="com/gtnewhorizon/structurelib/util/SortedRegistry.html" title="type parameter in SortedRegistry">V</a>> - Class in <a href="com/gtnewhorizon/structurelib/util/package-summary.html">com.gtnewhorizon.structurelib.util</a></dt>
|
||||
<dd> </dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/util/SortedRegistry.html#SortedRegistry--">SortedRegistry()</a></span> - Constructor for class com.gtnewhorizon.structurelib.util.<a href="com/gtnewhorizon/structurelib/util/SortedRegistry.html" title="class in com.gtnewhorizon.structurelib.util">SortedRegistry</a></dt>
|
||||
@@ -1273,6 +1425,15 @@
|
||||
<dd> </dd>
|
||||
<dt><a href="com/gtnewhorizon/structurelib/structure/StructureDefinition.Builder.html" title="class in com.gtnewhorizon.structurelib.structure"><span class="typeNameLink">StructureDefinition.Builder</span></a><<a href="com/gtnewhorizon/structurelib/structure/StructureDefinition.Builder.html" title="type parameter in StructureDefinition.Builder">T</a>> - Class in <a href="com/gtnewhorizon/structurelib/structure/package-summary.html">com.gtnewhorizon.structurelib.structure</a></dt>
|
||||
<dd> </dd>
|
||||
<dt><a href="com/gtnewhorizon/structurelib/StructureEvent.html" title="class in com.gtnewhorizon.structurelib"><span class="typeNameLink">StructureEvent</span></a> - Class in <a href="com/gtnewhorizon/structurelib/package-summary.html">com.gtnewhorizon.structurelib</a></dt>
|
||||
<dd>
|
||||
<div class="block">Subscribers are <b>required</b> to not keep reference to these events, nor to depend on values of these events after
|
||||
the method call returns.</div>
|
||||
</dd>
|
||||
<dt><a href="com/gtnewhorizon/structurelib/StructureEvent.StructureElementVisitedEvent.html" title="class in com.gtnewhorizon.structurelib"><span class="typeNameLink">StructureEvent.StructureElementVisitedEvent</span></a> - Class in <a href="com/gtnewhorizon/structurelib/package-summary.html">com.gtnewhorizon.structurelib</a></dt>
|
||||
<dd>
|
||||
<div class="block">Fired <b>just before</b> any structure element is visited.</div>
|
||||
</dd>
|
||||
<dt><a href="com/gtnewhorizon/structurelib/StructureLibAPI.html" title="class in com.gtnewhorizon.structurelib"><span class="typeNameLink">StructureLibAPI</span></a> - Class in <a href="com/gtnewhorizon/structurelib/package-summary.html">com.gtnewhorizon.structurelib</a></dt>
|
||||
<dd>
|
||||
<div class="block">A stable interface into the structure lib's internals.</div>
|
||||
@@ -1289,6 +1450,10 @@
|
||||
<dd> </dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/structure/IStructureDefinition.html#survivalBuild-T-net.minecraft.item.ItemStack-java.lang.String-net.minecraft.world.World-com.gtnewhorizon.structurelib.alignment.enumerable.ExtendedFacing-int-int-int-int-int-int-int-com.gtnewhorizon.structurelib.structure.IItemSource-net.minecraft.entity.player.EntityPlayerMP-boolean-">survivalBuild(T, ItemStack, String, World, ExtendedFacing, int, int, int, int, int, int, int, IItemSource, EntityPlayerMP, boolean)</a></span> - Method in interface com.gtnewhorizon.structurelib.structure.<a href="com/gtnewhorizon/structurelib/structure/IStructureDefinition.html" title="interface in com.gtnewhorizon.structurelib.structure">IStructureDefinition</a></dt>
|
||||
<dd>
|
||||
<div class="block"><span class="deprecatedLabel">Deprecated.</span></div>
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/structure/IStructureDefinition.html#survivalBuild-T-net.minecraft.item.ItemStack-java.lang.String-net.minecraft.world.World-com.gtnewhorizon.structurelib.alignment.enumerable.ExtendedFacing-int-int-int-int-int-int-int-com.gtnewhorizon.structurelib.structure.ISurvivalBuildEnvironment-boolean-">survivalBuild(T, ItemStack, String, World, ExtendedFacing, int, int, int, int, int, int, int, ISurvivalBuildEnvironment, boolean)</a></span> - Method in interface com.gtnewhorizon.structurelib.structure.<a href="com/gtnewhorizon/structurelib/structure/IStructureDefinition.html" title="interface in com.gtnewhorizon.structurelib.structure">IStructureDefinition</a></dt>
|
||||
<dd>
|
||||
<div class="block">Cause a survival build.</div>
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/alignment/constructable/IMultiblockInfoContainer.html#survivalConstruct-net.minecraft.item.ItemStack-int-com.gtnewhorizon.structurelib.structure.IItemSource-net.minecraft.entity.player.EntityPlayerMP-T-com.gtnewhorizon.structurelib.alignment.enumerable.ExtendedFacing-">survivalConstruct(ItemStack, int, IItemSource, EntityPlayerMP, T, ExtendedFacing)</a></span> - Method in interface com.gtnewhorizon.structurelib.alignment.constructable.<a href="com/gtnewhorizon/structurelib/alignment/constructable/IMultiblockInfoContainer.html" title="interface in com.gtnewhorizon.structurelib.alignment.constructable">IMultiblockInfoContainer</a></dt>
|
||||
@@ -1297,34 +1462,69 @@
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/alignment/constructable/ISurvivalConstructable.html#survivalConstruct-net.minecraft.item.ItemStack-int-com.gtnewhorizon.structurelib.structure.IItemSource-net.minecraft.entity.player.EntityPlayerMP-">survivalConstruct(ItemStack, int, IItemSource, EntityPlayerMP)</a></span> - Method in interface com.gtnewhorizon.structurelib.alignment.constructable.<a href="com/gtnewhorizon/structurelib/alignment/constructable/ISurvivalConstructable.html" title="interface in com.gtnewhorizon.structurelib.alignment.constructable">ISurvivalConstructable</a></dt>
|
||||
<dd>
|
||||
<div class="block">Construct the structure using <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.IItemSource-net.minecraft.entity.player.EntityPlayerMP-java.util.function.Consumer-"><code>IStructureElement.survivalPlaceBlock(Object, World, int, int, int, ItemStack, IItemSource, EntityPlayerMP, java.util.function.Consumer)</code></a></div>
|
||||
<div class="block"><span class="deprecatedLabel">Deprecated.</span></div>
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/alignment/constructable/ISurvivalConstructable.html#survivalConstruct-net.minecraft.item.ItemStack-int-com.gtnewhorizon.structurelib.structure.ISurvivalBuildEnvironment-">survivalConstruct(ItemStack, int, ISurvivalBuildEnvironment)</a></span> - Method in interface com.gtnewhorizon.structurelib.alignment.constructable.<a href="com/gtnewhorizon/structurelib/alignment/constructable/ISurvivalConstructable.html" title="interface in com.gtnewhorizon.structurelib.alignment.constructable">ISurvivalConstructable</a></dt>
|
||||
<dd>
|
||||
<div class="block">Construct the structure using <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>
|
||||
or <a href="com/gtnewhorizon/structurelib/structure/IStructureDefinition.html#survivalBuild-T-net.minecraft.item.ItemStack-java.lang.String-net.minecraft.world.World-com.gtnewhorizon.structurelib.alignment.enumerable.ExtendedFacing-int-int-int-int-int-int-int-com.gtnewhorizon.structurelib.structure.ISurvivalBuildEnvironment-boolean-"><code>IStructureDefinition.survivalBuild(Object, ItemStack, String, World, ExtendedFacing, int, int, int, int, int, int, int, ISurvivalBuildEnvironment, boolean)</code></a></div>
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><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.IItemSource-net.minecraft.entity.player.EntityPlayerMP-java.util.function.Consumer-">survivalPlaceBlock(T, World, int, int, int, ItemStack, IItemSource, EntityPlayerMP, Consumer<IChatComponent>)</a></span> - Method in interface com.gtnewhorizon.structurelib.structure.<a href="com/gtnewhorizon/structurelib/structure/IStructureElement.html" title="interface in com.gtnewhorizon.structurelib.structure">IStructureElement</a></dt>
|
||||
<dd>
|
||||
<div class="block">Try place the block by taking resource from given IItemSource.</div>
|
||||
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
|
||||
<div class="block"><span class="deprecationComment">caller should call the non deprecated overload. implementor for reusable <a href="com/gtnewhorizon/structurelib/structure/IStructureElement.html" title="interface in com.gtnewhorizon.structurelib.structure"><code>IStructureElement</code></a>
|
||||
should still implement this. implementor for private implementations can freely ignore this as long as you know
|
||||
the caller will not call this overload.</span></div>
|
||||
</div>
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><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-">survivalPlaceBlock(T, World, int, int, int, ItemStack, AutoPlaceEnvironment)</a></span> - Method in interface com.gtnewhorizon.structurelib.structure.<a href="com/gtnewhorizon/structurelib/structure/IStructureElement.html" title="interface in com.gtnewhorizon.structurelib.structure">IStructureElement</a></dt>
|
||||
<dd>
|
||||
<div class="block">Try place the block by taking resource from given <a href="com/gtnewhorizon/structurelib/structure/IItemSource.html" title="interface in com.gtnewhorizon.structurelib.structure"><code>IItemSource</code></a>.</div>
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/structure/IStructureElementChain.html#survivalPlaceBlock-T-net.minecraft.world.World-int-int-int-net.minecraft.item.ItemStack-com.gtnewhorizon.structurelib.structure.IItemSource-net.minecraft.entity.player.EntityPlayerMP-java.util.function.Consumer-">survivalPlaceBlock(T, World, int, int, int, ItemStack, IItemSource, EntityPlayerMP, Consumer<IChatComponent>)</a></span> - Method in interface com.gtnewhorizon.structurelib.structure.<a href="com/gtnewhorizon/structurelib/structure/IStructureElementChain.html" title="interface in com.gtnewhorizon.structurelib.structure">IStructureElementChain</a></dt>
|
||||
<dd> </dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/structure/IStructureElementChain.html#survivalPlaceBlock-T-net.minecraft.world.World-int-int-int-net.minecraft.item.ItemStack-com.gtnewhorizon.structurelib.structure.AutoPlaceEnvironment-">survivalPlaceBlock(T, World, int, int, int, ItemStack, AutoPlaceEnvironment)</a></span> - Method in interface com.gtnewhorizon.structurelib.structure.<a href="com/gtnewhorizon/structurelib/structure/IStructureElementChain.html" title="interface in com.gtnewhorizon.structurelib.structure">IStructureElementChain</a></dt>
|
||||
<dd> </dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/structure/IStructureElementCheckOnly.html#survivalPlaceBlock-T-net.minecraft.world.World-int-int-int-net.minecraft.item.ItemStack-com.gtnewhorizon.structurelib.structure.IItemSource-net.minecraft.entity.player.EntityPlayerMP-java.util.function.Consumer-">survivalPlaceBlock(T, World, int, int, int, ItemStack, IItemSource, EntityPlayerMP, Consumer<IChatComponent>)</a></span> - Method in interface com.gtnewhorizon.structurelib.structure.<a href="com/gtnewhorizon/structurelib/structure/IStructureElementCheckOnly.html" title="interface in com.gtnewhorizon.structurelib.structure">IStructureElementCheckOnly</a></dt>
|
||||
<dd> </dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/structure/IStructureElementCheckOnly.html#survivalPlaceBlock-T-net.minecraft.world.World-int-int-int-net.minecraft.item.ItemStack-com.gtnewhorizon.structurelib.structure.AutoPlaceEnvironment-">survivalPlaceBlock(T, World, int, int, int, ItemStack, AutoPlaceEnvironment)</a></span> - Method in interface com.gtnewhorizon.structurelib.structure.<a href="com/gtnewhorizon/structurelib/structure/IStructureElementCheckOnly.html" title="interface in com.gtnewhorizon.structurelib.structure">IStructureElementCheckOnly</a></dt>
|
||||
<dd> </dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/structure/IStructureElementNoPlacement.html#survivalPlaceBlock-T-net.minecraft.world.World-int-int-int-net.minecraft.item.ItemStack-com.gtnewhorizon.structurelib.structure.IItemSource-net.minecraft.entity.player.EntityPlayerMP-java.util.function.Consumer-">survivalPlaceBlock(T, World, int, int, int, ItemStack, IItemSource, EntityPlayerMP, Consumer<IChatComponent>)</a></span> - Method in interface com.gtnewhorizon.structurelib.structure.<a href="com/gtnewhorizon/structurelib/structure/IStructureElementNoPlacement.html" title="interface in com.gtnewhorizon.structurelib.structure">IStructureElementNoPlacement</a></dt>
|
||||
<dd> </dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/structure/IStructureElementNoPlacement.html#survivalPlaceBlock-T-net.minecraft.world.World-int-int-int-net.minecraft.item.ItemStack-com.gtnewhorizon.structurelib.structure.AutoPlaceEnvironment-">survivalPlaceBlock(T, World, int, int, int, ItemStack, AutoPlaceEnvironment)</a></span> - Method in interface com.gtnewhorizon.structurelib.structure.<a href="com/gtnewhorizon/structurelib/structure/IStructureElementNoPlacement.html" title="interface in com.gtnewhorizon.structurelib.structure">IStructureElementNoPlacement</a></dt>
|
||||
<dd> </dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/structure/StructureUtility.html#survivalPlaceBlock-net.minecraft.block.Block-int-net.minecraft.world.World-int-int-int-com.gtnewhorizon.structurelib.structure.IItemSource-net.minecraft.entity.player.EntityPlayerMP-">survivalPlaceBlock(Block, int, World, int, int, int, IItemSource, EntityPlayerMP)</a></span> - Static method in class com.gtnewhorizon.structurelib.structure.<a href="com/gtnewhorizon/structurelib/structure/StructureUtility.html" title="class in com.gtnewhorizon.structurelib.structure">StructureUtility</a></dt>
|
||||
<dd>
|
||||
<div class="block">This is a helper method for implementing <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.IItemSource-net.minecraft.entity.player.EntityPlayerMP-java.util.function.Consumer-"><code>IStructureElement.survivalPlaceBlock(Object, World, int, int, int, ItemStack, IItemSource, EntityPlayerMP, Consumer)</code></a></div>
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/structure/StructureUtility.html#survivalPlaceBlock-net.minecraft.block.Block-int-net.minecraft.world.World-int-int-int-com.gtnewhorizon.structurelib.structure.IItemSource-net.minecraft.entity.player.EntityPlayer-">survivalPlaceBlock(Block, int, World, int, int, int, IItemSource, EntityPlayer)</a></span> - Static method in class com.gtnewhorizon.structurelib.structure.<a href="com/gtnewhorizon/structurelib/structure/StructureUtility.html" title="class in com.gtnewhorizon.structurelib.structure">StructureUtility</a></dt>
|
||||
<dd>
|
||||
<div class="block">This is a helper method for implementing <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.IItemSource-net.minecraft.entity.player.EntityPlayerMP-java.util.function.Consumer-"><code>IStructureElement.survivalPlaceBlock(Object, World, int, int, int, ItemStack, IItemSource, EntityPlayerMP, Consumer)</code></a></div>
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/structure/StructureUtility.html#survivalPlaceBlock-net.minecraft.block.Block-int-net.minecraft.world.World-int-int-int-com.gtnewhorizon.structurelib.structure.IItemSource-net.minecraft.entity.player.EntityPlayerMP-java.util.function.Consumer-">survivalPlaceBlock(Block, int, World, int, int, int, IItemSource, EntityPlayerMP, Consumer<IChatComponent>)</a></span> - Static method in class com.gtnewhorizon.structurelib.structure.<a href="com/gtnewhorizon/structurelib/structure/StructureUtility.html" title="class in com.gtnewhorizon.structurelib.structure">StructureUtility</a></dt>
|
||||
<dd>
|
||||
<div class="block">This is a helper method for implementing <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.IItemSource-net.minecraft.entity.player.EntityPlayerMP-java.util.function.Consumer-"><code>IStructureElement.survivalPlaceBlock(Object, World, int, int, int, ItemStack, IItemSource, EntityPlayerMP, Consumer)</code></a></div>
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/structure/StructureUtility.html#survivalPlaceBlock-net.minecraft.block.Block-int-net.minecraft.world.World-int-int-int-com.gtnewhorizon.structurelib.structure.IItemSource-net.minecraft.entity.player.EntityPlayer-java.util.function.Consumer-">survivalPlaceBlock(Block, int, World, int, int, int, IItemSource, EntityPlayer, Consumer<IChatComponent>)</a></span> - Static method in class com.gtnewhorizon.structurelib.structure.<a href="com/gtnewhorizon/structurelib/structure/StructureUtility.html" title="class in com.gtnewhorizon.structurelib.structure">StructureUtility</a></dt>
|
||||
<dd>
|
||||
<div class="block">This is a helper method for implementing <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.IItemSource-net.minecraft.entity.player.EntityPlayerMP-java.util.function.Consumer-"><code>IStructureElement.survivalPlaceBlock(Object, World, int, int, int, ItemStack, IItemSource, EntityPlayerMP, Consumer)</code></a></div>
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/structure/StructureUtility.html#survivalPlaceBlock-net.minecraft.item.ItemStack-com.gtnewhorizon.structurelib.util.ItemStackPredicate.NBTMode-net.minecraft.nbt.NBTTagCompound-boolean-net.minecraft.world.World-int-int-int-com.gtnewhorizon.structurelib.structure.IItemSource-net.minecraft.entity.player.EntityPlayerMP-">survivalPlaceBlock(ItemStack, ItemStackPredicate.NBTMode, NBTTagCompound, boolean, World, int, int, int, IItemSource, EntityPlayerMP)</a></span> - Static method in class com.gtnewhorizon.structurelib.structure.<a href="com/gtnewhorizon/structurelib/structure/StructureUtility.html" title="class in com.gtnewhorizon.structurelib.structure">StructureUtility</a></dt>
|
||||
<dd>
|
||||
<div class="block">This is a helper method for implementing <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.IItemSource-net.minecraft.entity.player.EntityPlayerMP-java.util.function.Consumer-"><code>IStructureElement.survivalPlaceBlock(Object, World, int, int, int, ItemStack, IItemSource, EntityPlayerMP, Consumer)</code></a></div>
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/structure/StructureUtility.html#survivalPlaceBlock-net.minecraft.item.ItemStack-com.gtnewhorizon.structurelib.util.ItemStackPredicate.NBTMode-net.minecraft.nbt.NBTTagCompound-boolean-net.minecraft.world.World-int-int-int-com.gtnewhorizon.structurelib.structure.IItemSource-net.minecraft.entity.player.EntityPlayer-">survivalPlaceBlock(ItemStack, ItemStackPredicate.NBTMode, NBTTagCompound, boolean, World, int, int, int, IItemSource, EntityPlayer)</a></span> - Static method in class com.gtnewhorizon.structurelib.structure.<a href="com/gtnewhorizon/structurelib/structure/StructureUtility.html" title="class in com.gtnewhorizon.structurelib.structure">StructureUtility</a></dt>
|
||||
<dd>
|
||||
<div class="block">This is a helper method for implementing <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.IItemSource-net.minecraft.entity.player.EntityPlayerMP-java.util.function.Consumer-"><code>IStructureElement.survivalPlaceBlock(Object, World, int, int, int, ItemStack, IItemSource, EntityPlayerMP, Consumer)</code></a></div>
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/structure/StructureUtility.html#survivalPlaceBlock-net.minecraft.item.ItemStack-com.gtnewhorizon.structurelib.util.ItemStackPredicate.NBTMode-net.minecraft.nbt.NBTTagCompound-boolean-net.minecraft.world.World-int-int-int-com.gtnewhorizon.structurelib.structure.IItemSource-net.minecraft.entity.player.EntityPlayerMP-java.util.function.Consumer-">survivalPlaceBlock(ItemStack, ItemStackPredicate.NBTMode, NBTTagCompound, boolean, World, int, int, int, IItemSource, EntityPlayerMP, Consumer<IChatComponent>)</a></span> - Static method in class com.gtnewhorizon.structurelib.structure.<a href="com/gtnewhorizon/structurelib/structure/StructureUtility.html" title="class in com.gtnewhorizon.structurelib.structure">StructureUtility</a></dt>
|
||||
<dd>
|
||||
<div class="block">This is a helper method for implementing <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.IItemSource-net.minecraft.entity.player.EntityPlayerMP-java.util.function.Consumer-"><code>IStructureElement.survivalPlaceBlock(Object, World, int, int, int, ItemStack, IItemSource, EntityPlayerMP, Consumer)</code></a></div>
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/structure/StructureUtility.html#survivalPlaceBlock-net.minecraft.item.ItemStack-com.gtnewhorizon.structurelib.util.ItemStackPredicate.NBTMode-net.minecraft.nbt.NBTTagCompound-boolean-net.minecraft.world.World-int-int-int-com.gtnewhorizon.structurelib.structure.IItemSource-net.minecraft.entity.player.EntityPlayer-java.util.function.Consumer-">survivalPlaceBlock(ItemStack, ItemStackPredicate.NBTMode, NBTTagCompound, boolean, World, int, int, int, IItemSource, EntityPlayer, Consumer<IChatComponent>)</a></span> - Static method in class com.gtnewhorizon.structurelib.structure.<a href="com/gtnewhorizon/structurelib/structure/StructureUtility.html" title="class in com.gtnewhorizon.structurelib.structure">StructureUtility</a></dt>
|
||||
<dd>
|
||||
<div class="block">This is a helper method for implementing <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.IItemSource-net.minecraft.entity.player.EntityPlayerMP-java.util.function.Consumer-"><code>IStructureElement.survivalPlaceBlock(Object, World, int, int, int, ItemStack, IItemSource, EntityPlayerMP, Consumer)</code></a></div>
|
||||
</dd>
|
||||
</dl>
|
||||
<a name="I:T">
|
||||
<!-- -->
|
||||
@@ -1333,8 +1533,7 @@
|
||||
<dl>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/structure/IItemSource.html#take-java.util.function.Predicate-boolean-int-">take(Predicate<ItemStack>, boolean, int)</a></span> - Method in interface com.gtnewhorizon.structurelib.structure.<a href="com/gtnewhorizon/structurelib/structure/IItemSource.html" title="interface in com.gtnewhorizon.structurelib.structure">IItemSource</a></dt>
|
||||
<dd>
|
||||
<div class="block">We are probably not going to need to get a lot of items from this method,
|
||||
so I don't care about the overhead of storing all fetched items even if downstream code doesn't need it</div>
|
||||
<div class="block">Retrieve some amount of items from this item source matching given filter.</div>
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/structure/IItemSource.html#takeAll-java.util.function.Predicate-boolean-int-">takeAll(Predicate<ItemStack>, boolean, int)</a></span> - Method in interface com.gtnewhorizon.structurelib.structure.<a href="com/gtnewhorizon/structurelib/structure/IItemSource.html" title="interface in com.gtnewhorizon.structurelib.structure">IItemSource</a></dt>
|
||||
<dd>
|
||||
@@ -1389,6 +1588,8 @@
|
||||
<dd> </dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/alignment/enumerable/Rotation.html#toString--">toString()</a></span> - Method in enum com.gtnewhorizon.structurelib.alignment.enumerable.<a href="com/gtnewhorizon/structurelib/alignment/enumerable/Rotation.html" title="enum in com.gtnewhorizon.structurelib.alignment.enumerable">Rotation</a></dt>
|
||||
<dd> </dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/StructureEvent.StructureElementVisitedEvent.html#toString--">toString()</a></span> - Method in class com.gtnewhorizon.structurelib.<a href="com/gtnewhorizon/structurelib/StructureEvent.StructureElementVisitedEvent.html" title="class in com.gtnewhorizon.structurelib">StructureEvent.StructureElementVisitedEvent</a></dt>
|
||||
<dd> </dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/util/Vec3Impl.html#toString--">toString()</a></span> - Method in class com.gtnewhorizon.structurelib.util.<a href="com/gtnewhorizon/structurelib/util/Vec3Impl.html" title="class in com.gtnewhorizon.structurelib.util">Vec3Impl</a></dt>
|
||||
<dd> </dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/alignment/IntegerAxisSwap.html#translate-com.gtnewhorizon.structurelib.util.Vec3Impl-">translate(Vec3Impl)</a></span> - Method in class com.gtnewhorizon.structurelib.alignment.<a href="com/gtnewhorizon/structurelib/alignment/IntegerAxisSwap.html" title="class in com.gtnewhorizon.structurelib.alignment">IntegerAxisSwap</a></dt>
|
||||
@@ -1444,6 +1645,10 @@
|
||||
<dd>
|
||||
<div class="block">Returns the enum constant of this type with the specified name.</div>
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/structure/AutoPlaceEnvironment.APILevel.html#valueOf-java.lang.String-">valueOf(String)</a></span> - Static method in enum com.gtnewhorizon.structurelib.structure.<a href="com/gtnewhorizon/structurelib/structure/AutoPlaceEnvironment.APILevel.html" title="enum in com.gtnewhorizon.structurelib.structure">AutoPlaceEnvironment.APILevel</a></dt>
|
||||
<dd>
|
||||
<div class="block">Returns the enum constant of this type with the specified name.</div>
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/structure/IStructureElement.PlaceResult.html#valueOf-java.lang.String-">valueOf(String)</a></span> - Static method in enum com.gtnewhorizon.structurelib.structure.<a href="com/gtnewhorizon/structurelib/structure/IStructureElement.PlaceResult.html" title="enum in com.gtnewhorizon.structurelib.structure">IStructureElement.PlaceResult</a></dt>
|
||||
<dd>
|
||||
<div class="block">Returns the enum constant of this type with the specified name.</div>
|
||||
@@ -1484,6 +1689,11 @@ the order they are declared.</div>
|
||||
<div class="block">Returns an array containing the constants of this enum type, in
|
||||
the order they are declared.</div>
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/structure/AutoPlaceEnvironment.APILevel.html#values--">values()</a></span> - Static method in enum com.gtnewhorizon.structurelib.structure.<a href="com/gtnewhorizon/structurelib/structure/AutoPlaceEnvironment.APILevel.html" title="enum in com.gtnewhorizon.structurelib.structure">AutoPlaceEnvironment.APILevel</a></dt>
|
||||
<dd>
|
||||
<div class="block">Returns an array containing the constants of this enum type, in
|
||||
the order they are declared.</div>
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/structure/IStructureElement.PlaceResult.html#values--">values()</a></span> - Static method in enum com.gtnewhorizon.structurelib.structure.<a href="com/gtnewhorizon/structurelib/structure/IStructureElement.PlaceResult.html" title="enum in com.gtnewhorizon.structurelib.structure">IStructureElement.PlaceResult</a></dt>
|
||||
<dd>
|
||||
<div class="block">Returns an array containing the constants of this enum type, in
|
||||
@@ -1503,8 +1713,6 @@ the order they are declared.</div>
|
||||
<dd> </dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/util/Vec3Impl.html#Vec3Impl-int-int-int-">Vec3Impl(int, int, int)</a></span> - Constructor for class com.gtnewhorizon.structurelib.util.<a href="com/gtnewhorizon/structurelib/util/Vec3Impl.html" title="class in com.gtnewhorizon.structurelib.util">Vec3Impl</a></dt>
|
||||
<dd> </dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/structure/IStructureWalker.html#visit-com.gtnewhorizon.structurelib.structure.IStructureElement-net.minecraft.world.World-int-int-int-">visit(IStructureElement<T>, World, int, int, int)</a></span> - Method in interface com.gtnewhorizon.structurelib.structure.<a href="com/gtnewhorizon/structurelib/structure/IStructureWalker.html" title="interface in com.gtnewhorizon.structurelib.structure">IStructureWalker</a></dt>
|
||||
<dd> </dd>
|
||||
</dl>
|
||||
<a name="I:W">
|
||||
<!-- -->
|
||||
@@ -1521,6 +1729,10 @@ the order they are declared.</div>
|
||||
<dd> </dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/alignment/enumerable/ExtendedFacing.html#with-com.gtnewhorizon.structurelib.alignment.enumerable.Flip-">with(Flip)</a></span> - Method in enum com.gtnewhorizon.structurelib.alignment.enumerable.<a href="com/gtnewhorizon/structurelib/alignment/enumerable/ExtendedFacing.html" title="enum in com.gtnewhorizon.structurelib.alignment.enumerable">ExtendedFacing</a></dt>
|
||||
<dd> </dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/structure/AutoPlaceEnvironment.html#withActor-net.minecraft.entity.player.EntityPlayer-">withActor(EntityPlayer)</a></span> - Method in class com.gtnewhorizon.structurelib.structure.<a href="com/gtnewhorizon/structurelib/structure/AutoPlaceEnvironment.html" title="class in com.gtnewhorizon.structurelib.structure">AutoPlaceEnvironment</a></dt>
|
||||
<dd>
|
||||
<div class="block">Return a new instance with actor modified to given value.</div>
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/alignment/constructable/ChannelDataAccessor.html#withChannel-net.minecraft.item.ItemStack-java.lang.String-">withChannel(ItemStack, String)</a></span> - Static method in class com.gtnewhorizon.structurelib.alignment.constructable.<a href="com/gtnewhorizon/structurelib/alignment/constructable/ChannelDataAccessor.html" title="class in com.gtnewhorizon.structurelib.alignment.constructable">ChannelDataAccessor</a></dt>
|
||||
<dd>
|
||||
<div class="block">Return a trigger item that
|
||||
@@ -1535,6 +1747,10 @@ the order they are declared.</div>
|
||||
<dd>
|
||||
<div class="block">See channels.md in docs folder</div>
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/structure/AutoPlaceEnvironment.html#withChatter-java.util.function.Consumer-">withChatter(Consumer<IChatComponent>)</a></span> - Method in class com.gtnewhorizon.structurelib.structure.<a href="com/gtnewhorizon/structurelib/structure/AutoPlaceEnvironment.html" title="class in com.gtnewhorizon.structurelib.structure">AutoPlaceEnvironment</a></dt>
|
||||
<dd>
|
||||
<div class="block">Return a new instance with chatter modified to given value.</div>
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/structure/StructureUtility.html#withContext-com.gtnewhorizon.structurelib.structure.IStructureElement-">withContext(IStructureElement<CTX>)</a></span> - Static method in class com.gtnewhorizon.structurelib.structure.<a href="com/gtnewhorizon/structurelib/structure/StructureUtility.html" title="class in com.gtnewhorizon.structurelib.structure">StructureUtility</a></dt>
|
||||
<dd>
|
||||
<div class="block">Switch to the extended context object in the downstream element</div>
|
||||
@@ -1543,6 +1759,10 @@ the order they are declared.</div>
|
||||
<dd> </dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/util/Vec3Impl.html#withinDistance-net.minecraft.dispenser.IPosition-double-">withinDistance(IPosition, double)</a></span> - Method in class com.gtnewhorizon.structurelib.util.<a href="com/gtnewhorizon/structurelib/util/Vec3Impl.html" title="class in com.gtnewhorizon.structurelib.util">Vec3Impl</a></dt>
|
||||
<dd> </dd>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/structure/AutoPlaceEnvironment.html#withSource-com.gtnewhorizon.structurelib.structure.IItemSource-">withSource(IItemSource)</a></span> - Method in class com.gtnewhorizon.structurelib.structure.<a href="com/gtnewhorizon/structurelib/structure/AutoPlaceEnvironment.html" title="class in com.gtnewhorizon.structurelib.structure">AutoPlaceEnvironment</a></dt>
|
||||
<dd>
|
||||
<div class="block">Return a new instance with source modified to given value.</div>
|
||||
</dd>
|
||||
</dl>
|
||||
<a name="I:X">
|
||||
<!-- -->
|
||||
@@ -1568,7 +1788,17 @@ the order they are declared.</div>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/util/XSTR.html#XSTR_INSTANCE">XSTR_INSTANCE</a></span> - Static variable in class com.gtnewhorizon.structurelib.util.<a href="com/gtnewhorizon/structurelib/util/XSTR.html" title="class in com.gtnewhorizon.structurelib.util">XSTR</a></dt>
|
||||
<dd> </dd>
|
||||
</dl>
|
||||
<a href="#I:A">A</a> <a href="#I:B">B</a> <a href="#I:C">C</a> <a href="#I:D">D</a> <a href="#I:E">E</a> <a href="#I:F">F</a> <a href="#I:G">G</a> <a href="#I:H">H</a> <a href="#I:I">I</a> <a href="#I:L">L</a> <a href="#I:M">M</a> <a href="#I:N">N</a> <a href="#I:O">O</a> <a href="#I:P">P</a> <a href="#I:Q">Q</a> <a href="#I:R">R</a> <a href="#I:S">S</a> <a href="#I:T">T</a> <a href="#I:U">U</a> <a href="#I:V">V</a> <a href="#I:W">W</a> <a href="#I:X">X</a> </div>
|
||||
<a name="I:Z:Z_">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h2 class="title">_</h2>
|
||||
<dl>
|
||||
<dt><span class="memberNameLink"><a href="com/gtnewhorizon/structurelib/alignment/constructable/ISurvivalConstructable.html#Z:Z__get_player--">__get_player()</a></span> - Static method in interface com.gtnewhorizon.structurelib.alignment.constructable.<a href="com/gtnewhorizon/structurelib/alignment/constructable/ISurvivalConstructable.html" title="interface in com.gtnewhorizon.structurelib.alignment.constructable">ISurvivalConstructable</a></dt>
|
||||
<dd>
|
||||
<div class="block"><span class="deprecatedLabel">Deprecated.</span></div>
|
||||
</dd>
|
||||
</dl>
|
||||
<a href="#I:A">A</a> <a href="#I:B">B</a> <a href="#I:C">C</a> <a href="#I:D">D</a> <a href="#I:E">E</a> <a href="#I:F">F</a> <a href="#I:G">G</a> <a href="#I:H">H</a> <a href="#I:I">I</a> <a href="#I:L">L</a> <a href="#I:M">M</a> <a href="#I:N">N</a> <a href="#I:O">O</a> <a href="#I:P">P</a> <a href="#I:Q">Q</a> <a href="#I:R">R</a> <a href="#I:S">S</a> <a href="#I:T">T</a> <a href="#I:U">U</a> <a href="#I:V">V</a> <a href="#I:W">W</a> <a href="#I:X">X</a> <a href="#I:Z:Z_">_</a> </div>
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar.bottom">
|
||||
<!-- -->
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc -->
|
||||
<title>StructureLib 1.7.10-1.1.12 API</title>
|
||||
<title>StructureLib 1.7.10-1.1.12-15-g978938d API</title>
|
||||
<script type="text/javascript">
|
||||
tmpTargetPage = "" + window.location.search;
|
||||
if (tmpTargetPage != "" && tmpTargetPage != "undefined")
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc -->
|
||||
<title>Overview List (StructureLib 1.7.10-1.1.12 API)</title>
|
||||
<title>Overview List (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>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc -->
|
||||
<title>Overview (StructureLib 1.7.10-1.1.12 API)</title>
|
||||
<title>Overview (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>
|
||||
@@ -11,7 +11,7 @@
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="Overview (StructureLib 1.7.10-1.1.12 API)";
|
||||
parent.document.title="Overview (StructureLib 1.7.10-1.1.12-15-g978938d API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
@@ -68,7 +68,7 @@
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<div class="header">
|
||||
<h1 class="title">StructureLib 1.7.10-1.1.12 API</h1>
|
||||
<h1 class="title">StructureLib 1.7.10-1.1.12-15-g978938d API</h1>
|
||||
</div>
|
||||
<div class="header">
|
||||
<div class="subTitle">
|
||||
@@ -208,6 +208,18 @@
|
||||
breaking client code.
|
||||
</p>
|
||||
|
||||
<h2><a href="com/gtnewhorizon/structurelib/StructureEvent.html" title="class in com.gtnewhorizon.structurelib"><code>StructureEvent</code></a></h2>
|
||||
<p>
|
||||
This class is the base class of all events that will be posted while a IStructureDefinition are visited.
|
||||
These events are disabled by default, and can be enabled by calling <a href="com/gtnewhorizon/structurelib/StructureLibAPI.html#enableInstrument-java.lang.Object-"><code>StructureLibAPI.enableInstrument(Object)</code></a>.
|
||||
To receive these events, register an event handler to <code>MinecraftForge.EVENT_BUS</code>.
|
||||
Handlers should filter the events received by <a href="com/gtnewhorizon/structurelib/StructureEvent.html#getInstrumentIdentifier--"><code>StructureEvent.getInstrumentIdentifier()</code></a>.
|
||||
</p>
|
||||
<p>
|
||||
<b>These events are intended for third party tools to inspect structure details.</b> Normal users should not use
|
||||
these at all.
|
||||
</p>
|
||||
|
||||
<h1>Important Concepts</h1>
|
||||
<h2>Context Object</h2>
|
||||
<p>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc -->
|
||||
<title>Class Hierarchy (StructureLib 1.7.10-1.1.12 API)</title>
|
||||
<title>Class Hierarchy (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>
|
||||
@@ -11,7 +11,7 @@
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="Class Hierarchy (StructureLib 1.7.10-1.1.12 API)";
|
||||
parent.document.title="Class Hierarchy (StructureLib 1.7.10-1.1.12-15-g978938d API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
@@ -86,12 +86,23 @@
|
||||
<li type="circle">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"><span class="typeNameLink">Object</span></a>
|
||||
<ul>
|
||||
<li type="circle">com.gtnewhorizon.structurelib.alignment.<a href="com/gtnewhorizon/structurelib/alignment/AlignmentUtility.html" title="class in com.gtnewhorizon.structurelib.alignment"><span class="typeNameLink">AlignmentUtility</span></a></li>
|
||||
<li type="circle">com.gtnewhorizon.structurelib.structure.<a href="com/gtnewhorizon/structurelib/structure/AutoPlaceEnvironment.html" title="class in com.gtnewhorizon.structurelib.structure"><span class="typeNameLink">AutoPlaceEnvironment</span></a></li>
|
||||
<li type="circle">com.gtnewhorizon.structurelib.alignment.constructable.<a href="com/gtnewhorizon/structurelib/alignment/constructable/ChannelDataAccessor.html" title="class in com.gtnewhorizon.structurelib.alignment.constructable"><span class="typeNameLink">ChannelDataAccessor</span></a></li>
|
||||
<li type="circle">com.gtnewhorizon.structurelib.alignment.constructable.<a href="com/gtnewhorizon/structurelib/alignment/constructable/ConstructableUtility.html" title="class in com.gtnewhorizon.structurelib.alignment.constructable"><span class="typeNameLink">ConstructableUtility</span></a></li>
|
||||
<li type="circle">cpw.mods.fml.common.eventhandler.<a href="https://skmedix.github.io/ForgeJavaDocs/javadoc/forge/1.7.10-10.13.4.1614/cpw/mods/fml/common/eventhandler/Event.html?is-external=true" title="class or interface in cpw.mods.fml.common.eventhandler"><span class="typeNameLink">Event</span></a>
|
||||
<ul>
|
||||
<li type="circle">com.gtnewhorizon.structurelib.<a href="com/gtnewhorizon/structurelib/StructureEvent.html" title="class in com.gtnewhorizon.structurelib"><span class="typeNameLink">StructureEvent</span></a>
|
||||
<ul>
|
||||
<li type="circle">com.gtnewhorizon.structurelib.<a href="com/gtnewhorizon/structurelib/StructureEvent.StructureElementVisitedEvent.html" title="class in com.gtnewhorizon.structurelib"><span class="typeNameLink">StructureEvent.StructureElementVisitedEvent</span></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li type="circle">com.gtnewhorizon.structurelib.alignment.<a href="com/gtnewhorizon/structurelib/alignment/IAlignmentLimits.Builder.html" title="class in com.gtnewhorizon.structurelib.alignment"><span class="typeNameLink">IAlignmentLimits.Builder</span></a></li>
|
||||
<li type="circle">com.gtnewhorizon.structurelib.alignment.<a href="com/gtnewhorizon/structurelib/alignment/IntegerAxisSwap.html" title="class in com.gtnewhorizon.structurelib.alignment"><span class="typeNameLink">IntegerAxisSwap</span></a></li>
|
||||
<li type="circle">com.gtnewhorizon.structurelib.util.<a href="com/gtnewhorizon/structurelib/util/InventoryIterable.html" title="class in com.gtnewhorizon.structurelib.util"><span class="typeNameLink">InventoryIterable</span></a><Inv> (implements java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a><T>)</li>
|
||||
<li type="circle">com.gtnewhorizon.structurelib.util.<a href="com/gtnewhorizon/structurelib/util/InventoryUtility.html" title="class in com.gtnewhorizon.structurelib.util"><span class="typeNameLink">InventoryUtility</span></a></li>
|
||||
<li type="circle">com.gtnewhorizon.structurelib.structure.<a href="com/gtnewhorizon/structurelib/structure/IStructureElement.BlocksToPlace.html" title="class in com.gtnewhorizon.structurelib.structure"><span class="typeNameLink">IStructureElement.BlocksToPlace</span></a></li>
|
||||
<li type="circle">com.gtnewhorizon.structurelib.util.<a href="com/gtnewhorizon/structurelib/util/ItemStackArrayIterable.html" title="class in com.gtnewhorizon.structurelib.util"><span class="typeNameLink">ItemStackArrayIterable</span></a> (implements java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a><T>)</li>
|
||||
<li type="circle">com.gtnewhorizon.structurelib.util.<a href="com/gtnewhorizon/structurelib/util/ItemStackPredicate.html" title="class in com.gtnewhorizon.structurelib.util"><span class="typeNameLink">ItemStackPredicate</span></a> (implements java.util.function.<a href="https://docs.oracle.com/javase/8/docs/api/java/util/function/Predicate.html?is-external=true" title="class or interface in java.util.function">Predicate</a><T>)</li>
|
||||
<li type="circle">com.gtnewhorizon.structurelib.util.<a href="com/gtnewhorizon/structurelib/util/MiscUtils.html" title="class in com.gtnewhorizon.structurelib.util"><span class="typeNameLink">MiscUtils</span></a></li>
|
||||
@@ -146,7 +157,7 @@
|
||||
<li type="circle">com.gtnewhorizon.structurelib.structure.<a href="com/gtnewhorizon/structurelib/structure/IStructureElementNoPlacement.html" title="interface in com.gtnewhorizon.structurelib.structure"><span class="typeNameLink">IStructureElementNoPlacement</span></a><T></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li type="circle">com.gtnewhorizon.structurelib.structure.<a href="com/gtnewhorizon/structurelib/structure/IStructureWalker.html" title="interface in com.gtnewhorizon.structurelib.structure"><span class="typeNameLink">IStructureWalker</span></a><T></li>
|
||||
<li type="circle">com.gtnewhorizon.structurelib.structure.<a href="com/gtnewhorizon/structurelib/structure/ISurvivalBuildEnvironment.html" title="interface in com.gtnewhorizon.structurelib.structure"><span class="typeNameLink">ISurvivalBuildEnvironment</span></a></li>
|
||||
<li type="circle">com.gtnewhorizon.structurelib.structure.<a href="com/gtnewhorizon/structurelib/structure/ITierConverter.html" title="interface in com.gtnewhorizon.structurelib.structure"><span class="typeNameLink">ITierConverter</span></a><TIER></li>
|
||||
<li type="circle">com.gtnewhorizon.structurelib.structure.adders.<a href="com/gtnewhorizon/structurelib/structure/adders/ITileAdder.html" title="interface in com.gtnewhorizon.structurelib.structure.adders"><span class="typeNameLink">ITileAdder</span></a><T></li>
|
||||
<li type="circle">com.gtnewhorizon.structurelib.structure.<a href="com/gtnewhorizon/structurelib/structure/IWithExtendedContext.html" title="interface in com.gtnewhorizon.structurelib.structure"><span class="typeNameLink">IWithExtendedContext</span></a><CTX></li>
|
||||
@@ -158,6 +169,7 @@
|
||||
<li type="circle">java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang"><span class="typeNameLink">Enum</span></a><E> (implements java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</a><T>, java.io.<a href="https://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a>)
|
||||
<ul>
|
||||
<li type="circle">com.gtnewhorizon.structurelib.structure.<a href="com/gtnewhorizon/structurelib/structure/IStructureElement.PlaceResult.html" title="enum in com.gtnewhorizon.structurelib.structure"><span class="typeNameLink">IStructureElement.PlaceResult</span></a></li>
|
||||
<li type="circle">com.gtnewhorizon.structurelib.structure.<a href="com/gtnewhorizon/structurelib/structure/AutoPlaceEnvironment.APILevel.html" title="enum in com.gtnewhorizon.structurelib.structure"><span class="typeNameLink">AutoPlaceEnvironment.APILevel</span></a></li>
|
||||
<li type="circle">com.gtnewhorizon.structurelib.alignment.enumerable.<a href="com/gtnewhorizon/structurelib/alignment/enumerable/Direction.html" title="enum in com.gtnewhorizon.structurelib.alignment.enumerable"><span class="typeNameLink">Direction</span></a></li>
|
||||
<li type="circle">com.gtnewhorizon.structurelib.alignment.enumerable.<a href="com/gtnewhorizon/structurelib/alignment/enumerable/ExtendedFacing.html" title="enum in com.gtnewhorizon.structurelib.alignment.enumerable"><span class="typeNameLink">ExtendedFacing</span></a></li>
|
||||
<li type="circle">com.gtnewhorizon.structurelib.alignment.enumerable.<a href="com/gtnewhorizon/structurelib/alignment/enumerable/Flip.html" title="enum in com.gtnewhorizon.structurelib.alignment.enumerable"><span class="typeNameLink">Flip</span></a></li>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc -->
|
||||
<title>Serialized Form (StructureLib 1.7.10-1.1.12 API)</title>
|
||||
<title>Serialized Form (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>
|
||||
@@ -11,7 +11,7 @@
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="Serialized Form (StructureLib 1.7.10-1.1.12 API)";
|
||||
parent.document.title="Serialized Form (StructureLib 1.7.10-1.1.12-15-g978938d API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
|
||||
Reference in new issue
Block a user