TextComponent - Entity Name (Expression) — SkBee

Addon: SkBee · Category: Expression · Since: 2.4.0

Syntax

[the] component entity [custom|display] name of %entities%

Description

Get/set the component name of an entity. - `name` = The vanilla name of an Entity, or the player's profile name (cannot be changed). - `custom name` = The custom name of an entity, will only show when the player's crosshair is pointed at them. - `display name` = Same as custom name, but will always show.

Examples

set component entity name of target entity to translate component from "entity.minecraft.llama"

View source