Package org.bukkit.block.data.type
Interface Cake
'bites' represents the amount of bites which have been taken from this slice
 of cake.
 
A value of 0 indicates that the cake has not been eaten, whilst a value of
A value of 0 indicates that the cake has not been eaten, whilst a value of
getMaximumBites() indicates that it is all gone :(- 
Method SummaryMethods inherited from interface org.bukkit.block.data.BlockDataclone, getAsString, getAsString, getMaterial, getSoundGroup, matches, merge
- 
Method Details- 
getBitesint getBites()Gets the value of the 'bites' property.- Returns:
- the 'bites' value
 
- 
setBitesvoid setBites(int bites) Sets the value of the 'bites' property.- Parameters:
- bites- the new 'bites' value
 
- 
getMaximumBitesint getMaximumBites()Gets the maximum allowed value of the 'bites' property.- Returns:
- the maximum 'bites' value
 
 
-