Text show item hover action

How do I show an item in a Text object? The only constructor I can find for HoverEvent.ShowItem is private, and I don’t know what factory or whatever it uses. Halp pls

I believe it’s TextActions.showText

Jesus, this API confuses me. Still better than Bukkit though.

1 Like