#How do i set a texture based on the actionbar text?

1 messages · Page 1 of 1 (latest)

torpid flint
#

i usually used the command /title @s actionbar adv.texture_path.textures/(texture path...)

#

but doesnt seem to work anymore

torpid flint
#

👉👈

spiral sun
#

Im not sure, but maybe

            {
                "advancement_icon_texture_path": {
                    "type": "image",
            "$atext": "$actionbar_text",
                    "texture": "($atext - 'adv.texture_path.')",
                    "layer": 1,
                    "anchor_from": "left_middle",
                    "anchor_to": "left_middle",
                    "offset": [
                        "4%",
                        0
                    ],
                    "size": [
                        22,
                        22
                    ],
                    "ignored": "(not ($atext > 'adv.texture_path.'))"
                }
            }```
wind folio
#

you should change that into a binding probably

#

afaik expressions work only in bindings

torpid flint
wind folio
#

You should probably pu the expression into a binding and then do texture: "#texture_path" e.g.

torpid flint
#

a friend of mine fixed it :P