Entity paper/entity_name

Entity Name

Gets or sets the custom display name of an entity. Supports & colour codes.

Note: Supports & colour codes (e.g. &cRed Boss). Connect a name input to override the property.

Inputs

NameTypeOptionalDescription
exec exec Incoming execution.
entity entity The entity to operate on.
name string New custom name to set (leave disconnected to only read).

Outputs

NameTypeDescription
exec exec Continues after the operation.
name string Current custom name of the entity (empty if none).

Properties

KeyTypeDefaultDescription
name string "" Name to set. Leave blank to only read.
visible boolean "true" Whether the name tag is always visible.

Examples

Name a spawned zombie

Spawn a zombie and give it a red custom name.

  1. Spawn Entity → entity → Entity Name
  2. Set Custom Name to "&cZombie King"
  3. Enable Show Name Tag