Package org.bukkit.block.data.type
Interface StructureBlock
'mode' represents the different modes in which this structure block may
operate.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic enum
Operating mode of a structure block. -
Method Summary
Modifier and TypeMethodDescriptiongetMode()
Gets the value of the 'mode' property.void
setMode
(StructureBlock.Mode mode) Sets the value of the 'mode' property.Methods inherited from interface org.bukkit.block.data.BlockData
clone, getAsString, getAsString, getMaterial, getSoundGroup, isFaceSturdy, isSupported, isSupported, matches, merge
-
Method Details
-
getMode
Gets the value of the 'mode' property.- Returns:
- the 'mode' value
-
setMode
Sets the value of the 'mode' property.- Parameters:
mode
- the new 'mode' value
-