setName

public abstract void setName(String name)

Sets the name of this CommandBlock. The name is used with commands that this CommandBlock executes. Setting the name to null is the same as setting it to "@".

Parameters

name

New name for this CommandBlock.