#KubejsUI custom buttons

10 messages · Page 1 of 1 (latest)

uneven mirage
#

Can i chose the button type or create new button type? Classic minecraft buttons are little bit boring.

lunar leafBOT
#

Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!

west owl
#

you mean the action or the texture

uneven mirage
west owl
#

it's just an attribute called button, you give the path of the texture

west owl
#
            button.width = ui.width / 3.25;
            button.height = ui.height / 9;
            button.x = ui.width / 1.375 - button.width / 2;
            button.y = ui.height / 10;
            button.action = "minecraft:singleplayer";
            button.texture = "uimenu:textures/bh_singleplayer.png";
            button.hoverTexture = "uimenu:textures/bh_singleplayer_hover.png";
        });```
lunar leafBOT
#

@uneven mirage Unresolved thread still hasn't been closed! If your question was answered, please close this post with </ticket close:1054771505520717835> command!

uneven mirage
#

bruh i forgor raha