<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>
<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">Mushroom</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">Mushroom</a><wbr>(<ahref="../Material.html"title="enum class in org.bukkit">Material</a> shroom)</code></div>
<divclass="block">Constructs a brown/red mushroom block with all sides set to pores.</div>
</div>
<divclass="col-constructor-name odd-row-color"><code><ahref="#%3Cinit%3E(org.bukkit.Material,byte)"class="member-name-link">Mushroom</a><wbr>(<ahref="../Material.html"title="enum class in org.bukkit">Material</a> shroom,
<divclass="col-constructor-name even-row-color"><code><ahref="#%3Cinit%3E(org.bukkit.Material,org.bukkit.block.BlockFace)"class="member-name-link">Mushroom</a><wbr>(<ahref="../Material.html"title="enum class in org.bukkit">Material</a> shroom,
<ahref="../block/BlockFace.html"title="enum class in org.bukkit.block">BlockFace</a> capFace)</code></div>
<divclass="block">Constructs a brown/red mushroom cap block with the specified face or
faces set to cap texture.</div>
</div>
<divclass="col-constructor-name odd-row-color"><code><ahref="#%3Cinit%3E(org.bukkit.Material,org.bukkit.material.types.MushroomBlockTexture)"class="member-name-link">Mushroom</a><wbr>(<ahref="../Material.html"title="enum class in org.bukkit">Material</a> shroom,
<ahref="types/MushroomBlockTexture.html"title="enum class in org.bukkit.material.types">MushroomBlockTexture</a> texture)</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="types/MushroomBlockTexture.html"title="enum class in org.bukkit.material.types">MushroomBlockTexture</a></code></div>
<divclass="block">Gets the mushroom texture of this block.</div>
</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/util/Set.html"title="class or interface in java.util"class="external-link">Set</a><<ahref="../block/BlockFace.html"title="enum class in org.bukkit.block">BlockFace</a>></code></div>
<divclass="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4 method-summary-table-tab6"><code><ahref="#isFacePainted(org.bukkit.block.BlockFace)"class="member-name-link">isFacePainted</a><wbr>(<ahref="../block/BlockFace.html"title="enum class in org.bukkit.block">BlockFace</a> face)</code></div>
<divclass="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4 method-summary-table-tab6"><code><ahref="#setBlockTexture(org.bukkit.material.types.MushroomBlockTexture)"class="member-name-link">setBlockTexture</a><wbr>(<ahref="types/MushroomBlockTexture.html"title="enum class in org.bukkit.material.types">MushroomBlockTexture</a> texture)</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="#setFacePainted(org.bukkit.block.BlockFace,boolean)"class="member-name-link">setFacePainted</a><wbr>(<ahref="../block/BlockFace.html"title="enum class in org.bukkit.block">BlockFace</a> face,
<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">Mushroom</span><wbr><spanclass="parameters">(<ahref="../Material.html"title="enum class in org.bukkit">Material</a> shroom)</span></div>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="element-name">Mushroom</span><wbr><spanclass="parameters">(<ahref="../Material.html"title="enum class in org.bukkit">Material</a> shroom,
<ahref="../block/BlockFace.html"title="enum class in org.bukkit.block">BlockFace</a> capFace)</span></div>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="element-name">Mushroom</span><wbr><spanclass="parameters">(<ahref="../Material.html"title="enum class in org.bukkit">Material</a> shroom,
<ahref="types/MushroomBlockTexture.html"title="enum class in org.bukkit.material.types">MushroomBlockTexture</a> texture)</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">Mushroom</span><wbr><spanclass="parameters">(<ahref="../Material.html"title="enum class in org.bukkit">Material</a> shroom,
<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="member-signature"><spanclass="modifiers">public</span> <spanclass="return-type"><ahref="types/MushroomBlockTexture.html"title="enum class in org.bukkit.material.types">MushroomBlockTexture</a></span> <spanclass="element-name">getBlockTexture</span>()</div>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-type">void</span> <spanclass="element-name">setBlockTexture</span><wbr><spanclass="parameters">(<ahref="types/MushroomBlockTexture.html"title="enum class in org.bukkit.material.types">MushroomBlockTexture</a> texture)</span></div>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-type">boolean</span> <spanclass="element-name">isFacePainted</span><wbr><spanclass="parameters">(<ahref="../block/BlockFace.html"title="enum class in org.bukkit.block">BlockFace</a> face)</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="return-type">void</span> <spanclass="element-name">setFacePainted</span><wbr><spanclass="parameters">(<ahref="../block/BlockFace.html"title="enum class in org.bukkit.block">BlockFace</a> face,
<divclass="deprecation-comment">Use MushroomBlockType cap options</div>
</div>
<divclass="block">Set a face of the block to be painted or not. Note that due to the
nature of how the data is stored, setting a face painted or not is not
guaranteed to leave the other faces unchanged.</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>face</code> - The face to paint or unpaint.</dd>
<dd><code>painted</code> - True if you want to paint it, false if you want the
pores to show.</dd>
</dl>
</section>
</li>
<li>
<sectionclass="detail"id="getPaintedFaces()">
<h3>getPaintedFaces</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/util/Set.html"title="class or interface in java.util"class="external-link">Set</a><<ahref="../block/BlockFace.html"title="enum class in org.bukkit.block">BlockFace</a>></span> <spanclass="element-name">getPaintedFaces</span>()</div>
<dd>A set of all faces that are currently painted (an empty set if
it is a stem)</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="Mushroom.html"title="class in org.bukkit.material">Mushroom</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>