|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.bukkit.material.MaterialData
org.bukkit.material.Cake
public class Cake
| Constructor Summary | |
|---|---|
Cake()
|
|
Cake(int type)
Deprecated. Magic value |
|
Cake(int type,
byte data)
Deprecated. Magic value |
|
Cake(Material type)
|
|
Cake(Material type,
byte data)
Deprecated. Magic value |
|
| Method Summary | |
|---|---|
Cake |
clone()
|
int |
getSlicesEaten()
Gets the number of slices eaten from this cake |
int |
getSlicesRemaining()
Gets the number of slices remaining on this cake |
void |
setSlicesEaten(int n)
Sets the number of slices eaten from this cake |
void |
setSlicesRemaining(int n)
Sets the number of slices remaining on this cake |
String |
toString()
|
| Methods inherited from class org.bukkit.material.MaterialData |
|---|
equals, getData, getItemType, getItemTypeId, hashCode, setData, toItemStack, toItemStack |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Cake()
@Deprecated public Cake(int type)
public Cake(Material type)
@Deprecated
public Cake(int type,
byte data)
@Deprecated
public Cake(Material type,
byte data)
| Method Detail |
|---|
public int getSlicesEaten()
public int getSlicesRemaining()
public void setSlicesEaten(int n)
n - The number of slices eatenpublic void setSlicesRemaining(int n)
n - The number of slices remainingpublic String toString()
toString in class MaterialDatapublic Cake clone()
clone in class MaterialData
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||