GuiTextureBuilder

Properties

Link copied to clipboard

The entry of the element being built.

Functions

Link copied to clipboard
abstract fun inventoryLabel(inventoryLabel: Boolean)

Enables or disables the "Inventory" text that is displayed above the player's inventory slots. Defaults to true, meaning the text is shown.

Link copied to clipboard
abstract fun tags(vararg tags: RegistryEntrySet.Nova.Tag<GuiTexture>)

Adds the entry of the element being build to the given tags.

Link copied to clipboard
abstract fun texture(texture: GuiTextureLayoutBuilder.() -> Unit)

Configures the texture.

Link copied to clipboard
abstract fun title(title: GuiTextureTitleBuilder.() -> Unit)

Configures the title lines. If this function is not called, the title consists of one dynamic line at the default position.