... | @@ -145,7 +145,7 @@ This documents fields under the `boss-bar` configuration node. |
... | @@ -145,7 +145,7 @@ This documents fields under the `boss-bar` configuration node. |
|
| `color` | `YELLOW` | Which color is used for passthrough boss bars. |
|
|
| `color` | `YELLOW` | Which color is used for passthrough boss bars. |
|
|
|
|
|
|
# Vanilla HUD Elements
|
|
# Vanilla HUD Elements
|
|
`elements` allows users to configure the appearance and location of vanilla HUD elements. Here is a table describing how each element can be controlled:
|
|
`elements` allows users to configure the appearance and location of vanilla HUD elements. This table describes how each element can be controlled:
|
|
|
|
|
|
| Element | Description | Can Move? | Can Hide? |
|
|
| Element | Description | Can Move? | Can Hide? |
|
|
| ------- | ----------- | --------- | --------- |
|
|
| ------- | ----------- | --------- | --------- |
|
... | @@ -168,6 +168,7 @@ elements: |
... | @@ -168,6 +168,7 @@ elements: |
|
VEHICLE_HEALTH: default
|
|
VEHICLE_HEALTH: default
|
|
```
|
|
```
|
|
|
|
|
|
|
|
Any element can have this value.
|
|
</details>
|
|
</details>
|
|
|
|
|
|
<details>
|
|
<details>
|
... | @@ -181,6 +182,8 @@ elements: |
... | @@ -181,6 +182,8 @@ elements: |
|
```
|
|
```
|
|
|
|
|
|
With the generated resource pack, the player's health and hunger bars will now be invisible.
|
|
With the generated resource pack, the player's health and hunger bars will now be invisible.
|
|
|
|
|
|
|
|
Only elements that can be hidden can use `hidden`.
|
|
</details>
|
|
</details>
|
|
|
|
|
|
<details>
|
|
<details>
|
... | @@ -202,6 +205,8 @@ elements: |
... | @@ -202,6 +205,8 @@ elements: |
|
```
|
|
```
|
|
|
|
|
|
This results in an experience number always in front of the HUD but vertically offset downward.
|
|
This results in an experience number always in front of the HUD but vertically offset downward.
|
|
|
|
|
|
|
|
Only elements that can be moved can use `front`.
|
|
</details>
|
|
</details>
|
|
|
|
|
|
<details>
|
|
<details>
|
... | @@ -223,6 +228,7 @@ elements: |
... | @@ -223,6 +228,7 @@ elements: |
|
y: 20.0
|
|
y: 20.0
|
|
```
|
|
```
|
|
|
|
|
|
|
|
Only elements that can be moved can use `behind`.
|
|
</details>
|
|
</details>
|
|
|
|
|
|
# HUD Updating
|
|
# HUD Updating
|
... | | ... | |