getName

public abstract String getName()(source)

Custom entity or block entity name (renamed in an anvil or with a name tag)