We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The complete code can be found at ui.mcdoc
struct UI { type: #[dispatcher_key="floating_ui:ui"] string, name?: string, tag?: string, ...floating_ui:ui[[type]] } struct Control { x?: double, y?: double, size?: [float]@2, rotation?: [float]@4, display?: enum(string){ none = "none", thirdperson_lefthand = "thirdperson_lefthand", thirdperson_righthand = "thirdperson_righthand", firstperson_lefthand = "firstperson_lefthand", firstperson_righthand = "firstperson_righthand", head = "head", gui = "gui", ground = "ground", fixed = "fixed" }, item?: Item, move_in?: string, move_out?: string, anim?: ControlAnimate, children?: [int[]@4] } dispatch floating_ui:ui[panel] to struct Panel { ...Control, child: [Control] }
When I type data modify storage floating_ui:input data set value {“type”:"panel",}, there should be suggestion for members defined in struct Panel
data modify storage floating_ui:input data set value {“type”:"panel",}
Panel
There are only members defined in struct UI can be auto-complete:
UI
The text was updated successfully, but these errors were encountered:
Minimal reproduction steps::
dispatch minecraft:storage["floating_ui:input"] to struct { data: UI, } struct UI { type: #[dispatcher_key="floating_ui:ui"] string, name?: string, ...floating_ui:ui[[type]], } dispatch floating_ui:ui[panel] to struct Panel { child: int, }
data merge storage floating_ui:input {data:{type:"button",}}
name
child
data modify storage floating_ui:input data set value {type:"panel",}
Sorry, something went wrong.
No branches or pull requests
The complete code can be found at ui.mcdoc
When I type
data modify storage floating_ui:input data set value {“type”:"panel",}
, there should be suggestion for members defined in structPanel
There are only members defined in struct
UI
can be auto-complete:The text was updated successfully, but these errors were encountered: