textures

fun textures(tex: Identifier, disabled: Identifier, highlighted: Identifier): CustomButtonWidget.Builder

Defines the texture set used for rendering the button background

Return

this builder

Author

fzzyhmstrs

Since

0.6.0

Parameters

tex

Identifier the "normal" texture, rendered when the button is active but not focused

disabled

Identifier rendered when the button is disabled. This has higher priority than highlighted, so will render focused or not.

highlighted

Identifier rendered then the button is active and focused.