Package org.bukkit.block.data.type
Interface RespawnAnchor
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetCharges()Gets the value of the 'charges' property.intgetMaximumCharges()Gets the maximum allowed value of the 'charges' property.voidsetCharges(int charges)Sets the value of the 'charges' property.-
Methods inherited from interface org.bukkit.block.data.BlockData
clone, getAsString, getAsString, getMaterial, matches, merge
-
-
-
-
Method Detail
-
getCharges
int getCharges()
Gets the value of the 'charges' property.- Returns:
- the 'charges' value
-
setCharges
void setCharges(int charges)
Sets the value of the 'charges' property.- Parameters:
charges- the new 'charges' value
-
getMaximumCharges
int getMaximumCharges()
Gets the maximum allowed value of the 'charges' property.- Returns:
- the maximum 'charges' value
-
-