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
Sets the value of the 'mode' property.Methods inherited from interface org.bukkit.block.data.BlockData
clone, getAsString, getAsString, getLightEmission, getMaterial, getPistonMoveReaction, getSoundGroup, isFaceSturdy, isOccluding, isPreferredTool, isRandomlyTicked, isSupported, isSupported, matches, merge, requiresCorrectToolForDrops
-
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
-