# Hologram Configurations

Holograms group displays and are saved in `holograms/<name>.json`. They define position, properties, and display list.

## Format

```json
{
  "displays": [
    // Array of display lines
    {
      "name": "display_id", // Display from displays/ or API
      "offset": [0.0, 0.0, 0.0] // Relative position [x, y, z]
    }
  ],
  "position": {
    "world": "minecraft:overworld", // Dimension ID
    "x": 100.5,
    "y": 64.0,
    "z": 200.0
  },
  "rotation": [0.0, 0.0, 0.0], // Hologram rotation
  "leftRotation": [0.0, 0.0, 0.0, 1.0], // Left rotation (quaternion)
  "rightRotation": [0.0, 0.0, 0.0, 1.0], // Right rotation (quaternion)
  "scale": [1.0, 1.0, 1.0], // Overall scale
  "billboardMode": "center", // fixed, horizontal, vertical, center
  "updateRate": 20, // Ticks
  "viewRange": 48.0, // Blocks (1-128)
  "conditionalPlaceholder": "%player:group% == admin" // Optional
}
```

## Properties

* **displays**: List of objects with `name` (display ID) and `offset` \[x,y,z].
* **position**: Object with `world` (string), `x/y/z` (floats).
* **rotation/scale**: Arrays \[x, y, z].
* **leftRotation/rightRotation**: Arrays \[x, y, z, w] (quaternions).
* **billboardMode**: String (applies to displays).
* **updateRate**: Int (lower = more frequent updates).
* **viewRange**: Double (visibility distance).
* **conditionalPlaceholder**: String or omitted (always visible).

## Integration with PlaceholderAPI

Use placeholders in display lines or conditions (e.g., `%player:health%`). Holograms refresh based on updateRate.

## Example

`holograms/welcome.json`:

```json
{
  "displays": [
    {
      "name": "welcome_text",
      "offset": [0, 0, 0]
    },
    {
      "name": "welcome_item",
      "offset": [0, -0.5, 0]
    }
  ],
  "position": {
    "world": "minecraft:overworld",
    "x": 0,
    "y": 100,
    "z": 0
  },
  "scale": [1, 1, 1],
  "billboardMode": "center",
  "updateRate": 20,
  "viewRange": 32,
  "conditionalPlaceholder": null
}
```

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


---

# 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/hologram-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.
