Package org.quiltmc.qkl.wrapper.qsl.client.tooltip

Types

Link copied to clipboard
typealias TooltipCallback = (stack: ItemStack, player: PlayerEntity?, ctx: TooltipContext, lines: List<Text>) -> Unit
Link copied to clipboard
typealias TooltipComponentGenerator = (data: TooltipData) -> TooltipComponent?

Functions

Link copied to clipboard
fun EventRegistration.onItemTooltip(callback: TooltipCallback)
Link copied to clipboard
fun EventRegistration.onTooltipComponent(callback: TooltipComponentGenerator)