# Display Configurations

Displays are visual elements (text, item, block, entity) saved in `displays/<name>.json`. They are referenced by holograms. All types share:

* **rotation**: Array \[x, y, z] (degrees).
* **leftRotation**: Array \[x, y, z, w] (quaternion).
* **rightRotation**: Array \[x, y, z, w] (quaternion).
* **scale**: Array \[x, y, z] (default \[1,1,1]).
* **billboardMode**: String (fixed, horizontal, vertical, center; except entity).
* **conditionalPlaceholder**: String (e.g., "%player:group% == admin").

## Text Display

For messages with formatting.

### Properties

* **lines**: Array of strings (multi-line; `<gr #ff0000 #00ff00>Gradient</gr>`).
* **lineWidth**: Int (1-200).
* **backgroundColor**: String (hex with alpha, "FFFFFF80").
* **textOpacity**: Int (0-100).
* **shadow**: Bool.
* **seeThrough**: Bool.
* **alignment**: String (left, right, center).

### Example

```json
{
  "type": "text",
  "lines": ["Hello!", "%player:name%"],
  "lineWidth": 100,
  "backgroundColor": "FFFFFF80",
  "textOpacity": 100,
  "shadow": true,
  "seeThrough": false,
  "alignment": "center",
  "rotation": [0, 0, 0],
  "scale": [1, 1, 1],
  "billboardMode": "center",
  "conditionalPlaceholder": "%server_tps% > 19"
}
```

## Item Display

3D items.

### Properties

* **id**: String (e.g., "minecraft:diamond").
* **itemDisplayType**: String (none, thirdperson\_lefthand, etc., default: ground).
* **customModelData**: Int (>=1).

### Example

```json
{
  "type": "item",
  "id": "minecraft:diamond",
  "itemDisplayType": "gui",
  "customModelData": 1,
  "rotation": [0, 90, 0],
  "scale": [2, 2, 2],
  "billboardMode": "fixed"
}
```

## Block Display

3D blocks.

### Properties

* **id**: String (e.g., "minecraft:stone").
* **properties**: Map of strings (e.g., `{"facing": "north"}`).

### Example

```json
{
  "type": "block",
  "id": "minecraft:stone",
  "properties": {
    "facing": "north"
  },
  "rotation": [0, 0, 0],
  "scale": [1, 1, 1],
  "billboardMode": "center"
}
```

## Entity Display

Mobs/entities.

### Properties

* **id**: String (e.g., "minecraft:zombie").
* **glow**: Bool.
* **pose**: String (STANDING, SNEAKING).

### Example

```json
{
  "type": "entity",
  "id": "minecraft:zombie",
  "glow": true,
  "pose": "STANDING",
  "rotation": [0, 180, 0],
  "scale": [0.5, 0.5, 0.5]
}
```

See Overview for global setup, [Hologram Configurations](https://github.com/Furqit/HoloDisplays/blob/main/docs/configuration/broken-reference/README.md) for grouping.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://holodisplays.furq.dev/configuration/display-configurations.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
