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, copyTo, createBlockState, getAsString, getAsString, getCollisionShape, getDestroySpeed, getDestroySpeed, getLightEmission, getMapColor, getMaterial, getPistonMoveReaction, getPlacementMaterial, getSoundGroup, isFaceSturdy, isOccluding, isPreferredTool, isRandomlyTicked, isSupported, isSupported, matches, merge, mirror, requiresCorrectToolForDrops, rotate
-
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
-