Configuring reserved button
Filters API is a complete library.
Last updated
Was this helpful?
Filters API is a complete library.
Last updated
Was this helpful?
Filters API has a third button for all tabs. Usually, it can be used to open the options menu.
The core of the button is onPress
, the shows of the button depend on whether onPress
is null
.
Call FilterBuilder.setReservedButton(ItemGroup, Text, PressAction)
to add the "Reserved button".
Icon UV is not available in 1.20.6 or above.
By default, the icon of the button is the icon that the showcase image above shows. If you want the customized icon, call FilterBuilder.setReservedButton(ItemGroup, Text, PressAction, Identifier, int, int)