Status Bar Texture

Power Type

Replaces the status bar textures (health, hunger, air, experience, etc.) with a specified sprite sheet.

Type ID: origins:status_bar_texture

Note

Custom status bar texture sprites are required to be placed within the assets/.../textures/gui/sprites directory of a resource pack in order for the game to recognize and register it properly.

By extension, to reference status bar texture sprites in general, the textures/gui/sprites directory and the .png file extension should be omitted, as it's already implied.

Note

See here for a list of vanilla status bar texture sprites that can be replaced via the texture_map field.

Fields

Field Type Default Description
texture Identifier DEPRECATED The identifier (including the textures directory and the .png file extension) of the status bar sprite sheet to replace the default one with (e.g: the vanilla status bar sprite sheet). Use texture_map instead.
texture_map Object optional An object with "key": "value" identifier pairs that determine which status bar texture sprite ("key") will be replaced by a new status bar texture sprite ("value").

Examples

{
    "type": "origins:status_bar_texture",
    "texture": "example:textures/gui/custom_thing.png"
}

This example will replace the status bar textures with the example:textures/gui/custom_thing.png (assets/example/textures/gui/custom_thing.png) sprite sheet.

{
    "type": "origins:status_bar_texture",
    "texture_map": {
        "minecraft:hud/heart/full": "example:hud/custom_heart/full",
        "minecraft:hud/heart/half": "example:hud/custom_heart/half"
    }
}

This example will replace the full (assets/minecraft/textures/gui/sprites/hud/heart/full.png), and half (assets/minecraft/textures/gui/sprites/hud/heart/half.png) heart status bar texture sprites with example:hud/custom_heart/full (assets/example/textures/gui/sprites/hud/custom_heart/full.png) and example:hud/custom_heart/half (assets/example/textures/gui/sprites/hud/custom_heart/half.png) custom status bar texture sprites respectively.