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
| Name | Type | Optional | Description |
|---|---|---|---|
exec |
exec | Incoming execution. | |
entity |
entity | The entity to operate on. | |
name |
string | ✓ | New custom name to set (leave disconnected to only read). |
Outputs
| Name | Type | Description |
|---|---|---|
exec |
exec | Continues after the operation. |
name |
string | Current custom name of the entity (empty if none). |
Properties
| Key | Type | Default | Description |
|---|---|---|---|
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.
- Spawn Entity → entity → Entity Name
- Set Custom Name to "&cZombie King"
- Enable Show Name Tag