<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="Wood.html"title="class in org.bukkit.material">org.bukkit.material.Wood</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>
<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">Tree</span>
<spanclass="extends-implements">extends <ahref="Wood.html"title="class in org.bukkit.material">Wood</a></span></div>
<divclass="col-first even-row-color"><code>protected static final <ahref="../block/BlockFace.html"title="enum class in org.bukkit.block">BlockFace</a></code></div>
<h3id="fields-inherited-from-class-org.bukkit.material.Wood">Fields inherited from class org.bukkit.material.<ahref="Wood.html"title="class in org.bukkit.material">Wood</a></h3>
<divclass="col-constructor-name odd-row-color"><code><ahref="#%3Cinit%3E(org.bukkit.Material)"class="member-name-link">Tree</a><wbr>(<ahref="../Material.html"title="enum class in org.bukkit">Material</a> type)</code></div>
<divclass="block">Constructs a tree block of the given type.</div>
</div>
<divclass="col-constructor-name even-row-color"><code><ahref="#%3Cinit%3E(org.bukkit.Material,byte)"class="member-name-link">Tree</a><wbr>(<ahref="../Material.html"title="enum class in org.bukkit">Material</a> type,
<divclass="col-constructor-name odd-row-color"><code><ahref="#%3Cinit%3E(org.bukkit.Material,org.bukkit.TreeSpecies)"class="member-name-link">Tree</a><wbr>(<ahref="../Material.html"title="enum class in org.bukkit">Material</a> type,
<ahref="../TreeSpecies.html"title="enum class in org.bukkit">TreeSpecies</a> species)</code></div>
<divclass="block">Constructs a tree block of the given type and tree species.</div>
</div>
<divclass="col-constructor-name even-row-color"><code><ahref="#%3Cinit%3E(org.bukkit.Material,org.bukkit.TreeSpecies,org.bukkit.block.BlockFace)"class="member-name-link">Tree</a><wbr>(<ahref="../Material.html"title="enum class in org.bukkit">Material</a> type,
<ahref="../TreeSpecies.html"title="enum class in org.bukkit">TreeSpecies</a> species,
<ahref="../block/BlockFace.html"title="enum class in org.bukkit.block">BlockFace</a> dir)</code></div>
<divclass="block">Constructs a tree block of the given type and tree species, and facing
the given direction.</div>
</div>
<divclass="col-constructor-name odd-row-color"><code><ahref="#%3Cinit%3E(org.bukkit.TreeSpecies)"class="member-name-link">Tree</a><wbr>(<ahref="../TreeSpecies.html"title="enum class in org.bukkit">TreeSpecies</a> species)</code></div>
<divclass="block">Constructs a tree block of the given tree species.</div>
</div>
<divclass="col-constructor-name even-row-color"><code><ahref="#%3Cinit%3E(org.bukkit.TreeSpecies,org.bukkit.block.BlockFace)"class="member-name-link">Tree</a><wbr>(<ahref="../TreeSpecies.html"title="enum class in org.bukkit">TreeSpecies</a> species,
<ahref="../block/BlockFace.html"title="enum class in org.bukkit.block">BlockFace</a> dir)</code></div>
<divclass="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4 method-summary-table-tab6"><code><ahref="../block/BlockFace.html"title="enum class in org.bukkit.block">BlockFace</a></code></div>
<divclass="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4 method-summary-table-tab6"><code><ahref="#setDirection(org.bukkit.block.BlockFace)"class="member-name-link">setDirection</a><wbr>(<ahref="../block/BlockFace.html"title="enum class in org.bukkit.block">BlockFace</a> dir)</code></div>
<divclass="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4 method-summary-table-tab6"><code><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a></code></div>
<h3id="methods-inherited-from-class-org.bukkit.material.Wood">Methods inherited from class org.bukkit.material.<ahref="Wood.html"title="class in org.bukkit.material">Wood</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>
</section>
</li>
</ul>
</section>
<sectionclass="details">
<ulclass="details-list">
<!-- ============ FIELD DETAIL =========== -->
<li>
<sectionclass="field-details"id="field-detail">
<h2>Field Details</h2>
<ulclass="member-list">
<li>
<sectionclass="detail"id="DEFAULT_TYPE">
<h3>DEFAULT_TYPE</h3>
<divclass="member-signature"><spanclass="modifiers">protected static final</span> <spanclass="return-type"><ahref="../Material.html"title="enum class in org.bukkit">Material</a></span> <spanclass="element-name">DEFAULT_TYPE</span></div>
<divclass="member-signature"><spanclass="modifiers">protected static final</span> <spanclass="return-type"><ahref="../block/BlockFace.html"title="enum class in org.bukkit.block">BlockFace</a></span> <spanclass="element-name">DEFAULT_DIRECTION</span></div>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="element-name">Tree</span><wbr><spanclass="parameters">(<ahref="../TreeSpecies.html"title="enum class in org.bukkit">TreeSpecies</a> species)</span></div>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="element-name">Tree</span><wbr><spanclass="parameters">(<ahref="../TreeSpecies.html"title="enum class in org.bukkit">TreeSpecies</a> species,
<ahref="../block/BlockFace.html"title="enum class in org.bukkit.block">BlockFace</a> dir)</span></div>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="element-name">Tree</span><wbr><spanclass="parameters">(<ahref="../Material.html"title="enum class in org.bukkit">Material</a> type)</span></div>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="element-name">Tree</span><wbr><spanclass="parameters">(<ahref="../Material.html"title="enum class in org.bukkit">Material</a> type,
<ahref="../TreeSpecies.html"title="enum class in org.bukkit">TreeSpecies</a> species)</span></div>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="element-name">Tree</span><wbr><spanclass="parameters">(<ahref="../Material.html"title="enum class in org.bukkit">Material</a> type,
<ahref="../TreeSpecies.html"title="enum class in org.bukkit">TreeSpecies</a> species,
<ahref="../block/BlockFace.html"title="enum class in org.bukkit.block">BlockFace</a> dir)</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">Tree</span><wbr><spanclass="parameters">(<ahref="../Material.html"title="enum class in org.bukkit">Material</a> type,
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-type"><ahref="../block/BlockFace.html"title="enum class in org.bukkit.block">BlockFace</a></span> <spanclass="element-name">getDirection</span>()</div>
<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> dir)</span></div>
<dd><code>dir</code> - - direction of end of log (BlockFace.SELF for no direction)</dd>
</dl>
</section>
</li>
<li>
<sectionclass="detail"id="toString()">
<h3>toString</h3>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-type"><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a></span> <spanclass="element-name">toString</span>()</div>
<dd><code><ahref="Wood.html#toString()">toString</a></code> in class <code><ahref="Wood.html"title="class in org.bukkit.material">Wood</a></code></dd>
</dl>
</section>
</li>
<li>
<sectionclass="detail"id="clone()">
<h3>clone</h3>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-type"><ahref="Tree.html"title="class in org.bukkit.material">Tree</a></span> <spanclass="element-name">clone</span>()</div>
<dd><code><ahref="Wood.html#clone()">clone</a></code> in class <code><ahref="Wood.html"title="class in org.bukkit.material">Wood</a></code></dd>