<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">Cake</span>
<spanclass="extends-implements">extends <ahref="MaterialData.html"title="class in org.bukkit.material">MaterialData</a></span></div>
<divclass="col-constructor-name odd-row-color"><code><ahref="#%3Cinit%3E(org.bukkit.Material)"class="member-name-link">Cake</a><wbr>(<ahref="../Material.html"title="enum class in org.bukkit">Material</a> type)</code></div>
<divclass="col-constructor-name even-row-color"><code><ahref="#%3Cinit%3E(org.bukkit.Material,byte)"class="member-name-link">Cake</a><wbr>(<ahref="../Material.html"title="enum class in org.bukkit">Material</a> type,
<divclass="block">Sets the number of slices remaining on this cake</div>
</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.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">Cake</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">Cake</span><wbr><spanclass="parameters">(<ahref="../Material.html"title="enum class in org.bukkit">Material</a> type,
<divclass="block">Sets the number of slices remaining on this cake</div>
<dlclass="notes">
<dt>Parameters:</dt>
<dd><code>n</code> - The number of slices remaining</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="Cake.html"title="class in org.bukkit.material">Cake</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>