WailaInfoProvider

Provides the WailaInfo (icon and text) for a player looking at a block.

Properties

Link copied to clipboard

The blocks this provider applies to.

Link copied to clipboard
Link copied to clipboard
open val id: Key
Link copied to clipboard
open val key: Key
open override val key: NamespacedKey
Link copied to clipboard

The priority of this provider. If multiple providers apply to the same block, the one with the highest priority will be chosen.

Functions

Link copied to clipboard
fun getInfo(player: Player, block: Block, blockState: S): WailaInfo
Link copied to clipboard
open override fun getKey(): NamespacedKey
Link copied to clipboard
open override fun key(): Key