iconProvider

abstract fun iconProvider(iconGetter: (tags: Set<RegistryEntrySet.Paper.Tag<BlockType>>) -> Set<Key>)

Configures the icon provider logic.

The lambda should return the tool textures corresponding to the given block tags as a Key, or null if this provider cannot provide an icon for the given parameters. Note that textures which are intended to be used for these icons need to be added to the texture icon font via TextureIconContent.addIcons using a custom resource pack task.