Badge Type

Displays a tooltip with text upon being hovered with a Mouse cursor.

Type ID: origins:tooltip


Field Type Default Description
sprite Identifier The namespace, path and ID of the texture to use as the icon of the badge.
text Text Component The text to use in the tooltip.


    "type": "origins:tooltip",
    "sprite": "origins:textures/gui/badge/star.png",
    "text": "A gold star!"

This example will display the origins:textures/gui/badge/star.png texture alongside a text that says "A gold star!"