Badge

Data Type

An Object which displays an icon just after the name of a power in the power list from the Origins GUI.

Fields

Field Type Default Description
sprite Identifier ID of the texture to be displayed as an icon. See the List of sprites for a list of files included by default in the mod.
text String The string to display when you hover over the icon.

Examples

"badges": [
    {
        "sprite": "minecraft:textures/block/dirt.png",
        "text": "I'm a dirt badge!"
    }
]

This example displays a [flat] Dirt texture icon.

"badges": [
    {
        "sprite": "origins:textures/gui/badge/star.png",
        "text": "Look mum, I have a star!"
    },
    {
        "sprite": "origins:textures/gui/badge/info.png",
        "text": "And yes, you can have multiple badges!"
    }
]

This example displays two badges: one that has a star icon, and one that has an 'i' icon