Name | <ElementTag.on_hover[<message>].type[<type>]> |
Returns | ElementTag |
Description | Adds a hover message to the element, which makes the element display the input hover text when the mouse is left over it.
Available hover types: SHOW_TEXT, SHOW_ACHIEVEMENT, SHOW_ITEM, or SHOW_ENTITY. Note: for "SHOW_ITEM", replace the text with a valid ItemTag. For "SHOW_ENTITY", replace the text with a valid spawned EntityTag (requires F3+H to see entities). Note that this is a magic Denizen tool - refer to Denizen Text Formatting. For show_text, prefer ElementTag.on_hover For show_item, prefer ElementTag.hover_item |
Group | text manipulation |
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/bukkit/BukkitElementExtensions.java#L492 |