setName

public abstract void setName(String name)

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

Parameters

name

New name for this CommandMinecart.