This is NOT a duplicate of MC-298405
The “hover_event” does work for “boolean” and “text” input controls' label.
Reproduce:
For “single_option”: dialog show @p {type:"notice",title:"",inputs:[{type:"single_option",key:"",label:{text:"opt",hover_event:{action:"show_item",id:"apple"}},options:[{id:"p1",display:{text:"p1",hover_event:{action:"show_text",value:"hoverP1"}}},{id:"p2",display:{text:"p2",hover_event:{action:"show_text",value:"hoverP2"}}}]}]}
The command above is too long to type into chat, use command block instead.
For “number_range”: dialog show @p {type:"notice",title:"",inputs:[{type:"number_range",key:"",label:{text:"slide",hover_event:{action:"show_text",value:"slide"}},start:0,end:10}]}
Expected:
For “single_option”: Show a tooltip of apple when hovering cursor over label “opt", text “hoverP1" when over option “p1" and text “hoverP2" when over option “p2" , or at least something.
For “number_range”: Show “slide" when hovering over the slide.
Actual:
Nothing
Comments 0
No comments.