<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>
<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="MonsterEggs.html"title="class in org.bukkit.material">MonsterEggs</a></code>, <code><ahref="SmoothBrick.html"title="class in org.bukkit.material">SmoothBrick</a></code>, <code><ahref="Step.html"title="class in org.bukkit.material">Step</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 abstract class </span><spanclass="element-name type-name-label">TexturedMaterial</span>
<spanclass="extends-implements">extends <ahref="MaterialData.html"title="class in org.bukkit.material">MaterialData</a></span></div>
<divclass="col-constructor-name even-row-color"><code><ahref="#%3Cinit%3E(org.bukkit.Material)"class="member-name-link">TexturedMaterial</a><wbr>(<ahref="../Material.html"title="enum class in org.bukkit">Material</a> m)</code></div>
<divclass="col-constructor-name odd-row-color"><code><ahref="#%3Cinit%3E(org.bukkit.Material,byte)"class="member-name-link">TexturedMaterial</a><wbr>(<ahref="../Material.html"title="enum class in org.bukkit">Material</a> type,
<divclass="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4 method-summary-table-tab6"><code><ahref="../Material.html"title="enum class in org.bukkit">Material</a></code></div>
<divclass="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3 method-summary-table-tab6"><code>abstract <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html"title="class or interface in java.util"class="external-link">List</a><<ahref="../Material.html"title="enum class in org.bukkit">Material</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="#setMaterial(org.bukkit.Material)"class="member-name-link">setMaterial</a><wbr>(<ahref="../Material.html"title="enum class in org.bukkit">Material</a> material)</code></div>
<divclass="col-first even-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.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">TexturedMaterial</span><wbr><spanclass="parameters">(<ahref="../Material.html"title="enum class in org.bukkit">Material</a> m)</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">TexturedMaterial</span><wbr><spanclass="parameters">(<ahref="../Material.html"title="enum class in org.bukkit">Material</a> type,
<divclass="member-signature"><spanclass="modifiers">public abstract</span> <spanclass="return-type"><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/List.html"title="class or interface in java.util"class="external-link">List</a><<ahref="../Material.html"title="enum class in org.bukkit">Material</a>></span> <spanclass="element-name">getTextures</span>()</div>
<divclass="block">Retrieve a list of possible textures. The first element of the list
will be used as a default.</div>
<dlclass="notes">
<dt>Returns:</dt>
<dd>a list of possible textures for this block</dd>
</dl>
</section>
</li>
<li>
<sectionclass="detail"id="getMaterial()">
<h3>getMaterial</h3>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-type"><ahref="../Material.html"title="enum class in org.bukkit">Material</a></span> <spanclass="element-name">getMaterial</span>()</div>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-type">void</span> <spanclass="element-name">setMaterial</span><wbr><spanclass="parameters">(<ahref="../Material.html"title="enum class in org.bukkit">Material</a> material)</span></div>
<divclass="block">Sets the material this block is made of</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>material</code> - New material of this block</dd>
</dl>
</section>
</li>
<li>
<sectionclass="detail"id="getTextureIndex()">
<h3>getTextureIndex</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">Get material index from data</div>
<dlclass="notes">
<dt>Returns:</dt>
<dd>index of data in textures list</dd>
</dl>
</section>
</li>
<li>
<sectionclass="detail"id="setTextureIndex(int)">
<h3>setTextureIndex</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>
<dd><code>idx</code> - - index of data in textures list</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="MaterialData.html#toString()">toString</a></code> in class <code><ahref="MaterialData.html"title="class in org.bukkit.material">MaterialData</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="TexturedMaterial.html"title="class in org.bukkit.material">TexturedMaterial</a></span> <spanclass="element-name">clone</span>()</div>
<dd><code><ahref="MaterialData.html#clone()">clone</a></code> in class <code><ahref="MaterialData.html"title="class in org.bukkit.material">MaterialData</a></code></dd>