mojira.dev
MCPE-63339

Custom_UI, Official Turn-Based RPG DEMO work inproperly with 1.14.30

I'm trying to get some examples to learn about MC Add-ons Programming. However, the package of official turned-based RPG demo (package version 0.0.7, offered on the minecraft.gamepedia.com, an example of Custom HTML UI) doesn't work. When I loaded the .mcworld file offered and entered the world, it properly displayed two buttons through Custom HTML UI, but the right game process just couldn't go on. After I pressed either of the buttons, nothing happened.

I tried to look through the code of this demo and made some tests. I built a new resource&behavior pack to test Custom HTML UI, it appears that onClick events in custom .html file can't be triggered, but mouseover events can (other events yet haven't been tested on my PC). When I pointed to the element, it runs my script as ordered (like changing the innerHTML).

Moreover, the minecraft:unload_ui event may well not be able to properly triggered. I tried to change the required event of the RPG demo from click to mouseover, but still, nothing happened.

Is my steps wrong? Or is it a particular error only with my computer? Is there any methods to get rid of this frastrating occasion? Please reply, thx!

Below here's the captured image of the start interface of the RPG demo reffered to.

 

Attachments

Comments 4

This is the problem which I encountered now!
click event doesn't work but mouserover works in Turn-Based DEMO.
I also tried making own addon but result was the same.

I hope this issue will be resolved soon...

same problem in 1.16.1

but I found that onClick event can be triggered when I set is_showing_menu = true

Thank you for your report!
However, this issue has been temporarily resolved as Awaiting Response

Is this still an issue in the latest version?

If it is, please be sure to include steps to reproduce the problem:

Steps to Reproduce:
1.
2.
3.

Observed Results:
(Briefly describe what happens)

Expected Results:
(Briefly describe what should happen)

If your ticket does not look like the example given here, then it's likely to be closed as incomplete.

This ticket will automatically reopen when you reply.

Quick Links:
📓 Issue Guidelines – 💬 Mojang Support – 📧 Suggestions – 📖 Minecraft Wiki

Cleaning up old tickets: This ticket had been set to 'Awaiting Response', but has not received a response from the reporter (~3 months+) so is being closed as Incomplete. If you feel this is still a valid issue then please comment, or create a new ticket following the Issue Guidelines which includes steps to reproduce the problem.

Quick Links:
📓 Issue Guidelines – 💬 Mojang Support – 📧 Suggestions – 📖 Minecraft Wiki

Xie Zhuoran

(Unassigned)

Unconfirmed

Windows

Win10 1909

crash

1.14.30 Hotfix

Retrieved