Cake

public class Cake extends MaterialData

Constructors

Link copied to clipboard
public void Cake()
public void Cake(Material type)

Properties

Link copied to clipboard
public byte data

Functions

Link copied to clipboard
public Cake clone()
Link copied to clipboard
public boolean equals(Object obj)
Link copied to clipboard
Gets the Material that this MaterialData represents
Link copied to clipboard
public int getSlicesEaten()
Gets the number of slices eaten from this cake
Link copied to clipboard
public int getSlicesRemaining()
Gets the number of slices remaining on this cake
Link copied to clipboard
public int hashCode()
Link copied to clipboard
public void setSlicesEaten(int n)
Sets the number of slices eaten from this cake
Link copied to clipboard
public void setSlicesRemaining(int n)
Sets the number of slices remaining on this cake
Link copied to clipboard
public ItemStack toItemStack(int amount)
Creates getClassById new ItemStack based on this MaterialData
Link copied to clipboard
public String toString()