Package org.bukkit.block.data.type
Interface Jukebox
'has_record' is a quick flag to check whether this jukebox has a record
inside it.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanGets the value of the 'has_record' property.voidsetHasRecord(boolean hasRecord) Sets the value of the 'has_record' property.Methods inherited from interface org.bukkit.block.data.BlockData
clone, copyTo, createBlockState, getAsString, getAsString, getCollisionShape, getDestroySpeed, getDestroySpeed, getLightEmission, getMapColor, getMaterial, getPistonMoveReaction, getPlacementMaterial, getSoundGroup, isFaceSturdy, isOccluding, isPreferredTool, isRandomlyTicked, isReplaceable, isSupported, isSupported, matches, merge, mirror, requiresCorrectToolForDrops, rotate
-
Method Details
-
hasRecord
boolean hasRecord()Gets the value of the 'has_record' property.- Returns:
- the 'has_record' value
-
setHasRecord
void setHasRecord(boolean hasRecord) Sets the value of the 'has_record' property.- Parameters:
hasRecord- the new 'has_record' value
-