Interface CommandBlock

All Superinterfaces:
BlockData, Cloneable, Directional

public interface CommandBlock extends 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 Details

    • isConditional

      boolean isConditional()
      Gets the value of the 'conditional' property.
      Returns:
      the 'conditional' value
    • setConditional

      void setConditional(boolean conditional)
      Sets the value of the 'conditional' property.
      Parameters:
      conditional - the new 'conditional' value