Skip to content

Creating a Hotbar Highlight

Sygikal edited this page Jun 10, 2025 · 1 revision

Overview

Hotbar Highlights are data-driven and can be interacted with through the /hhs command.

Registering

Datapack file in hotbar_highlight

data/custom_hotbar_highlight/hotbar_highlight/custom.json

{
  "texture": "hotbarapi:textures/gui/hotbar.png",
  "color": "#FF0000"
}
  • texture: (Optional) The texture to use. If not specified it will use the vanilla one.
  • color: Hex color to tint it with.

Commands

  • /hhs <target> <add> <highlight_id> <slot_numer>: Highlights the targets specified slot with <highlight_id>.
  • /hhs <target> <item> <item_id> <highlight_id>: Highlights whatever slot the target has <item_id> in.

Clone this wiki locally