mojira.dev
MCPE-138132

Unable to Link .json screens In Resource Pack UI Folder to Custom Items and Blocks

Summary: If a Addon Maker would attempt to create a custom hud_screen for a block or item its impossible to link the UI to a event to be triggered and have the UI opened correspondingly. However if you download a Offhand Slot Resource Pack in MCPEDL the Hud_Screen works properly when holding a item but doesn't trigger when right clicking a item or block because you can't tell the UI to open the Screen.

Steps to Reproduce:
1. Download the Resource Pack on MCPEDL.com called Offhand Resource Pack.
2. Load a World with Resource Pack Enabled.
3. Hold a Item like a Totem in the Offhand the the Totem will be Displayed as a Screen where the Offhand Slot Should be.
4. Download Vanilla Resource Pack.
5. Find UI Folder.
6. Find a Screen then Rename the Screens Title which is the Corresponding Block Name.
7. Rename to your Custom Block or Item Name.
8. Load the Request UI Event in the Vanilla Behavior Pack Documentation.
9. In Manifest.json put experimental_ui in capabilities.
10. Make a Folder Called Experimental_UI and Scripts.
11. Add Client and Server Folders to Scripts Folder.
12. Add the UI Request Event to the Experimental_UI Folder.
13. Add a Menu Folder.
14. Put Hud in There or HTML UI.

Note: In the Java Script System there is a Component Called Load UI and It is Possible to Get a Item with approximately 100 lines of Java Script to load a UI but not a block or item with a regular (name)screen.json

Link to Other Bug Report: MCPE-138133

Observed Result: The Hud_Screen Won't Link or CustomAnvil_Screen won't link properly to the Block or Item this bug is also dependent on the bug linked above.

Expected Result: The Hud_Screen or CustomAnvil_Screen Should link to the block or item.

Comments 3

Thank you for your report!

However, this issue has been temporarily closed as Awaiting Response.

Is this still an issue in the latest version? If yes, can you please add it to the affected versions (or mention it if you are not the reporter)?

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.

For any account or purchasing related issues, please contact Minecraft Customer Support directly, as we cannot assist with those here at the bug tracker.

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

This is an invalid issue, because each UI screen is parsed manually, therefore the game doesn't support custom screens. Perhaps this is a feature request.

Zenet101791

(Unassigned)

Unconfirmed

Multiple

add-on, block, hud, item, screen, scripting-api, ui

1.17.30.23 Beta, 1.17.30.20 Beta, 1.17.11 Hotfix, 1.17.10

Retrieved