minuit

ItemPickerComponent

Lets the player pick any item in the game. Type to search by name, @mod for a mod, #tag for a tag.

Java

Inside a PanelComponent constructor. The same call draws in every family and chroma.

Java
add(new ItemPickerComponent(at(new Box("items", 12, 26, 276, 142)), words, this::setIcon)
        .selected(config.icon)
        .blocksOnly());

Variants

Search

Type to search, click the sort button to reorder.

ItemPickerComponent, search: Type to search, click the sort button to reorder.

Empty

A search with no match.

ItemPickerComponent, empty: A search with no match.