entry

Adds an entry to the UI

Return

This Builder

Parameters

entry

The entry to add


fun entry(slot: Int, item: ItemStack, action: (UiAction) -> Unit): SimpleUi.Builder

Adds an entry to the UI

Return

This Builder

Parameters

slot

The slot of the entry

item

The item of the entry

action

The action of the entry


fun entry(slot: Int, item: ItemStack): SimpleUi.Builder

Adds an entry to the UI with no action

Return

This Builder

Parameters

slot

The slot of the entry

item

The item of the entry