Icon

You cannot use glyphs / images from other plugins. That's why you have to use the plugins built-in icon system.

Icons allow you to add your own custom textures into the tooltip text.

Base configuration

icon-id:
   path: "tooltips:icon.png"
   ascent: 2
   height: 8

All properties of the icon configuration are required.

path

Path to the texture of this icon inside .../pack

ascent

Vertical offset of this texture. Bigger number = higher, lower = lower.

height

Size of this texture. Preferably must be the real pixel height of the texture divided by two.

( if the texture is 16 pixels high, the height has to preferably be 8)

Usage

Supported in all tooltip related text. Icons can be used by entering their placeholder:

{icon-id}

Default icons

Images

A few default icons are included:

/tt sendtheme Septicuss default-one-line Default icons -> {gem} {box} {right-click}

Spaces

You can also use predefined spaces to move your text around

The format is: {+x}- for positive offset and {-x} - for negative offset, where x is pixels

/tt sendtheme Septicuss default-one-line Default icons -> {-16}{gem} {box} {right-click}

Last updated