Package org.bukkit.block.data.type
Interface StructureBlock
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classStructureBlock.ModeOperating mode of a structure block.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StructureBlock.ModegetMode()Gets the value of the 'mode' property.voidsetMode(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
-
-