<divclass="inheritance"title="Inheritance Tree"><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html"title="class or interface in java.lang"class="external-link">java.lang.Object</a>
<divclass="inheritance"><ahref="MaterialData.html"title="class in org.bukkit.material">org.bukkit.material.MaterialData</a>
<divclass="inheritance"><ahref="Rails.html"title="class in org.bukkit.material">org.bukkit.material.Rails</a>
<dd><code><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Cloneable.html"title="class or interface in java.lang"class="external-link">Cloneable</a></code></dd>
</dl>
<dlclass="notes">
<dt>Direct Known Subclasses:</dt>
<dd><code><ahref="DetectorRail.html"title="class in org.bukkit.material">DetectorRail</a></code>, <code><ahref="PoweredRail.html"title="class in org.bukkit.material">PoweredRail</a></code></dd>
</dl>
<hr>
<divclass="type-signature"><spanclass="annotations"><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Deprecated.html"title="class or interface in java.lang"class="external-link">@Deprecated</a>
</span><spanclass="modifiers">public class </span><spanclass="element-name type-name-label">ExtendedRails</span>
<spanclass="extends-implements">extends <ahref="Rails.html"title="class in org.bukkit.material">Rails</a></span></div>
<divclass="deprecation-comment">all usage of MaterialData is deprecated and subject to removal.
Use <ahref="../block/data/BlockData.html"title="interface in org.bukkit.block.data"><code>BlockData</code></a>.</div>
</div>
<divclass="block">This is the superclass for the <ahref="DetectorRail.html"title="class in org.bukkit.material"><code>DetectorRail</code></a> and <ahref="PoweredRail.html"title="class in org.bukkit.material"><code>PoweredRail</code></a>
<divclass="col-constructor-name even-row-color"><code><ahref="#%3Cinit%3E(org.bukkit.Material)"class="member-name-link">ExtendedRails</a><wbr>(<ahref="../Material.html"title="enum class in org.bukkit">Material</a> type)</code></div>
<divclass="col-constructor-name odd-row-color"><code><ahref="#%3Cinit%3E(org.bukkit.Material,byte)"class="member-name-link">ExtendedRails</a><wbr>(<ahref="../Material.html"title="enum class in org.bukkit">Material</a> type,
<divclass="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4 method-summary-table-tab6"><code><ahref="#setDirection(org.bukkit.block.BlockFace,boolean)"class="member-name-link">setDirection</a><wbr>(<ahref="../block/BlockFace.html"title="enum class in org.bukkit.block">BlockFace</a> face,
<divclass="block">Set the direction of these tracks</div>
</div>
</div>
</div>
</div>
<divclass="inherited-list">
<h3id="methods-inherited-from-class-org.bukkit.material.Rails">Methods inherited from class org.bukkit.material.<ahref="Rails.html"title="class in org.bukkit.material">Rails</a></h3>
<h3id="methods-inherited-from-class-org.bukkit.material.MaterialData">Methods inherited from class org.bukkit.material.<ahref="MaterialData.html"title="class in org.bukkit.material">MaterialData</a></h3>
<h3id="methods-inherited-from-class-java.lang.Object">Methods inherited from class java.lang.<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html"title="class or interface in java.lang"class="external-link">Object</a></h3>
<code><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#finalize()"title="class or interface in java.lang"class="external-link">finalize</a>, <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#getClass()"title="class or interface in java.lang"class="external-link">getClass</a>, <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#notify()"title="class or interface in java.lang"class="external-link">notify</a>, <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#notifyAll()"title="class or interface in java.lang"class="external-link">notifyAll</a>, <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait()"title="class or interface in java.lang"class="external-link">wait</a>, <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait(long)"title="class or interface in java.lang"class="external-link">wait</a>, <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait(long,int)"title="class or interface in java.lang"class="external-link">wait</a></code></div>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="element-name">ExtendedRails</span><wbr><spanclass="parameters">(<ahref="../Material.html"title="enum class in org.bukkit">Material</a> type)</span></div>
<divclass="member-signature"><spanclass="annotations"><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Deprecated.html"title="class or interface in java.lang"class="external-link">@Deprecated</a>
</span><spanclass="modifiers">public</span> <spanclass="element-name">ExtendedRails</span><wbr><spanclass="parameters">(<ahref="../Material.html"title="enum class in org.bukkit">Material</a> type,
<dd><code><ahref="Rails.html#isCurve()">isCurve</a></code> in class <code><ahref="Rails.html"title="class in org.bukkit.material">Rails</a></code></dd>
<dt>Returns:</dt>
<dd>the whether this track is set as a curve</dd>
</dl>
</section>
</li>
<li>
<sectionclass="detail"id="getConvertedData()">
<h3>getConvertedData</h3>
<divclass="member-signature"><spanclass="annotations"><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Deprecated.html"title="class or interface in java.lang"class="external-link">@Deprecated</a>
<divclass="block">Return the data without the extended properties used by <ahref="PoweredRail.html"title="class in org.bukkit.material"><code>PoweredRail</code></a> and <ahref="DetectorRail.html"title="class in org.bukkit.material"><code>DetectorRail</code></a>. Overridden in <ahref="ExtendedRails.html"title="class in org.bukkit.material"><code>ExtendedRails</code></a></div>
<dlclass="notes">
<dt>Overrides:</dt>
<dd><code><ahref="Rails.html#getConvertedData()">getConvertedData</a></code> in class <code><ahref="Rails.html"title="class in org.bukkit.material">Rails</a></code></dd>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-type">void</span> <spanclass="element-name">setDirection</span><wbr><spanclass="parameters">(<ahref="../block/BlockFace.html"title="enum class in org.bukkit.block">BlockFace</a> face,
<divclass="block"><spanclass="descfrm-type-label">Description copied from class: <code><ahref="Rails.html#setDirection(org.bukkit.block.BlockFace,boolean)">Rails</a></code></span></div>
<divclass="block">Set the direction of these tracks
<p>
Note that tracks are bidirectional and that the direction returned is
the ascending direction if the track is set on a slope. If it is set as
a curve, the corner of the track should be supplied.</div>
<dlclass="notes">
<dt>Overrides:</dt>
<dd><code><ahref="Rails.html#setDirection(org.bukkit.block.BlockFace,boolean)">setDirection</a></code> in class <code><ahref="Rails.html"title="class in org.bukkit.material">Rails</a></code></dd>
<dt>Parameters:</dt>
<dd><code>face</code> - the direction the track should be facing</dd>
<dd><code>isOnSlope</code> - whether or not the track should be on a slope</dd>
</dl>
</section>
</li>
<li>
<sectionclass="detail"id="clone()">
<h3>clone</h3>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-type"><ahref="ExtendedRails.html"title="class in org.bukkit.material">ExtendedRails</a></span> <spanclass="element-name">clone</span>()</div>
<dd><code><ahref="Rails.html#clone()">clone</a></code> in class <code><ahref="Rails.html"title="class in org.bukkit.material">Rails</a></code></dd>