Topic category: Troubleshooting, bugs, and solutions
I ran into a problem. I have a pretty large mod. The number of elements exceeds 2,300 elements. I have a block opening one interface, there are other blocks opening another interface. Let's say these will be Blocks A and B, But when the client starts, interface A works, when starting, but the interface of another block, which should open interface B, opens interface A, at the same time, nothing can be put in the inventory cells. I checked everything, the source code of the element, which does not affect even the interface in any way, it has nothing to do with it. The second block has no procedures so that it opens the interface, the internal interface and the "Entity Block" uses interface B, although when the client starts, it does not open interface A, but does so only after Exporting the project to .jar and in the original game, the interface does not open the one that was assigned to it. There are also other blocks that open A when opening the interface, or buttons in other interfaces that also open interface A, previously everything worked correctly, but suddenly, at some point, some of the different interfaces, buttons and other things began to open GUI-A for some reason, while having no relationship to him. I searched for a solution to the problem, and I managed to find something similar. I am attaching a link.
however, I can edit the interface, I can add buttons, and stuff, text and stuff. I followed the link that the moderator attached. But it turned out to be not working. Here is a screenshot of what I see by clicking on the link.
I really don't understand where the connection is, and what the problem is. Why does interface A open? The only thing I can understand why A is the only thing is that this is the very first interface that was created in the project. But why does it open? How can I fix this error?