#How do i set a texture based on the actionbar text?
1 messages · Page 1 of 1 (latest)
👉👈
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.'))"
}
}```
you should change that into a binding probably
afaik expressions work only in bindings
which line?
the texture: atext - 'adv...'
You should probably pu the expression into a binding and then do texture: "#texture_path" e.g.
a friend of mine fixed it :P