Package org.bukkit.block.data.type
Interface CommandBlock
- All Superinterfaces:
- BlockData,- Cloneable,- Directional
'conditional' denotes whether this command block is conditional or not, i.e.
 will only execute if the preceeding command block also executed successfully.
- 
Method SummaryModifier and TypeMethodDescriptionbooleanGets the value of the 'conditional' property.voidsetConditional(boolean conditional) Sets the value of the 'conditional' property.Methods inherited from interface org.bukkit.block.data.BlockDataclone, getAsString, getAsString, getMaterial, getSoundGroup, matches, mergeMethods inherited from interface org.bukkit.block.data.DirectionalgetFaces, getFacing, setFacing
- 
Method Details- 
isConditionalboolean isConditional()Gets the value of the 'conditional' property.- Returns:
- the 'conditional' value
 
- 
setConditionalvoid setConditional(boolean conditional) Sets the value of the 'conditional' property.- Parameters:
- conditional- the new 'conditional' value
 
 
-