appendItems

FabricItemGroupBuilder appendItems(Consumer<List<ItemStack>> stacksForDisplay)

This allows for a custom list of items to be displayed in a tab, this enabled tabs to be created with a custom set of items.

Return

a reference to the FabricItemGroupBuilder

Parameters

stacksForDisplay

Add ItemStack's to this list to show in the ItemGroup

Sources

jvm source
Link copied to clipboard