icon

FabricItemGroupBuilder icon(Supplier<ItemStack> stackSupplier)

This is used to add an icon to to the item group.

Return

a reference to the FabricItemGroupBuilder

Parameters

stackSupplier

the supplier should return the item stack that you wish to show on the tab

Sources

jvm source
Link copied to clipboard