Skip to content

GUI procedural elements dysfunctional #492

@wpeutil

Description

@wpeutil

Issue description

It seems, (as of Fabric Generator 1.20.1, latest version 2023.3), gui procedural elements are not working at all. This is quite odd considering the gui itself does hold up well, it's just using procedures to edit the contents of slots in the gui / edit the gui at all are completely dysfunctional.

In addition, it is possible to do things not related to the gui within the procedure on a button click, slots transferred, etc. If you were to create a GUI with a button and bind that button to a procedure in which it changes the contents of slot id 0 to a piece of dirt, then play a sound at the player's location, it will only play the sound at the player's location. Refer to figure 1.

image
[fig. 1]

This is not limited to slots. Attempting to use the "Close GUI for player" also does not work. I really don't think this is an issue on my end as I've tried everything and it still will not work. It would be a great help if this were to be fixed, as it is incredibly annoying for players and it really draws back the compatibility and functionality of the fabric generator.

How to reproduce this issue?

Step 1: Create a workspace with the Fabric Generator 1.20.1, on the latest version as of MCreator 2023.3.
Step 2: Create a procedure that includes the "Close any GUI open for Event/target entity" block under the event trigger.
Step 3: Create a GUI, place a button in it, and bind that button to the procedure you created before.
| Step 3a (optional): Bind the GUI to a block/keybind
Step 4: Launch the game and attempt to press the button in your GUI.

Operating system

Windows

Details

MCreator Version: 2023.3
Generator: [fabric-1.20.1 version 1.9.10]

Example workspace

No response

Logs

No response

Issue tracker rule checks (please read carefully)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions