getName

public abstract String getName()

Gets the name of this CommandBlock. The name is used with commands that this CommandBlock executes. This name will never be null, and by default is "@".

Return

Name of this CommandBlock.