Hearts

How to configure and change heart textures.

Configuring Config

Configuring hearts is very similar to configuring the health bars. However with hearts, there are not as many moving pieces. To replace the textures for a heart, go into the default.json file and change the file value, or change the image directly. If you adjust the sizing, remember to change the height and ascent values appropriately, as well as the spacing.

Here is the current config for hearts.

config.yml
hearts:
  vertical-offset: 0.4 # how many blocks above the entity the name tag is
  absorption-vertical-offset: 0.5 # the vertical offset of the absorption hearts
  bubbles:
    vertical-offset: 0.1 # the vertical offset of the bubble hearts
    absorption-vertical-offset: 0.25 # the vertical offset of the bubble hearts when absorption is active
  • vertical-offset: The vertical offset of the hearts.

  • absorption-vertical-offset: The additional vertical offset of the absorption hearts.

  • bubbles:

    • vertical-offset: The vertical offset of the bubble hearts

    • absorption-vertical-offset: The additional vertical offset of the bubbles when absorption hearts are active.

Bubbles

Within the heart system are bubbles, or aspiration. It shows how much air players have left. Just like on your hotbar, it is animated. You can adjust the bubbles in the same way you adjust the other heart textures.

Last updated