itemGroupOf

fun itemGroupOf(    id: Identifier,     displayText: Text? = null,     iconSupplier: () -> ItemStack? = null,     itemListModifier: (MutableList<ItemStack>) -> Unit? = null): ItemGroup

Create an ItemGroup with the given id and optional other information.

  • If displayText is not null, it will be used as the display name for the group.

  • If iconSupplier is not null, it will be used to create the icon for the group.

  • If itemListModifier is not null, it will be used to modify the items shown in the group.

Author

sschr15