Package org.bukkit.block.data.type
Interface StructureBlock
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
StructureBlock.Mode
Operating mode of a structure block.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StructureBlock.Mode
getMode()
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, matches, merge
-
-
-
-
Method Detail
-
getMode
@NotNull StructureBlock.Mode getMode()
Gets the value of the 'mode' property.- Returns:
- the 'mode' value
-
setMode
void setMode(@NotNull StructureBlock.Mode mode)
Sets the value of the 'mode' property.- Parameters:
mode
- the new 'mode' value
-
-