| Name | hologram_lines |
| Object | NPCTag |
| Input | ListTag |
| Related Tags | <NPCTag.hologram_lines> Returns the list of hologram lines attached to an NPC.
|
| Description | Sets the NPC's hologram lines.
Each item in the list can be either: - An ElementTag for a permanent hologram line - A map with "text" (ElementTag) and "duration" (DurationTag) keys for a temporary hologram line that will disappear after the specified duration When every item is an ElementTag and the NPC already has the same number of lines, the existing lines are updated in place, so the hologram (and the NPC's name) does not briefly disappear. Lines updated this way keep whether they were temporary. |
| Source | https://github.com/MINEZ/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/NPCTag.java#L1310 |