Controllable

Controllable

10M Downloads

Show controller glyphs when using keybind tags in tellraw and more

realSquidCoder opened this issue ยท 2 comments

commented

What i mean by this is the following:

If I do tellraw @s {keybind:"key.jump"} it shows, by default Space but it would be nice if it could show this:
Image
or rather just the A button glyph. Even nicer would be if it could dynamically update to use the button glyphs only if you're using a controller (like how the controller cursor is dynamically shown)

commented

Here is how you would do this.
/tellraw @a [{"text":"!","font":"controllable:buttons"}, {"text":" "}, {"translate":"controllable.action.jump","font":"minecraft:default"}]

commented

As for the other functionality, you wouldn't be able to do that with commands